File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
dotnet/src/webdriver/BiDi Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public static async Task<BiDi> ConnectAsync(string url)
6060 return bidi ;
6161 }
6262
63- public Task < Modules . BrowsingContext . BrowsingContext > CreateContextAsync ( Modules . BrowsingContext . BrowsingContextType type , Modules . BrowsingContext . CreateOptions ? options = null )
63+ public Task < Modules . BrowsingContext . BrowsingContext > CreateContextAsync ( Modules . BrowsingContext . ContextType type , Modules . BrowsingContext . CreateOptions ? options = null )
6464 {
6565 return BrowsingContextModule . CreateAsync ( type , options ) ;
6666 }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext;
77
88public class BrowsingContextModule ( Broker broker ) : Module ( broker )
99{
10- public async Task < BrowsingContext > CreateAsync ( BrowsingContextType type , CreateOptions ? options = null )
10+ public async Task < BrowsingContext > CreateAsync ( ContextType type , CreateOptions ? options = null )
1111 {
1212 var @params = new CreateCommandParameters ( type ) ;
1313
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext;
44
55internal class CreateCommand ( CreateCommandParameters @params ) : Command < CreateCommandParameters > ( @params ) ;
66
7- internal record CreateCommandParameters( BrowsingContextType Type ) : CommandParameters
7+ internal record CreateCommandParameters( ContextType Type ) : CommandParameters
88{
99 public BrowsingContext ? ReferenceContext { get ; set ; }
1010
@@ -22,7 +22,7 @@ public record CreateOptions : CommandOptions
2222 public Browser . UserContext ? UserContext { get ; set ; }
2323}
2424
25- public enum BrowsingContextType
25+ public enum ContextType
2626{
2727 Tab ,
2828 Window
You can’t perform that action at this time.
0 commit comments