随笔分类 - Selenium
摘要:感谢: 煜妃的《Python+Selenium定位不到元素常见原因及解决办法(报:NoSuchElementException)》 ClassName定位报错问题:《【Python】Selenium元素定位错误之解决办法》
阅读全文
摘要:阐述问题: 执行自动化脚本时,发现文本输入在IE浏览器上特别慢,这样大大降低了自动化效率 解决办法:原因是原先下载的IEDriverServer.exe为64位系统的IE,换为32位的IEDriverServer.exe就可以了,下载地址为:IEDriverServer_Win32_2.52.0.z
阅读全文
摘要:总结: 感谢: “煜妃”《Selenuim+Python之元素定位总结及实例说明》 “Huilaojia123”《selenium WebDriver定位元素学习总结》 “上海-悠悠”《Selenium2+python自动化9-CSS定位语法》 的文章
阅读全文
摘要:当使用class定位元素时发现报错: 错误信息:selenium.common.exceptions.InvalidSelectorException: Message: Compound class names not permitted(复合类的名称不允许) 网上查询资料得知: classNam
阅读全文
摘要:当编写自动化脚本,定位浏览器元素时,报如下错误: 代码: 报错: 解决方法: For IE 11 only, you will need to set a registry entry on the target computer so that the driver can maintain a
阅读全文
摘要:问题描述: windows8.1系统,Python3环境安装Selenium2时报错,错误如下: ..... ..... File "F:\软件\python3.6.1\lib\site-packages\pip\compat\__init__.py", line 75,in console_to_
阅读全文