File tree 3 files changed +4
-4
lines changed
dotnet/src/webdriver/BiDi
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)
60
60
return bidi ;
61
61
}
62
62
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 )
64
64
{
65
65
return BrowsingContextModule . CreateAsync ( type , options ) ;
66
66
}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext;
7
7
8
8
public class BrowsingContextModule ( Broker broker ) : Module ( broker )
9
9
{
10
- public async Task < BrowsingContext > CreateAsync ( BrowsingContextType type , CreateOptions ? options = null )
10
+ public async Task < BrowsingContext > CreateAsync ( ContextType type , CreateOptions ? options = null )
11
11
{
12
12
var @params = new CreateCommandParameters ( type ) ;
13
13
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext;
4
4
5
5
internal class CreateCommand ( CreateCommandParameters @params ) : Command < CreateCommandParameters > ( @params ) ;
6
6
7
- internal record CreateCommandParameters( BrowsingContextType Type ) : CommandParameters
7
+ internal record CreateCommandParameters( ContextType Type ) : CommandParameters
8
8
{
9
9
public BrowsingContext ? ReferenceContext { get ; set ; }
10
10
@@ -22,7 +22,7 @@ public record CreateOptions : CommandOptions
22
22
public Browser . UserContext ? UserContext { get ; set ; }
23
23
}
24
24
25
- public enum BrowsingContextType
25
+ public enum ContextType
26
26
{
27
27
Tab ,
28
28
Window
You can’t perform that action at this time.
0 commit comments