-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
Driver Initialisation error is shown when trying to run serenity tests on Docker #1241
Comments
Sound's like a problem with your Docker setup. |
Hi @wakaleo, Is there anyway I can resolve this issue?? |
The error is simple Selenium reporting that it can't start the chromedriver server. Is the chromedriver binary on the system path in Docker? Is it the correct version? etc.
This looks like an error in the chromedriver binary you appear to be providing in this directory. Is it a linux binary? |
@wakaleo It is MacOSX binary. This is my Serenity.Properties File webdriver.base.url=URL My tests run fine on Local machine but when I do the same on Docker it fails with above error |
The MacOS binary will not run under Linux. You need to ensure that the Linux chromedriver binary is correctly configured (eg by setting it in an OS-related maven profile) or on the path, rather than hard-coding it in your system.properties file. |
@wakaleo Can you please provide an example to setup the above?? |
@wakaleo I have tried the changes as you specified but still getting the same issue. Project: Here's the logs
|
Looks like you are using a Custom driver which is failing to start under Docker. This is a project configuration issue, not a Serenity defect; could you post the question in https://serenity-bdd.rocket.chat which would be a more appropriate forum. Alternatively, to investigate further, have you considered our support packages? |
@wakaleo Do we have any support packages. Where can I view them?? |
The Serenity support packages can be found here: https://johnfergusonsmart.com/serenity-bdd-mentoring |
At the moment, I am trying to setup CI job on Docker and trying to run the Serenity tests. But when trying to run them Jenkins it shows up following error.
Did anyone had same issue while setting up things on Docker??
The text was updated successfully, but these errors were encountered: