WebDriver driver = new ChromeDriver();
WebDriverWait w =new WebDriverWait(driver,5);
I am getting an error for the second line. the error is "The constructor WebDriverWait(WebDriver,int)
is undefined"
Can someone please help me out here?
I tried to initialize the webdriver wait class. I foollowed the syntax as instructed but I am getting an error.