@@ -26,7 +26,7 @@ namespace OpenQA.Selenium.BiDi.Network;
2626
2727public sealed partial class NetworkModule ( Broker broker ) : Module ( broker )
2828{
29- internal async Task < Intercept > AddInterceptAsync ( IEnumerable < InterceptPhase > phases , AddInterceptOptions ? options = null )
29+ public async Task < Intercept > AddInterceptAsync ( IEnumerable < InterceptPhase > phases , AddInterceptOptions ? options = null )
3030 {
3131 var @params = new AddInterceptCommandParameters ( phases , options ? . Contexts , options ? . UrlPatterns ) ;
3232
@@ -35,7 +35,7 @@ internal async Task<Intercept> AddInterceptAsync(IEnumerable<InterceptPhase> pha
3535 return result . Intercept ;
3636 }
3737
38- internal async Task < EmptyResult > RemoveInterceptAsync ( Intercept intercept , RemoveInterceptOptions ? options = null )
38+ public async Task < EmptyResult > RemoveInterceptAsync ( Intercept intercept , RemoveInterceptOptions ? options = null )
3939 {
4040 var @params = new RemoveInterceptCommandParameters ( intercept ) ;
4141
@@ -49,45 +49,45 @@ public async Task<EmptyResult> SetCacheBehaviorAsync(CacheBehavior behavior, Set
4949 return await Broker . ExecuteCommandAsync < SetCacheBehaviorCommand , EmptyResult > ( new SetCacheBehaviorCommand ( @params ) , options ) . ConfigureAwait ( false ) ;
5050 }
5151
52- internal async Task < EmptyResult > ContinueRequestAsync ( Request request , ContinueRequestOptions ? options = null )
52+ public async Task < EmptyResult > ContinueRequestAsync ( Request request , ContinueRequestOptions ? options = null )
5353 {
5454 var @params = new ContinueRequestCommandParameters ( request , options ? . Body , options ? . Cookies , options ? . Headers , options ? . Method , options ? . Url ) ;
5555
5656 return await Broker . ExecuteCommandAsync < ContinueRequestCommand , EmptyResult > ( new ContinueRequestCommand ( @params ) , options ) . ConfigureAwait ( false ) ;
5757 }
5858
59- internal async Task < EmptyResult > ContinueResponseAsync ( Request request , ContinueResponseOptions ? options = null )
59+ public async Task < EmptyResult > ContinueResponseAsync ( Request request , ContinueResponseOptions ? options = null )
6060 {
6161 var @params = new ContinueResponseCommandParameters ( request , options ? . Cookies , options ? . Credentials , options ? . Headers , options ? . ReasonPhrase , options ? . StatusCode ) ;
6262
6363 return await Broker . ExecuteCommandAsync < ContinueResponseCommand , EmptyResult > ( new ContinueResponseCommand ( @params ) , options ) . ConfigureAwait ( false ) ;
6464 }
6565
66- internal async Task < EmptyResult > FailRequestAsync ( Request request , FailRequestOptions ? options = null )
66+ public async Task < EmptyResult > FailRequestAsync ( Request request , FailRequestOptions ? options = null )
6767 {
6868 var @params = new FailRequestCommandParameters ( request ) ;
6969
7070 return await Broker . ExecuteCommandAsync < FailRequestCommand , EmptyResult > ( new FailRequestCommand ( @params ) , options ) . ConfigureAwait ( false ) ;
7171 }
7272
73- internal async Task < EmptyResult > ProvideResponseAsync ( Request request , ProvideResponseOptions ? options = null )
73+ public async Task < EmptyResult > ProvideResponseAsync ( Request request , ProvideResponseOptions ? options = null )
7474 {
7575 var @params = new ProvideResponseCommandParameters ( request , options ? . Body , options ? . Cookies , options ? . Headers , options ? . ReasonPhrase , options ? . StatusCode ) ;
7676
7777 return await Broker . ExecuteCommandAsync < ProvideResponseCommand , EmptyResult > ( new ProvideResponseCommand ( @params ) , options ) . ConfigureAwait ( false ) ;
7878 }
7979
80- internal async Task < EmptyResult > ContinueWithAuthAsync ( Request request , AuthCredentials credentials , ContinueWithAuthCredentialsOptions ? options = null )
80+ public async Task < EmptyResult > ContinueWithAuthAsync ( Request request , AuthCredentials credentials , ContinueWithAuthCredentialsOptions ? options = null )
8181 {
8282 return await Broker . ExecuteCommandAsync < ContinueWithAuthCommand , EmptyResult > ( new ContinueWithAuthCommand ( new ContinueWithAuthCredentials ( request , credentials ) ) , options ) . ConfigureAwait ( false ) ;
8383 }
8484
85- internal async Task < EmptyResult > ContinueWithAuthAsync ( Request request , ContinueWithAuthDefaultCredentialsOptions ? options = null )
85+ public async Task < EmptyResult > ContinueWithAuthAsync ( Request request , ContinueWithAuthDefaultCredentialsOptions ? options = null )
8686 {
8787 return await Broker . ExecuteCommandAsync < ContinueWithAuthCommand , EmptyResult > ( new ContinueWithAuthCommand ( new ContinueWithAuthDefaultCredentials ( request ) ) , options ) . ConfigureAwait ( false ) ;
8888 }
8989
90- internal async Task < EmptyResult > ContinueWithAuthAsync ( Request request , ContinueWithAuthCancelCredentialsOptions ? options = null )
90+ public async Task < EmptyResult > ContinueWithAuthAsync ( Request request , ContinueWithAuthCancelCredentialsOptions ? options = null )
9191 {
9292 return await Broker . ExecuteCommandAsync < ContinueWithAuthCommand , EmptyResult > ( new ContinueWithAuthCommand ( new ContinueWithAuthCancelCredentials ( request ) ) , options ) . ConfigureAwait ( false ) ;
9393 }
0 commit comments