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

Winium - Selenium 4 projects are failing with NoSuchMethods errors during Winium test execution #357

Open
sharathchandran2001 opened this issue Aug 8, 2022 · 0 comments

Comments

@sharathchandran2001
Copy link

sharathchandran2001 commented Aug 8, 2022

Winium-driver version 0.1.0-1, Dtd Nov, 12, 2015
implementation 'com.github.2gis.winium:winium-webdriver:0.1.0-1'

winium-elements-desktop version 0.2.0-1 , Dtd Nov, 12, 2015
implementation 'com.github.2gis.winium:winium-elements-desktop:0.2.0-1'

Selenium version 4.3.0 , Dtd Jun 24, 2022
implementation 'org.seleniumhq.selenium:selenium-java:4.3.0'

Error is NoSuchMethods : org.openqa.selenium.remote.service.DriverService

It appears DriverService class in Selenium.remote.service package of selenium-remote.driver.jar associated with Selenium 4.3.0 version started implementing Closeable interface but is not in Selenium 3 (earlier versions)

Please advise with any remediation or workaround for this issue.

Note: When I downgrade to Selenium 3, winium tests are working fine since DriverService in selenium-remote.driver.jar has the method available.

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

1 participant