-1

enter image description here

WebDriverWait wait = new WebDriverWait(driver, 1000);
WebElement element = wait.until(ExpectedConditions.elementToBeClickable(ExcelFileReader.findElement(xpath))); 

import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;

until method is not present in WebDriverWait Anyone know about this please let me know, which package need to import in Selenium code. After long time, i am working in Selenium code.

  • Your code and packages you are using seem correct. What is the exception? – Alexey R. Jun 15 at 16:06
  • @alexey Eclipse is showing error means method is not available – Ritesh Toppo Jun 16 at 3:41
  • If you are using Selenium after a long time update Selenium web driver. And if you don't use maven or gradle, try mavenizing or gradlizing the project. – kaweesha Jun 16 at 5:16
  • @kaweesha : if you gradle build.gradle for selenium and appium automation. Kindly share. – Ritesh Toppo Jun 16 at 10:01
0

Resolved by adding changing jar version in build.gradle

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.