chrome-for-testing
chrome-for-testing copied to clipboard
`document.execCommand` doesn't work in headless mode
In my browser extension I use an offscreen page and document.execCommand
to read and write to the clipboard. This works fine in headful mode but not in headless. I have tested both document.execCommand("copy")
and document.execCommand("paste")
. There is no error, they simply do nothing.