Skip to content

selenium chromedriver hangs #222

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
rajaashutosh opened this issue May 24, 2016 · 5 comments
Closed

selenium chromedriver hangs #222

rajaashutosh opened this issue May 24, 2016 · 5 comments

Comments

@rajaashutosh
Copy link

Hi,

I am doing Selenium Automation in C# and Use following drivers.
Chromium.ChromeDriver" version="2.21"
NUnit version="3.2.1"
Selenium.Support version="2.53.0"
Selenium.WebDriver version="2.53.0"

All the test cases working fine,however when i connect the same test case in Build tool, then after some test case get executed, automatically google chorme hangs. I dont know the issue and even i am new to selenium. Please Guide me.

Thanks In Advance :)

@zypherman
Copy link

zypherman commented May 24, 2016

See #87
Add to your docker file:
export DBUS_SESSION_BUS_ADDRESS=/dev/null
or if you are using docker compose:
environment:
DBUS_SESSION_BUS_ADDRESS:/dev/null

@kayabendroth
Copy link
Member

@rajaashutosh Did this fix it for you?

@jojojoy2k
Copy link

@rajaashutosh It would be nice to have a reply on whether the proposed solution fixed your issue. Thanks!

@dhtlee
Copy link

dhtlee commented Aug 26, 2016

The problem seems to be with Chromedriver version 2.21, which is used by the latest docker image on the public docker hub. Issue should be fixed once Selenium updates the Chromedriver version on the official docker image.

In the meantime, vpbonev checked in a fix that updates to Chromedriver version 2.23. You can clone docker-selenium project and build your Chrome (or ChromeDebug) image off that Dockerfile

@diemol
Copy link
Member

diemol commented May 2, 2017

This was fixed with #469
@ddavison I think this issue can be closed.

@ddavison ddavison closed this as completed May 2, 2017
@lock lock bot locked and limited conversation to collaborators Aug 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants