How to use resolve_ip?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to use resolve_ip?

Damian Haynes
Hi there,

We have an issue Selenium is force resolving the IP of the host before sending it, the header then becomes ipaddress:80 rather than hub.browserstack.com:80 and the Squid is rejecting it as an invalid header.

 

There is a way of forcing Selenium to not resolve. Not sure how to modify the setup for this, maybe it is using resolve_ip=false option?


The code we have is below, and we would like to now use this option of resolve_ip - just not sure how to implement



Open Browser To URL With Browserstack
${URL}= Get Environment Variable URL
${CAPABILITIES}= Create Dictionary os=Windows browser=Chrome browserstack.local=true
Open Browser ${URL} browser=chrome remote_url=${BROWSERSTACK} desired_capabilities=${CAPABILITIES}

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/180a6cb1-7868-4a25-a592-b044b5ba6b55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.