I'm trying to read the clipboard, like so:
page.driver.browser.command(
'Browser.setPermission',
permission: { name: 'clipboard-read' },
setting: 'granted')
clip_text = page.evaluate_async_script('navigator.clipboard.readText().then(arguments[0])')
but I get told error: DOMException: Read permission denied
it seems like this should be the right code. any ideas?
I'm trying to read the clipboard, like so:
but I get told
error: DOMException: Read permission deniedit seems like this should be the right code. any ideas?