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

Commit

Permalink
docs(browser-setup): update Chrome configuration to v.6
Browse files Browse the repository at this point in the history
  • Loading branch information
OldShaterhan authored and heathkit committed Feb 20, 2020
1 parent 37bef24 commit c8b037d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/browser-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ You may need to install a separate binary to run another browser, such as IE or
Adding Chrome-Specific Options
------------------------------

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:
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:

```javascript
capabilities: {
'browserName': 'chrome',
'chromeOptions': {
'goog:chromeOptions': {
'args': ['show-fps-counter=true']
}
},
Expand Down Expand Up @@ -149,7 +149,7 @@ on the commandline like this `--window-size=800,600`.
capabilities: {
browserName: 'chrome',

chromeOptions: {
'goog:chromeOptions': {
args: [ "--headless", "--disable-gpu", "--window-size=800,600" ]
}
}
Expand Down

0 comments on commit c8b037d

Please sign in to comment.