Skip to content

Commit 005a942

Browse files
committed
Allow .NET to disable W3C mode for Chrome 75+
1 parent e055afd commit 005a942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/webdriver/Chromium/ChromiumOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ private Dictionary<string, object> BuildChromeOptionsDictionary()
592592
chromeOptions[DetachChromeOption] = this.leaveBrowserRunning;
593593
}
594594

595-
if (this.useSpecCompliantProtocol)
595+
if (!this.useSpecCompliantProtocol)
596596
{
597597
chromeOptions[UseSpecCompliantProtocolOption] = this.useSpecCompliantProtocol;
598598
}

0 commit comments

Comments
 (0)