Skip to content

Commit ceb1f2d

Browse files
committed
Update help docs
1 parent 6508d51 commit ceb1f2d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

help_docs/customizing_test_runs.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ If you wish to use a proxy server for your browser tests (Chrome and Firefox onl
152152
pytest proxy_test.py --proxy=IP_ADDRESS:PORT
153153
```
154154

155+
If the proxy server that you wish to use requires authentication, you can do the following (Chrome only):
156+
157+
```bash
158+
pytest proxy_test.py --proxy=USERNAME:PASSWORD@IP_ADDRESS:PORT
159+
```
160+
155161
To make things easier, you can add your frequently-used proxies to PROXY_LIST in [proxy_list.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/config/proxy_list.py), and then use ``--proxy=KEY_FROM_PROXY_LIST`` to use the IP_ADDRESS:PORT of that key.
156162

157163
```bash

0 commit comments

Comments
 (0)