1
有没有方法在离线模式下运行Selenium测试?如果我在firefox配置文件中设置了离线模式,selenium会停留在selenium.start()上。我正在使用python客户端驱动程序。代码如下在离线模式下在Firefox中运行Selenium RC测试
sel = selenium('localhost', 4444, '*firefox', 'file:///home/user/selenium/selenium-python/client-driver-1.0.1/inputs/input.html')
sel.start()
sel.open('file:///home/user/selenium/selenium-python/client-driver-1.0.1/inputs/input.html')
你为什么要这么做?你的目标是什么? – 2010-07-01 07:11:03
这就是我试图实现的目标。 http://stackoverflow.com/questions/3160416/run-a-javascript-file-on-a-set-of-html-documents 我知道它使用pyqt和webkit – Sharmila 2010-07-22 14:17:21