I am doing automated tasks.
To finish my task, I want to execute 3 automatic clicks in the same pop-up. The last one fails many times. Sometimes it is not able to click or does it outside the button.
I have also tried thread.sleep and the problem continues.
WebElement boton = driver.findElement(By.xpath(PATH_BOTON)); WebDriverWait wait3 = new WebDriverWait(driver, 2); wait3.until(ExpectedConditions.elementToBeClickable(boton)).click();
Read more here: Source link