Skip to content

Commit

Permalink
[docs] Add a note about testing websites served over a VPN (#5758)
Browse files Browse the repository at this point in the history
* Add a note about testing websites with VPN

Co-authored-by: DirkPieterse <[email protected]>
  • Loading branch information
DIRECTcut and dirk-pieterse authored Dec 16, 2020

Verified

This commit was signed with the committer’s verified signature.
myii Imran Iqbal
1 parent 1101154 commit a7052d9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/articles/faq/README.md
Original file line number Diff line number Diff line change
@@ -288,3 +288,17 @@ According to users' feedback, the following CI systems work best with TestCafe:
* [TravisCI](../documentation/guides/continuous-integration/travis.md)
* [CircleCI](../documentation/guides/continuous-integration/circleci.md)
* [AppVeyor](../documentation/guides/continuous-integration/appveyor.md)

### 'The browser can't open the page: can't establish a secure connection to the server'

If your computer is connected to multiple networks (for instance, if it uses a VPN connection), TestCafe may incorrectly detect the host IP and not open the tested pages.

```text
<browsername> cannot open the page because <browsername> is unable to establish a secure connection to the server.
```

To fix the issue, launch TestCafe with the `--hostname localhost` CLI option:

```sh
testcafe chrome test.js --hostname localhost
```

0 comments on commit a7052d9

Please sign in to comment.