DOMException on calling navigator.clipboard.readText()
This seems to happen when executing code from the devtools console or snippets. Workaround: You can execute the code below and focus on the window within 3 seconds, by clicking somewhere, or just by pressing <tab>. e.g. from snippets Ctrl-Enter <Tab> e.g. from console Enter <Tab> setTimeout(async()=>console.log( await window.navigator.clipboard.readText()), 3000)