Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit c8b037d

Browse files
OldShaterhanheathkit
authored andcommitted
docs(browser-setup): update Chrome configuration to v.6
1 parent 37bef24 commit c8b037d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/browser-setup.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ You may need to install a separate binary to run another browser, such as IE or
4343
Adding Chrome-Specific Options
4444
------------------------------
4545

46-
Chrome options are nested in the `chromeOptions` object. A full list of options is at the [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/capabilities) site. For example, to show an FPS counter in the upper right, your configuration would look like this:
46+
Chrome options are nested in the `goog:chromeOptions` object. A full list of options is at the [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/capabilities) site. For example, to show an FPS counter in the upper right, your configuration would look like this:
4747

4848
```javascript
4949
capabilities: {
5050
'browserName': 'chrome',
51-
'chromeOptions': {
51+
'goog:chromeOptions': {
5252
'args': ['show-fps-counter=true']
5353
}
5454
},
@@ -149,7 +149,7 @@ on the commandline like this `--window-size=800,600`.
149149
capabilities: {
150150
browserName: 'chrome',
151151

152-
chromeOptions: {
152+
'goog:chromeOptions': {
153153
args: [ "--headless", "--disable-gpu", "--window-size=800,600" ]
154154
}
155155
}

0 commit comments

Comments
 (0)