Skip to content

Instantly share code, notes, and snippets.

@samhatoum
Last active November 8, 2019 10:05
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save samhatoum/be0d59236c35ba0d76ae621053269610 to your computer and use it in GitHub Desktop.
Troubleshoot / Debug Chromedriver Issues
# First start chromedriver from the console like this
chromedriver --url-base=wd/hub --verbose
# Then in another tab / window: issue a command to start a new chrome session via the JSON protocol
curl -XPOST http://localhost:9515/wd/hub/session -d '{"desiredCapabilities":{"browserName":"chrome"}}'
# If you can see a chrome window pop up, you're all set. If not, check the chromedriver output and fix your issue
@wagenet
Copy link

wagenet commented Jul 26, 2018

Found this via a Google search. Was useful for checking whether an issue I had was chromedriver itself or something else.

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