When querying navigator.clipboard
from puppeteer, I run into the following error:
DOMException: Document is not focused.
Example code (You can run it in Chrome to reproduce):
navigator.clipboard
.read()
.then(async (clipboards) => { })
Is it possible to disable the document focus check somehow? i.e. using chromeflags.