首页 > 代码库 > Eclipse运行自动化脚本报错: invalid element state: Element is not currently interactable and may not be manipulated

Eclipse运行自动化脚本报错: invalid element state: Element is not currently interactable and may not be manipulated

Exception in thread "main" org.openqa.selenium.InvalidElementStateException: invalid element state: Element is not currently interactable and may not be manipulated

技术分享

这是在异步取数据的时候取不到,只需要加一个延时就好了

   Thread.sleep(2000);

 

Eclipse运行自动化脚本报错: invalid element state: Element is not currently interactable and may not be manipulated