Skip to content

['java-client', version: '7.4.0'] error: package org.openqa.selenium.support.ui does not exist import org.openqa.selenium.support.ui.WebDriverWait; #1415

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

Closed
yavgel opened this issue Nov 19, 2020 · 8 comments · Fixed by #1417
Labels

Comments

@yavgel
Copy link

yavgel commented Nov 19, 2020

  • just updated my 'java-client' version, to version: '7.4.0' (Gradle)
  • build

having the next error:

image

with version: '7.3.0' - all is OK

@headsvk
Copy link

headsvk commented Nov 19, 2020

Yes I'm also experiencing this issue with many classes. There must be something wrong with the latest jar package.

@andres-choco
Copy link

And not only those, several libraries failed to import when updating to java-client 7.4.0 , also including org.openqa.selenium.remote.DesiredCapabilities

@SrinivasanTarget
Copy link
Member

@andres-choco @headsvk @yavgel thanks for the report. Will definitely look at it today.

@SrinivasanTarget
Copy link
Member

@headsvk @yavgel @andres-choco please add the below dependency explicitly as a temporary solution to solve this problem till we release a patch version. I'm checking on this and will add more details here soon.

        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-remote-driver</artifactId>
            <version>3.141.59</version>
        </dependency>

@yavgel
Copy link
Author

yavgel commented Dec 1, 2020

@headsvk @yavgel @andres-choco please add the below dependency explicitly as a temporary solution to solve this problem till we release a patch version. I'm checking on this and will add more details here soon.

        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-remote-driver</artifactId>
            <version>3.141.59</version>
        </dependency>

@SrinivasanTarget - it does not help for v7.4.0 and for v7.4.1
issue is still relevant

@valfirst
Copy link
Collaborator

valfirst commented Dec 2, 2020

@yavgel could you please provide more details?

@Jakwado
Copy link

Jakwado commented May 31, 2022

@SrinivasanTarget
I have the same problem for

    <dependency>
        <groupId>io.appium</groupId>
        <artifactId>java-client</artifactId>
        <version>8.0.0</version>
    </dependency>

Support would be greatly appreciated

@valfirst
Copy link
Collaborator

It's needed to add selenium-support dependency: org.seleniumhq.selenium:selenium-support explicitly. Starting from Appium Java client 7.4.0 the scope of this dependency was changed from compile to runtime: 7.3.0 vs 7.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants