Skip to content

Commit 2516656

Browse files
nvborisenkodiemol
andauthored
[dotnet] Fix continueResponse method in CDP (#12445)
Fix continueResponse method in CDP Co-authored-by: Diego Molina <[email protected]>
1 parent 316d8cf commit 2516656

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

dotnet/src/webdriver/DevTools/Network.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public async Task SetUserAgentOverride(string userAgent)
140140
public abstract Task AddResponseBody(HttpResponseData responseData);
141141

142142
/// <summary>
143-
/// Asynchronously contines an intercepted network response without modification.
143+
/// Asynchronously continues an intercepted network response without modification.
144144
/// </summary>
145145
/// <param name="responseData">The <see cref="HttpResponseData"/> of the network response.</param>
146146
/// <returns>A task that represents the asynchronous operation.</returns>

dotnet/src/webdriver/DevTools/v113/V113Network.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,13 @@ public override async Task AddResponseBody(HttpResponseData responseData)
257257
}
258258

259259
/// <summary>
260-
/// Asynchronously contines an intercepted network response without modification.
260+
/// Asynchronously continues an intercepted network response without modification.
261261
/// </summary>
262262
/// <param name="responseData">The <see cref="HttpResponseData"/> of the network response.</param>
263263
/// <returns>A task that represents the asynchronous operation.</returns>
264264
public override async Task ContinueResponseWithoutModification(HttpResponseData responseData)
265265
{
266-
await fetch.ContinueRequest(new ContinueRequestCommandSettings() { RequestId = responseData.RequestId });
266+
await fetch.ContinueResponse(new ContinueResponseCommandSettings() { RequestId = responseData.RequestId });
267267
}
268268

269269
private void OnFetchAuthRequired(object sender, Fetch.AuthRequiredEventArgs e)

dotnet/src/webdriver/DevTools/v114/V114Network.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,13 @@ public override async Task AddResponseBody(HttpResponseData responseData)
257257
}
258258

259259
/// <summary>
260-
/// Asynchronously contines an intercepted network response without modification.
260+
/// Asynchronously continues an intercepted network response without modification.
261261
/// </summary>
262262
/// <param name="responseData">The <see cref="HttpResponseData"/> of the network response.</param>
263263
/// <returns>A task that represents the asynchronous operation.</returns>
264264
public override async Task ContinueResponseWithoutModification(HttpResponseData responseData)
265265
{
266-
await fetch.ContinueRequest(new ContinueRequestCommandSettings() { RequestId = responseData.RequestId });
266+
await fetch.ContinueResponse(new ContinueResponseCommandSettings() { RequestId = responseData.RequestId });
267267
}
268268

269269
private void OnFetchAuthRequired(object sender, Fetch.AuthRequiredEventArgs e)

dotnet/src/webdriver/DevTools/v115/V115Network.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,13 +260,13 @@ public override async Task AddResponseBody(HttpResponseData responseData)
260260
}
261261

262262
/// <summary>
263-
/// Asynchronously contines an intercepted network response without modification.
263+
/// Asynchronously continues an intercepted network response without modification.
264264
/// </summary>
265265
/// <param name="responseData">The <see cref="HttpResponseData"/> of the network response.</param>
266266
/// <returns>A task that represents the asynchronous operation.</returns>
267267
public override async Task ContinueResponseWithoutModification(HttpResponseData responseData)
268268
{
269-
await fetch.ContinueRequest(new ContinueRequestCommandSettings() { RequestId = responseData.RequestId });
269+
await fetch.ContinueResponse(new ContinueResponseCommandSettings() { RequestId = responseData.RequestId });
270270
}
271271

272272
private void OnFetchAuthRequired(object sender, Fetch.AuthRequiredEventArgs e)

0 commit comments

Comments
 (0)