-
Notifications
You must be signed in to change notification settings - Fork 25
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
Document how to debug browser driver issues #96
Comments
Facebook WebDriver (now PHP WebDriver - https://github.com/php-webdriver/php-webdriver) is PHP library, there is nothing to ping. If ChromeDriver is not reachable, you get ConnectionException If ChromeDriver fails to launch Chrome, you get something like |
I just spent several hours trying to get ChromeDriver connect with a snap installation of Chromium (default on ubuntu nowadays), and the error message I got was:
I'm guessing that ChromeDriver was responding with some error message, and WebDriver wasn't able to parse that.
=> My plan would be to explain these questions at https://codeception.com/docs/modules/WebDriver Regarding snap: I came to the conclusion that it's not compatible and installed a |
Yes, Facebook WebDriver is very bad at handling unexpected responses. Most likely 'unhandled request' is the raw response that you want to get. |
@Naktibalda If webdriver isn't getting a connection to the browser, is there a way to debug the interplay between the involved components: Codeception <-> Facebook WebDriver <-> chromedriver <-> chrome?
I.e. is there a way to "ping" Facebook WebDriver from Codeception? Then ping chromedriver, etc.?
The text was updated successfully, but these errors were encountered: