1
我想在使用量角器時通過命令行設置IEDriver可執行文件路徑。我正在使用以下命令,但它不考慮IEDriver可執行文件的路徑。如何在量角器中通過命令行設置IEDriverServer.exe
cd > protractor --seleniumArgs "['-Dwebdriver.ie.driver=../selenium/IEDriverServer.exe']" conf.js
我收到錯誤:
var template = new Error(this.message);
^UnknownError: The path to the driver executable must be set by the webdriver.ie.driver system property; for more information, see http://code.goo e.com/p/selenium/wiki/InternetExplorerDriver. The latest version can be downloaded from http://selenium-release.storage.googleapis.com/index.ht