Skip to content

Commit

Permalink
Allow .NET to disable W3C mode for Chrome 75+
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Jul 1, 2019
1 parent e055afd commit 005a942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/Chromium/ChromiumOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ public override ICapabilities ToCapabilities()
chromeOptions[DetachChromeOption] = this.leaveBrowserRunning;
}

if (this.useSpecCompliantProtocol)
if (!this.useSpecCompliantProtocol)
{
chromeOptions[UseSpecCompliantProtocolOption] = this.useSpecCompliantProtocol;
}
Expand Down

2 comments on commit 005a942

@rhpijnacker
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this change become available in the 3.x series?
I would like to use it now (busy updating to Chrome 75+), but do not want to switch to w3c yet.
With the 3.141.0 version I cannot set this property to false, basically being stuck on w3c compliance mode.

@rhpijnacker
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Submitted #7521 for this.

Please sign in to comment.