Extjs ExtnJS-&x201C;元素在点”处不可单击;错误

Extjs ExtnJS-&x201C;元素在点”处不可单击;错误,extjs,selenium-webdriver,Extjs,Selenium Webdriver,尝试单击ExtnJsappl上的按钮时,我收到以下错误: org.openqa.selenium.WebDriverException:元素在上不可单击 点(x,y)。其他元素将收到单击:。 单击按钮后,页面将加载新内容 代码: 或 或 单击操作未发生,但正在识别对象。然后显示错误消息失败 请告诉我如何解决这个问题。 谢谢你试试这个 WebDriverWait wait = new WebDriverWait(driver,30); wait.until(ExpectedConditions.e

尝试单击
ExtnJs
appl上的按钮时,我收到以下错误:

org.openqa.selenium.WebDriverException:元素在上不可单击 点(x,y)。其他元素将收到单击:

单击按钮后,页面将加载新内容

代码:

单击
操作未发生,但正在识别对象。然后显示错误消息失败

请告诉我如何解决这个问题。 谢谢你试试这个

WebDriverWait wait = new WebDriverWait(driver,30);
wait.until(ExpectedConditions.elementToBeClickable(By.xpath("")));

如果不幸的是,
.click()
由于其他元素的覆盖而无法工作,则应尝试使用
JavascriptExecutor
,如下所示:-

WebElement el = driver.findElement(By.id("tabNameAtnBtn"));

((JavascriptExecutor)driver).executeScript("arguments[0].click()", el);
action.moveToElement(driver.findElement(by.xpath("//a[@id='tabNameAtnBtn']"))).click().perform();
WebDriverWait wait = new WebDriverWait(driver,30);
wait.until(ExpectedConditions.elementToBeClickable(By.xpath("")));
WebElement el = driver.findElement(By.id("tabNameAtnBtn"));

((JavascriptExecutor)driver).executeScript("arguments[0].click()", el);