I have tried this kind of scenario, and I guess the dns can not resolve the ip of the given URL and nothing happens. Is there a way to work around ?
1 Answers
1
votes
You should use Sauce Connect.
Without Sauce Connect, Sauce Labs sessions can only access publicly accessible sites.
When you use Sauce Connect, then it creates a tunnel between Sauce Labs and the machine on which you are running Sauce Connect. It is analogous to how you can create a tunnel with ssh
. You need to download Sauce Connect and then start it with a command like:
[...]/bin/sc -u <Sauce Labs user Id> -k <Sauce Labs API key>
The API can can be found in your Sauce Labs dashboard, in the "User Profile / User Settings" section.
Here is the documentation on Sauce Connect for a basic setup.