[🐛 Bug]: ChromeOptions arguments are converted to lower case
See original GitHub issueWhat happened?
After run the attached code, I can see that the created process in Task Manager looks like below. “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –arg1=1
What I expect is as below. “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –Arg1=1
I can see that Selenium convert arguments to lower case.
How can we reproduce the issue?
To reproduce, please add a breakpoint in the end and debug below code.
public class Test {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver", "tools/96.0.4664.45/chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("--Arg1=1");
WebDriver driver = new ChromeDriver(options);
driver.get("https://google.com/");
}
}
Relevant log output
NA
Operating System
Windows 10
Selenium version
3.141.59
What are the browser(s) and version(s) where you see this issue?
96.0.4664.45
What are the browser driver(s) and version(s) where you see this issue?
Chrome driver 96.0.4664.45
Are you using Selenium Grid?
No
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Selenium Chrome WebDriver -new-window argument forces ...
I know it shouldn't matter but for the sites I'm using it does - if parts of the URL are not capital then...
Read more >Unable to pass Capabilities to ChromeDriver in Selenium ...
Hey Inaya, you are facing this problem because ChromeDriver(Capabilities capabilities) is deprecated now and thus you cannot directly pass ...
Read more >Robot Framework User Guide
1.1 Introduction. Robot Framework is a Python-based, extensible keyword-driven automation framework for acceptance testing, acceptance test driven ...
Read more >undetected-chromedriver - PyPI
ChromeOptions custom handling removed, so it is compatible with webdriver.chromium.options.ChromiumOptions . removed Chrome.get() fu and restored back to " ...
Read more >Driving Headless Chrome with Python - GeeksforGeeks
Options(): Through attributes of this class we can send browser launch parameters. In our case it is options.headless = True which will ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the checking. Raised https://bugs.chromium.org/p/chromedriver/issues/detail?id=3985 to ChromeDriver.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.