用selenium 的webdriver 和 firefox 浏览器做自动化测试,经常会出现 plugin container for firefox has stopped working 如下图所示: . 解决方法: A. 由 Plugin Container 导致的 WebDriver: Plugin Container for Firefox has stopped working. https://code.google.com/p/selenium/issues/det…
Q:启动IE浏览器时突然报下面错误,不能正常使用. WebDriverException: Message: Unexpected error launching Internet Explorer. Browser zoom level was set to 94%. It should be set to 100% A:原因是IE页面的使用的的显示比例不是100%导致的,把页面显示调整成100%恢复正常. Q:找不到元素,脚本报NoSuchElementException:Unabl…
错误代码如下:File "/usr/local/lib/python2.7/dist-packages/selenium-3.0.0b2-py2.7.egg/selenium/webdriver/firefox/webdriver.py", line 65, in __init__self.service.start()File "/usr/local/lib/python2.7/dist-packages/selenium-3.0.0b2-py2.7.egg/seleniu…