-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
2priWe should do this, but it's not urgent.We should do this, but it's not urgent.testingTests or test infra.Tests or test infra.
Description
for testing the API "copy to clipboard" button.
things I've tried:
page.driver.browser.command(
'Browser.setPermission',
origin: page.server_url,
permission: { name: 'clipboard-read' },
setting: 'granted')
page.driver.browser.command(
'Browser.grantPermissions',
permissions: ['clipboardReadWrite'])
clip_text = page.evaluate_async_script('navigator.clipboard.readText().then(arguments[0])')
puts clip_text
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
2priWe should do this, but it's not urgent.We should do this, but it's not urgent.testingTests or test infra.Tests or test infra.