We're updating the issue view to help you get more done. 

Chrome 75 swapped to W3C mode by default

Description

Using the ChromeOptions.UseSpecCompliantProtocol does not work, due to the following lines of code in ChromeOptions.BuildChromeOptionsDictionary(), only explicitly setting the “w3c“ option when it is set to true.

 

Code producing an error when using ChromeOptions.AddAdditionalCapability ("w3c", false) directly

 

  • Removing "w3c" from the DriverOptions.knownCapabilityNames dictionary allows us to disable the spec compliant mode.


Due to ChromeDriver having a w3c mode (webdriver spec compliance) enabled by default, browser logs are not available with ChromeDriver versions >75. Also, the default alert behavior changed ().

The Selenium language bindings do provide the property ChromeOptions.UseSpecCompliantProtocol, but setting it to false has no effect, because Selenium only sets it in when it would be set to true (false was the default of the ChromeDriver at that time).

Status

Assignee

Marcel Holle

Reporter

Marcel Holle

Labels

None

Components

Fix versions

Priority

Normal
Configure