Skip to content
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

Overcome GetDevToolsSession slowness issue for Chrome and Edge on Windows #696

Closed
YevgeniyShunevych opened this issue Nov 10, 2022 · 0 comments
Assignees
Milestone

Comments

@YevgeniyShunevych
Copy link
Member

There is a quite specific .NET network issue in Windows by using "localhost". On some machines it can take a couple of seconds (2 for example) during HTTP request to just connect to "localhost" which targets "127.0.0.1". But if you replace "localhost" with "127.0.0.1" the delay disappears. There is a long story regarding this issue. For Atata and WebDriver this issue reproduces for creating Chrome and Edge DevTools session by using WebDriver's GetDevToolsSession() method.

In order to overcome this issue for DevTools, we can replace "localhost" with "127.0.0.1" in "debuggerAddress" Chrome and Edge capability. But do that only if "debuggerAddress" port is obtained by IPv4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant