-
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] Add a note about testing websites served over a VPN #5758
Conversation
docs/articles/faq/README.md
Outdated
If the tested website is served via OpenVPN, TestCafe may be unable to detect an IP address from where to retrieve the website. In this case, the following error occurs: | ||
|
||
```text | ||
<browsername> can't open the page "https://localhost:<port>/browser/connect/<windowid>" |
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.
Why is localhost
in this message?
I thought that TestCafe tries to open localhost
only when you specify --hostname localhost
explicitly (an approach that you propose as a solution). Otherwise, it uses an IP.
Is this behavior specific to the VPN issue (that TestCafe uses localhost
by default)?
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.
Otherwise, it uses an IP.
Seems like sometimes TestCafe picks an IP that belongs to the VPN connection (which leads to the aforementioned error).
Co-authored-by: DirkPieterse <[email protected]>
✅ Tests for the commit 3595ce1 have passed. See details: |
fixes #5704