Skip to content

Commit b040c9d

Browse files
versedichristian-bromann
authored andcommitted
wdio-devtools-service: Readme update about emulateDevice and mo… (webdriverio#4876)
1 parent 4294b94 commit b040c9d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/wdio-devtools-service/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,11 @@ browser.emulateDevice({
204204
})
205205
```
206206

207+
#### Note
208+
209+
This only works if you don't use `mobileEmulation` within `capabilities['goog:chromeOptions']`.
210+
If `mobileEmulation` is present the call to `browser.emulateDevice()` won't do anything.
211+
207212
### Chrome DevTools Access
208213

209214
For now the service allows two different ways to access the Chrome DevTools Protocol:

0 commit comments

Comments
 (0)