Skip to content

Commit

Permalink
docs(webdriverio): add limitation note to emulate command
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Apr 11, 2024
1 parent cfd5dd1 commit fa5f02f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/webdriverio/src/commands/browser/emulate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ interface EmulationOptions {
*
* :::info
*
* It is not possible to change the emulated value without reloading the page.
*
* :::
*
* :::info
*
* This feature requires WebDriver Bidi support for the browser. While recent versions of Chrome, Edge
* and Firefox have such support, Safari __does not__. For updates follow [wpt.fyi](https://wpt.fyi/results/webdriver/tests/bidi/script/add_preload_script/add_preload_script.py?label=experimental&label=master&aligned).
* Furthermore if you use a cloud vendor for spawning browsers, make sure your vendor also supports WebDriver Bidi.
Expand Down

0 comments on commit fa5f02f

Please sign in to comment.