-
-
Notifications
You must be signed in to change notification settings - Fork 760
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
The old Selenium dependency makes user's code throw java.lang.NoSuchMethodError #714
Comments
@TikhomirovSergey can we exclude all the browser specific drivers? |
@SrinivasanTarget I think only htmlUnit. Also could you check dependencies of phantomJS? |
Sure @TikhomirovSergey |
Can you please tell when you going to merge the fix, or if there is a workaround until the fix would be published. (Which version) |
@EitanBe We are going to merge it and publish 5.0.2 on this weekend (02.09.2017-03.09.2017). As a workaround you can add exclusions of htmlunit-driver and phantomjsDriver |
@TikhomirovSergey I'm not able to reproduce this locally. I don't see any issues including html-unit driver. Everything works fine for me. |
@EitanBe Can you share me your pom.xml or build.gradle inform of gist here? |
@SrinivasanTarget It is difficult to reproduce it inside in sources. It may be reproduced when java_client is used as a dependency. Please take a look at this issue report #709. Please read the dependency tree attached to the report and take a look at dependencies. |
Yeah @TikhomirovSergey I was trying to reproduce it as external dependency but still not able too. |
@SrinivasanTarget Hi here is the list of my dependencies:
|
Hi guys,
and it works now... |
Description
There are many issue reports where users complain about java.lang.NoSuchMethodError and related dependency conflicts.
Environment
Any
Details
https://gist.github.com/TikhomirovSergey/f008a577cac9b6c92fb1def9a2aa5406
It seems I found the root cause. I is probably because of html-unit driver which is supplied by Selenium.
The possible solution:
The text was updated successfully, but these errors were encountered: