[🐛 Bug]: Documentation > WebDriver > Drivers > Options > v4.0 -- code examples differ across programming languages
What happened?
This is a minor issue.
The code examples in these sections:
- https://www.selenium.dev/documentation/webdriver/drivers/options/#browsername
- https://www.selenium.dev/documentation/webdriver/drivers/options/#normal-default
differ across programming languages.
For example
- in the browsername section, the Java example differs from the Python and Ruby examples. The Java example creates an
optionsobject and inspects the browser name attribute, as the section header suggests. The Python and Ruby examples only create theoptionsobject.
- in the pageLoadStrategy section, some examples set options and make a driver, while other examples do that and also get a page and quit.
What browsers and operating systems are you seeing the problem on?
Browser: Brave version 1.69.153 OS: MacOS version 12.7.6
@zipperer, 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.
After troubleshooting the issue, please add the R-awaiting answer label.
Thank you!
This issue can be closed now. PR #2010 fixes the issue.