Skip to content

Gecko driver abysmal performance #113

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

Closed
itfranck opened this issue Aug 14, 2020 · 1 comment
Closed

Gecko driver abysmal performance #113

itfranck opened this issue Aug 14, 2020 · 1 comment
Assignees
Milestone

Comments

@itfranck
Copy link
Collaborator

Compared to Chrome or other browser, Gecko driver performances are very bad.

Tests completed in 436.17s

@itfranck itfranck added this to the V4.0 milestone Aug 14, 2020
@itfranck itfranck self-assigned this Aug 14, 2020
@itfranck
Copy link
Collaborator Author

itfranck commented Aug 14, 2020

After some investigation, I found out this was a common concern and was tied to the way Gecko Driver was implemented.
That being said, there's a very easy solution to that, which is to set the DriverService host property to specifically listen to localhost.

$service.Host = '::1'
#... 
$Driver = [OpenQA.Selenium.Firefox.FirefoxDriver]::new($service, $Firefox_Options)

Performances after that change was made skyrocketed to be on par with other browsers 🎉 😄

(edit: It's a simple one, but I wanted to make sure to have an issue for it so I can add a mention in the final changelog)

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

No branches or pull requests

1 participant