-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Describe bypassing the proxy #2354
[docs] Describe bypassing the proxy #2354
Conversation
@testcafe-build-bot \retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/r-
|
||
The `rules` parameter takes a comma-separated list (without spaces) of URLs that require direct access. You can omit parts of the URLs or replace them with wildcards `*` (which has the same effect). TestCafe will correspond these symbols to any number of characters in the URL. | ||
|
||
```sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd describe shortly what these examples mean.
@@ -361,7 +368,11 @@ runner.useProxy('proxy.corp.mycompany.com'); | |||
``` | |||
|
|||
```js | |||
runner.useProxy('172.0.10.10:8080'); | |||
runner.useProxy('172.0.10.10:8080', ['localhost:8080', 'internal-resource.corp.mycompany.com']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
testcafe chrome my-tests/**/*.js --proxy proxy.corp.mycompany.com --proxy-bypass localhost:8080,internal-resource.corp.mycompany.com | ||
``` | ||
|
||
The `*.mycompany.com` value means that all URLs in `mycompany.com` subdomains will be accessed directly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we mention that the rule *.mycompany.com
is the same as .mycompany.com
(without *)?
I mean that it is not required to add an asterisk in the beginning or in the end of rule, but it's required in the middle of rule (.mycompany.*.com)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I didn't think about wildcards in the middle
ping @DevExpress/testcafe-docs |
@dirk-pieterse , please check the docs |
minor changes
minor changes
* Describe bypassing the proxy * Address Boris' remarks * Address Alexey's remarks * A grammar correction * Update command-line-interface.md * Update runner.md * Update command-line-interface.md minor changes * Update runner.md minor changes
\cc @DevExpress/testcafe-docs @AlexKamaev