Selenium has a problem with IPv6 when using firefoxdriver

I try to use Selenium to run some web tests in Firefox, however, when I do this

FirefoxDriver _driver = new FirefoxDriver();

I get this exception

The address used is incompatible with the requested protocol [:: 1]: 7055

It seems to be some kind of problem with IPv6 and IPv4, which selin is not going to fix. however I need to get around this. Disabling IPv6 on my Ethernet does not matter. what else can i try?

Greetings

+5
source share
1 answer

I make a few assumptions here, but this seems like a problem that I used Selenium for Windows when connecting to the URL on localhost. The problem may be caused by the localhost solution as :: 1 instead of 127.0.0.1 in Windows 2008.

, 127.0.0.1 localhost C:\Windows\System32\drivers\etc\hosts

+2

All Articles