Skip to content

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

Description

@sharathchandran2001

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions