python - 卡在 find_element_by_xpath
问题描述
我在 Python 3 中使用 selenium 中的这个命令
driver = webdriver.Chrome
NamaPerekam = driver.find_element_by_xpath('//*[@id="namaPerekam"]')
我的数据包含
<input type="text" class="form-control ng-pristine ng-untouched ng-valid" id="namaPerekam" focus="selDokSumber" ng-disabled="true" ng-model="viewMonitoringController.penugasan.namaPerekam" focus-on="true" disabled="disabled">
将鼠标悬停在数据上时,我的鼠标光标没有任何迹象
selenium 上的 find_element_by_xpath 函数没有显示结果
有什么帮助吗?
解决方案
推荐阅读
- java - 使用 jason.simple 将用户定义的数据类型转换为 JSON 对象类型
- python - 我可以用不同的消息向不同的收件人发送不同的邮件吗
- excel - Delphi/Excel - 工作表未实例化
- python-3.x - URL 解码和反序列化失败
- ios - 是否可以获得 safari 或其他浏览器当前用于访问网站的当前 URL?
- php - 如何获取主机名以从外部连接而不是“本地主机”
- java - 将图像从表单加载到 RecyclerView
- c++ - 将一个 rapidjson 分配器拥有的内存移动到另一个分配器
- docker - 无法在容器启动时运行自定义脚本
- c# - 从html代码的img标签获取文件名的正则表达式