-
Notifications
You must be signed in to change notification settings - Fork 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
Run Concurrently (using different ports?) #81
Comments
Does using (BTW, the error is from Selenium, not Xvfb, and it means that Selenium failed to boot - this might be caused by missing Xvfb, but other things too - like a Selenium port conflict.) |
@leonid-shevtsov isn't It would seem that passing I do have |
How do you start your Selenium? Do you specify different ports for each Selenium instance? |
@leonid-shevtsov simply like this: def driver
@driver ||= Selenium::WebDriver.for :firefox
end should I be specifying a unique port each time if I am running on concurrent workers? |
@leonid-shevtsov @Lordnibbler Looks like using different display numbers solves this issue. |
First off, thanks for the awesome gem.
I want to use headless to run concurrent selenium builds using this gem, and I see that
xvfb
should allow being passed an--auto-servernum
flag at runtime. This will presumably prevent the following collision error I'm seeing currently when running concurrent builds:I've tried invoking headless using a random display each time inside a sidekiq worker with concurrency of 3, but I get similar errors
The text was updated successfully, but these errors were encountered: