Skip to content

Commit 9ff6003

Browse files
Loooooouuuuudunglas
authored andcommitted
Update README.md for passing custom arguments to the chrome binary (#194)
* Update README.md for passing custom arguments to the chrome binary * Update README.md
1 parent 43cfc45 commit 9ff6003

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,12 @@ class E2eTest extends PantherTestCase
215215
}
216216
```
217217

218+
### Using a Proxy
219+
220+
To use a proxy server, override the `--proxy-server` option passed to the Chrome binary by using the `PANTHER_CHROME_ARGUMENTS` environment variable.
221+
222+
Example: `PANTHER_CHROME_ARGUMENTS="--proxy-server=socks://127.0.0.1:9050"`
223+
218224
### Hidden Text
219225

220226
Webdriver returns only the displayed text. When you filter on a head tag (like `title`), the method `text()` returns an

0 commit comments

Comments
 (0)