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