appium / java-client

Java language binding for writing Appium Tests, conforms to W3C WebDriver Protocol
Apache License 2.0
1.18k stars 752 forks source link

The import io.appium.java_client.android.AndroidElement cannot be resolved #2126

Closed ak270296 closed 4 months ago

ak270296 commented 4 months ago

getting above error while importing manually for AndroidElemnet. AndroidElement element = (AndroidElement) wait.until(ExpectedConditions.elementToBeClickable(driver.findElement(By.id("idtext"))));

Specification of project: project: cucumber java: 11 selenium-java: 4.11.0 java-client: 8.3.0

valfirst commented 4 months ago

https://github.com/appium/java-client/blob/master/docs/v7-to-v8-migration-guide.md#mobileelement