I have a python webdriver script which successfully runs the test on the remote server using firefox, however it throws an error when using chrome and internet explorer.
I have added the directory with both drivers to the server's path. I have also tried starting the server using: java -jar .\selenium-server-standalone-2.45.0.jar -Dwebdriver.ie.driver=.\IEDriverServer.exe -role hub
I consistently get the same error in powershell:
"... - Exception: The path to the driver executable must be set by the webdriver.chrome.driver system property;..."
Working Script:
def setUp(self):
self.wd = webdriver.Remote(
desired_capabilities=DesiredCapabilities.FIREFOX)
Throws Error:
def setUp(self):
self.wd = webdriver.Remote(
desired_capabilities=DesiredCapabilities.CHROME)
What is the culprit of this problem?