Forum Discussion
danteg233
Jan 25, 2020Copper Contributor
Specify path to Edge Chromium in Selenium Hub 3.141.59
Hi there, everything worked fine on version 79.0.309.71. But since the breaking changes of version 80 we're unable run our tests on Selenium Hub 3.141.59.
Before we specify path to exe via chrome_binary param, like
-Dwebdriver.chrome.driver="\path\to\chromedriver.exe"
-browser "browserName=chrome,version=__version__,maxinstance=__no__,platform=WINDOWS,chrome_binary=\path\to\chrome\binary\chrome.exe"
-hubHost __address__
-port __port__
But now it's doesn't work, since Chrome Options are no more supported according to this page.
We tried to change chrome_binary param to binary, but it didn't work, it's tries to run stable version by default, and then just crashes since version we are using driver version 80. Is there a way to specify path of Edge Chromium in Selenium Hub? Using approach from documentation doesn't work for us, since we run tests on Mac and Windows, and path to exe is always different. And moving to alpha Selenium 4.0 also, since we have huge code base.
var caps = new DesiredCapabilities(new Dictionary<string, object>()
{
{ "ms:edgeOptions", new Dictionary<string, object>() {
{ "binary", @"C:\Program Files (x86)\Microsoft\Edge Dev\Application\msedge.exe" }
}}
});
No RepliesBe the first to reply