Я добавляю клиента в программное обеспечение для выставления счетов через веб-драйвер selenium, но после предоставления всех деталей, он не выполняет операцию нажатия над кнопкой добавления и выдает ошибку -
"Exception in thread "main" org.openqa.selenium.ElementClickInterceptedException: element click intercepted: Element <button type="button" class="btn btn-info btn-sm" name="btnAddCust" id="btnAddCust" data-toggle="modal" data-target="#CustModal" title="Add Customer">...</button> is not clickable at point (317, 377). Other element would receive the click: <input type="text" name="birthDate" class="form-control pull-right" id="birthDate" data-mask=""> ".
Я использую код -
// Добавить клиента
Thread.sleep(1000);
//driver.findElement(By.xpath("//*[@id=\"btnAddCust\"]")).click();
WebElement el = driver.findElement(By.id("btnAddCust"));
el.click();