Skip to content

Commit 63f65c6

Browse files
committed
Fixing .NET ChromeDriver network conditions commands URLs
Fixes issue #5693.
1 parent 06fe780 commit 63f65c6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dotnet/src/webdriver/Chrome/ChromeDriver.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ public ChromeDriver(ChromeDriverService service, ChromeOptions options, TimeSpan
147147
: base(new DriverServiceCommandExecutor(service, commandTimeout), ConvertOptionsToCapabilities(options))
148148
{
149149
// Add the custom commands unique to Chrome
150-
AddCustomChromeCommand(GetNetworkConditionsCommand, CommandInfo.GetCommand, "/session/{sessionId}/chromium/network_connection");
151-
AddCustomChromeCommand(SetNetworkConditionsCommand, CommandInfo.PostCommand, "/session/{sessionId}/chromium/network_connection");
152-
AddCustomChromeCommand(DeleteNetworkConditionsCommand, CommandInfo.DeleteCommand, "/session/{sessionId}/chromium/network_connection");
150+
AddCustomChromeCommand(GetNetworkConditionsCommand, CommandInfo.GetCommand, "/session/{sessionId}/chromium/network_conditions");
151+
AddCustomChromeCommand(SetNetworkConditionsCommand, CommandInfo.PostCommand, "/session/{sessionId}/chromium/network_conditions");
152+
AddCustomChromeCommand(DeleteNetworkConditionsCommand, CommandInfo.DeleteCommand, "/session/{sessionId}/chromium/network_conditions");
153153
AddCustomChromeCommand(SendChromeCommand, CommandInfo.PostCommand, "/session/{sessionId}/chromium/send_command");
154154
}
155155

0 commit comments

Comments
 (0)