@@ -60,12 +60,12 @@ public static async Task<BiDi> ConnectAsync(string url)
60
60
return bidi ;
61
61
}
62
62
63
- public Task < Modules . BrowsingContext . BrowsingContext > CreateBrowsingContextAsync ( Modules . BrowsingContext . BrowsingContextType type , Modules . BrowsingContext . CreateOptions ? options = null )
63
+ public Task < Modules . BrowsingContext . BrowsingContext > CreateContextAsync ( Modules . BrowsingContext . BrowsingContextType type , Modules . BrowsingContext . CreateOptions ? options = null )
64
64
{
65
65
return BrowsingContextModule . CreateAsync ( type , options ) ;
66
66
}
67
67
68
- public Task < IReadOnlyList < Modules . BrowsingContext . BrowsingContextInfo > > GetBrowsingContextTreeAsync ( Modules . BrowsingContext . GetTreeOptions ? options = null )
68
+ public Task < IReadOnlyList < Modules . BrowsingContext . BrowsingContextInfo > > GetTreeAsync ( Modules . BrowsingContext . GetTreeOptions ? options = null )
69
69
{
70
70
return BrowsingContextModule . GetTreeAsync ( options ) ;
71
71
}
@@ -82,22 +82,22 @@ public async ValueTask DisposeAsync()
82
82
_transport ? . Dispose ( ) ;
83
83
}
84
84
85
- public Task < Subscription > OnBrowsingContextCreatedAsync ( Func < Modules . BrowsingContext . BrowsingContextInfo , Task > handler , BrowsingContextsSubscriptionOptions ? options = null )
85
+ public Task < Subscription > OnContextCreatedAsync ( Func < Modules . BrowsingContext . BrowsingContextInfo , Task > handler , BrowsingContextsSubscriptionOptions ? options = null )
86
86
{
87
87
return BrowsingContextModule . OnContextCreatedAsync ( handler , options ) ;
88
88
}
89
89
90
- public Task < Subscription > OnBrowsingContextCreatedAsync ( Action < Modules . BrowsingContext . BrowsingContextInfo > handler , BrowsingContextsSubscriptionOptions ? options = null )
90
+ public Task < Subscription > OnContextCreatedAsync ( Action < Modules . BrowsingContext . BrowsingContextInfo > handler , BrowsingContextsSubscriptionOptions ? options = null )
91
91
{
92
92
return BrowsingContextModule . OnContextCreatedAsync ( handler , options ) ;
93
93
}
94
94
95
- public Task < Subscription > OnBrowsingContextDestroyedAsync ( Func < Modules . BrowsingContext . BrowsingContextInfo , Task > handler , BrowsingContextsSubscriptionOptions ? options = null )
95
+ public Task < Subscription > OnContextDestroyedAsync ( Func < Modules . BrowsingContext . BrowsingContextInfo , Task > handler , BrowsingContextsSubscriptionOptions ? options = null )
96
96
{
97
97
return BrowsingContextModule . OnContextDestroyedAsync ( handler , options ) ;
98
98
}
99
99
100
- public Task < Subscription > OnBrowsingContextDestroyedAsync ( Action < Modules . BrowsingContext . BrowsingContextInfo > handler , BrowsingContextsSubscriptionOptions ? options = null )
100
+ public Task < Subscription > OnContextDestroyedAsync ( Action < Modules . BrowsingContext . BrowsingContextInfo > handler , BrowsingContextsSubscriptionOptions ? options = null )
101
101
{
102
102
return BrowsingContextModule . OnContextDestroyedAsync ( handler , options ) ;
103
103
}
0 commit comments