You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use Selenium Server 4.8.2 or 4.8.3 to start Chrome, the server ignores the Chrome binary path I specify in ChromeOptions object, and runs Chrome from the default system location instead. Selenium Server 4.8.1 did not have this issue.
How can we reproduce the issue?
First start a local standalone Selenium server, e.g., with the following command:
java -jar selenium-server-4.8.3.jar standalone
While the chrome://version page is displayed, it shows (under "Command Line" heading") that Chrome is running from a default system location, instead of from the location specified in the script.
@JohnChen0, thank you for creating this issue. We will troubleshoot it as soon as we can.
Info for maintainers
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template label.
If the issue is a question, add the I-question label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-* label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer label.
What happened?
If I use Selenium Server 4.8.2 or 4.8.3 to start Chrome, the server ignores the Chrome binary path I specify in ChromeOptions object, and runs Chrome from the default system location instead. Selenium Server 4.8.1 did not have this issue.
How can we reproduce the issue?
First start a local standalone Selenium server, e.g., with the following command: java -jar selenium-server-4.8.3.jar standalone
Then run the following Python script:
While the chrome://version page is displayed, it shows (under "Command Line" heading") that Chrome is running from a default system location, instead of from the location specified in the script.
If I use selenium-server-4.8.1.jar instead, then the code works correctly. Bisecting Selenium code shows that the issue was introduced by 807bb7d. This commit adds a ChromeOption object in the stereotype capability. When this stereotype option is merged with the user-supplied option, the merge code (https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.3-java/java/src/org/openqa/selenium/grid/node/config/SessionCapabilitiesMutator.java#L155) ignores the "binary" option supplied by the user.
Operating System
Have observed this on Linux and MacOS
Selenium version
Selenium Server 4.8.3; Selenium Python 4.5.0
What are the browser(s) and version(s) where you see this issue?
Tested with Chrome 112.0.5615.121, though it should repro with any recent Chrome version
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 112.0.5615.49
Are you using Selenium Grid?
Selenium Server 4.8.3 running in standalone mode
The text was updated successfully, but these errors were encountered: