You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So i am having another problem trying to click a button with htmlunit driver it works with the chrome driver here is the code i am trying to use
` driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.get("https://frostruphave.viggo.dk/Basic/Account/Login");
System.out.println(driver.getPageSource());
WebDriverWait wait = new WebDriverWait(driver, 8);
So i am having another problem trying to click a button with htmlunit driver it works with the chrome driver here is the code i am trying to use
` driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.get("https://frostruphave.viggo.dk/Basic/Account/Login");
System.out.println(driver.getPageSource());
WebDriverWait wait = new WebDriverWait(driver, 8);
wait.until(ExpectedConditions.visibilityOfElementLocated(By.className("unic")));
driver.findElement(By.className("unic")).click();`
The line that causes the problem is wait.until(ExpectedConditions.visibilityOfElementLocated(By.className("unic")));
Here is the Stacktrace:
https://pastebin.com/5hd4593C
It has been tested working with the ChromeDriver message me if you need more info :) @rbri
The text was updated successfully, but these errors were encountered: