Skip to content
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

WebDriverException: Message: Service /opt/robotframework/bin/chromedriver unexpectedly exited. Status code was: -5 #447

Open
pixelhomie opened this issue Aug 23, 2023 · 1 comment

Comments

@pixelhomie
Copy link

Describe the bug
I pulled the Docker image from Dockerhub and added the selenium.robot Test to my tests folder. After i run the container it shows

==============================================================================
Tests                                                                         
==============================================================================
Tests.Selenium                                                                
==============================================================================
Visit Bing                                                            | FAIL |
WebDriverException: Message: Service /opt/robotframework/bin/chromedriver unexpectedly exited. Status code was: -5
------------------------------------------------------------------------------
Visit Google                                                          | FAIL |
WebDriverException: Message: Service /opt/robotframework/bin/chromedriver unexpectedly exited. Status code was: -5
------------------------------------------------------------------------------
Tests.Selenium                                                        | FAIL |
2 tests, 0 passed, 2 failed
==============================================================================
Tests                                                                 | FAIL |
2 tests, 0 passed, 2 failed
==============================================================================
Output:  /opt/robotframework/reports/output.xml
Log:     /opt/robotframework/reports/log.html
Report:  /opt/robotframework/reports/report.html

To Reproduce
Steps to reproduce the behavior:

  1. Add selenium.robot Test to your Testfolder
  2. Run docker run -v $(pwd)/reports:/opt/robotframework/reports:Z -v $(pwd)/tests:/opt/robotframework/tests:Z -e BROWSER=chrome ppodgorsek/robot-framework:latest
  3. See error

Expected behavior
Test will pass without errors

Robot template
selenium.robot

OS
Distributor ID: Debian
Description: Debian GNU/Linux 9.13 (stretch)
Release: 9.13
Codename: stretch

@ppodgorsek
Copy link
Owner

Did you follow the steps in the troubleshooting section of the documentation, especially related to Chrome crashes?

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

No branches or pull requests

2 participants