1- // <copyright file="V105Network .cs" company="WebDriver Committers">
1+ // <copyright file="V108Network .cs" company="WebDriver Committers">
22// Licensed to the Software Freedom Conservancy (SFC) under one
33// or more contributor license agreements. See the NOTICE file
44// distributed with this work for additional information
2020using System . Collections . Generic ;
2121using System . Text ;
2222using System . Threading . Tasks ;
23- using OpenQA . Selenium . DevTools . V105 . Fetch ;
24- using OpenQA . Selenium . DevTools . V105 . Network ;
23+ using OpenQA . Selenium . DevTools . V108 . Fetch ;
24+ using OpenQA . Selenium . DevTools . V108 . Network ;
2525
26- namespace OpenQA . Selenium . DevTools . V105
26+ namespace OpenQA . Selenium . DevTools . V108
2727{
2828 /// <summary>
29- /// Class providing functionality for manipulating network calls using version 105 of the DevTools Protocol
29+ /// Class providing functionality for manipulating network calls using version 108 of the DevTools Protocol
3030 /// </summary>
31- public class V105Network : DevTools . Network
31+ public class V108Network : DevTools . Network
3232 {
3333 private FetchAdapter fetch ;
3434 private NetworkAdapter network ;
3535
3636 /// <summary>
37- /// Initializes a new instance of the <see cref="V105Network "/> class.
37+ /// Initializes a new instance of the <see cref="V108Network "/> class.
3838 /// </summary>
3939 /// <param name="network">The adapter for the Network domain.</param>
4040 /// <param name="fetch">The adapter for the Fetch domain.</param>
41- public V105Network ( NetworkAdapter network , FetchAdapter fetch )
41+ public V108Network ( NetworkAdapter network , FetchAdapter fetch )
4242 {
4343 this . network = network ;
4444 this . fetch = fetch ;
@@ -80,12 +80,12 @@ public override async Task DisableNetwork()
8080 /// <returns>A task that represents the asynchronous operation.</returns>
8181 public override async Task EnableFetchForAllPatterns ( )
8282 {
83- await fetch . Enable ( new OpenQA . Selenium . DevTools . V105 . Fetch . EnableCommandSettings ( )
83+ await fetch . Enable ( new OpenQA . Selenium . DevTools . V108 . Fetch . EnableCommandSettings ( )
8484 {
85- Patterns = new OpenQA . Selenium . DevTools . V105 . Fetch . RequestPattern [ ]
85+ Patterns = new OpenQA . Selenium . DevTools . V108 . Fetch . RequestPattern [ ]
8686 {
87- new OpenQA . Selenium . DevTools . V105 . Fetch . RequestPattern ( ) { UrlPattern = "*" , RequestStage = RequestStage . Request } ,
88- new OpenQA . Selenium . DevTools . V105 . Fetch . RequestPattern ( ) { UrlPattern = "*" , RequestStage = RequestStage . Response }
87+ new OpenQA . Selenium . DevTools . V108 . Fetch . RequestPattern ( ) { UrlPattern = "*" , RequestStage = RequestStage . Request } ,
88+ new OpenQA . Selenium . DevTools . V108 . Fetch . RequestPattern ( ) { UrlPattern = "*" , RequestStage = RequestStage . Response }
8989 } ,
9090 HandleAuthRequests = true
9191 } ) ;
@@ -208,9 +208,9 @@ public override async Task ContinueWithAuth(string requestId, string userName, s
208208 await fetch . ContinueWithAuth ( new ContinueWithAuthCommandSettings ( )
209209 {
210210 RequestId = requestId ,
211- AuthChallengeResponse = new V105 . Fetch . AuthChallengeResponse ( )
211+ AuthChallengeResponse = new V108 . Fetch . AuthChallengeResponse ( )
212212 {
213- Response = V105 . Fetch . AuthChallengeResponseResponseValues . ProvideCredentials ,
213+ Response = V108 . Fetch . AuthChallengeResponseResponseValues . ProvideCredentials ,
214214 Username = userName ,
215215 Password = password
216216 }
@@ -227,9 +227,9 @@ public override async Task CancelAuth(string requestId)
227227 await fetch . ContinueWithAuth ( new ContinueWithAuthCommandSettings ( )
228228 {
229229 RequestId = requestId ,
230- AuthChallengeResponse = new OpenQA . Selenium . DevTools . V105 . Fetch . AuthChallengeResponse ( )
230+ AuthChallengeResponse = new OpenQA . Selenium . DevTools . V108 . Fetch . AuthChallengeResponse ( )
231231 {
232- Response = V105 . Fetch . AuthChallengeResponseResponseValues . CancelAuth
232+ Response = V108 . Fetch . AuthChallengeResponseResponseValues . CancelAuth
233233 }
234234 } ) ;
235235 }
0 commit comments