-
Notifications
You must be signed in to change notification settings - Fork 89
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
Getting "Could not instantiate class org.openqa.selenium.edge.EdgeDriver" when trying to run 'browserInDocker()' #19
Comments
That is a generic Selenium error - the stack trace may provide more details, but this code simply delegates to WebDriverManager, so maybe raising the issue with that project might identify the problem faster. |
Thanks @wakaleo , |
That's just Serenity reporting an error message coming from Selenium. I don't think it's a Serenity issue as such - have you asked the WebDriverManager community? |
HI @wakaleo , |
Hi @wakaleo Unfortunately error message ha not changed and tests are not running on created docker. |
Serenity calls the Driver quit() method at the end of each test, so I don't think that is the issue. There may be more needed to be done to support WebDriverManager docker instances, in which case there are two options: (a) have a look and see what (if any) extra code is needed for the Docker support to work (start with a standard Selenium project), (b) wait until someone on the Serenity team has time/wants to take a look (I have no timeline for this), or (c) raise a support request to sponsor the implementation of this feature (if you are using it for your company projects you can ask your company to sponsor the development). |
No matter which driver I'm trying to use error remains the same "Could not instantiate class org.openqa.selenium.(...)".
I've used this as instruction:https://johnfergusonsmart.com/whats-new-in-serenity-bdd-3-x/
Changes I've maid:
added
SampleWebDriverManagerEnhancer
:added package to
serenity.conf
:The text was updated successfully, but these errors were encountered: