Jim Evans
unread,Sep 21, 2017, 8:07:48 AM9/21/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
First, there is no official support for .NET Core in the Selenium .NET bindings. That support is being actively worked on, but hasn’t been released yet.
Second, I strongly suspect that the issue is in the .NET Core implementation of HttpWebRequest. There is an issue with that component in .NET Core 2.0 when using “localhost” instead of an actual IP address in a dual-stack System (one that supports IPv4 and IPv6, as most systems do today). The resolution of “localhost” has an additional delay of >1 second for every call.
The reason that’s important to Selenium is that when you use a local driver (like ChromeDriver or FirefoxDriver), the .NET bindings use, guess what, “localhost” to communicate with the driver. So we are stuck for the moment. Doing DNS resolution manually within the bindings’ source code is a supremely suboptimal solution and one we don’t want to implement.