There was an error while loading. Please reload this page.
1 parent 997454c commit 98809e0Copy full SHA for 98809e0
1 file changed
javascript/node/selenium-webdriver/chromium.js
@@ -512,11 +512,11 @@ class Options extends Capabilities {
512
*
513
* __Example 2: Using Custom Screen Configuration__
514
515
- * let options = new chrome.Options().setMobileEmulation({
+ * let options = new chrome.Options().setMobileEmulation({deviceMetrics: {
516
* width: 360,
517
* height: 640,
518
* pixelRatio: 3.0
519
- * });
+ * }});
520
521
* let driver = chrome.Driver.createSession(options);
522
0 commit comments