-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Description
Meta -
OS:
Windows 10
Selenium Version:
3.9.1
Browser:
Chrome
Expected Behavior -
get IWebDriver of already opened Chrome browser
Actual Behavior -
Exception
Steps to reproduce -
hub: java -jar selenium-server-standalone-3.9.1.jar -role hub -port 4445
node: java -jar selenium-server-standalone-3.9.1.jar -role node -hub http://localhost:4445/grid/register
In Visual Studio I have:
IWebDriver driver = new RemoteWebDriver(new System.Uri("http://localhost:4445/wd/hub"), new ChromeOptions());
but I get the following Exception:
Unable to create new service: ChromeDriverService
Build info: version: '3.9.1', revision: '63f7b50', time: '2018-02-07T22:42:28.403Z'
System info: host: 'V121081', ip: '10.138.121.81', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_66'
Driver info: driver.version: unknown (InsecureCertificate)
I have also tried with FirefoxOptions, but same result:
Unable to create new service: GeckoDriverService
Build info: version: '3.9.1', revision: '63f7b50', time: '2018-02-07T22:42:28.403Z'
System info: host: 'V121081', ip: '10.138.121.81', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_66'
Driver info: driver.version: unknown (InsecureCertificate)
what did I do wrong?
Thanks a lot.