-
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Steps:
- Import this JSON file in Recorder. Add an example complete JSON file for extension builder to test puppeteer/replay#268
- Export it as WebDriverIO script.
- Observe the step
{ "type": "keyDown","key": "Escape"}is transform toawait browser.performActions([{ type: 'key', id: 'keyboard', actions: [{ type: 'keyDown', value: 'ESCAPE' }] }]) - Run it with chromedriver
- Receive error
invalid argument: 'value' must be a single Unicode code point[NOT OK] - Change the value to
\x1B. Step executed successfully.
Expect the keyboard action map to unicode correctly.
Notes:
When the error happen, I tried to search for relevant official documentation, no useful info found.
Search online randomly return some suggests to add a config. Doesn't work either.
'goog:chromeOptions': {
w3c: true,
},
Metadata
Metadata
Assignees
Labels
No labels