我在网格上使用jar 2.28.0和Firefox版本18.0运行selenium测试
在我的一些测试用例中,我间歇性地低于错误:
self.execute(Command.SWITCH_TO_FRAME, {'id': None}) File "/var/home/automation/quality/framework/1.3/lib/extern/selenium/webdriver/remote/webdriver.py",
line 156, in execute self.error_handler.check_response(response) File "/var/home/automation/quality/framework/1.3/lib/extern/selenium/webdriver/remote/errorhandler.py",
line 147, in check_response raise exception_class(message, screen, stacktrace)
WebDriverException: Message: '' ; Stacktrace: Method get threw an error in [No file name]
通过在浏览器中设置代理来运行测试,并且每次运行时失败的selenium调用都不同。