F12查看元素确实存在的

有人说延长加载时间

        webDriver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS); // 等待5秒加载完成

因为,这个部分不是刚开始的那个frame

org.openqa.selenium.ElementNotInteractableException: element not interactable

 点击按钮后

org.openqa.selenium.ElementNotInteractableException: element not interactable

这就是iframe的问题(后来通过F12查看到)

  webDriver.switchTo().frame("statusframe");就可以

具体的id用f12查看

org.openqa.selenium.ElementNotInteractableException: element not interactable

 

相关文章:

  • 2021-04-30
  • 2022-12-23
  • 2021-07-21
  • 2022-12-23
  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-02
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案