如何解决ElementNotInteractableException:在Selenium webdriver中看不到元素? [英] How to resolve ElementNotInteractableException: Element is not visible in Selenium webdriver?

查看:6607
本文介绍了如何解决ElementNotInteractableException:在Selenium webdriver中看不到元素?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里我有我的代码图像和错误图像。任何人都可以帮我解决这个问题吗?

Here I have the image of my code and the image of my error. Can anyone help me to resolve this issue?

推荐答案

尝试使用

Thread.sleep(10000);

使用此功能时,页面中的网页元素有足够的时间加载

On using this, the web elements in the page gets enough time to load

这篇关于如何解决ElementNotInteractableException:在Selenium webdriver中看不到元素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆