Interface IBiDi
- Namespace
- OpenQA.Selenium.BiDi
- Assembly
- Selenium.WebDriver.dll
public interface IBiDi : IAsyncDisposable
- Inherited Members
-
- Extension Methods
-
Properties
Browser
IBrowserModule Browser { get; }
Property Value
- IBrowserModule
BrowsingContext
IBrowsingContextModule BrowsingContext { get; }
Property Value
- IBrowsingContextModule
Emulation
IEmulationModule Emulation { get; }
Property Value
- IEmulationModule
IInputModule Input { get; }
Property Value
- IInputModule
Log
Property Value
- ILogModule
Network
INetworkModule Network { get; }
Property Value
- INetworkModule
Script
IScriptModule Script { get; }
Property Value
- IScriptModule
Storage
IStorageModule Storage { get; }
Property Value
- IStorageModule
WebExtension
IWebExtensionModule WebExtension { get; }
Property Value
- IWebExtensionModule
Methods
EndAsync(EndOptions?, CancellationToken)
Task<EndResult> EndAsync(EndOptions? options = null, CancellationToken cancellationToken = default)
Parameters
options EndOptions
cancellationToken CancellationToken
Returns
- Task<EndResult>
NewAsync(CapabilitiesRequest, NewOptions?, CancellationToken)
Task<NewResult> NewAsync(CapabilitiesRequest capabilities, NewOptions? options = null, CancellationToken cancellationToken = default)
Parameters
capabilities CapabilitiesRequest
options NewOptions
cancellationToken CancellationToken
Returns
- Task<NewResult>
StatusAsync(StatusOptions?, CancellationToken)
Task<StatusResult> StatusAsync(StatusOptions? options = null, CancellationToken cancellationToken = default)
Parameters
options StatusOptions
cancellationToken CancellationToken
Returns
- Task<StatusResult>
StreamAsync<TEventArgs>(EventDescriptor<TEventArgs>, CancellationToken)
Task<IEventStream<TEventArgs>> StreamAsync<TEventArgs>(EventDescriptor<TEventArgs> descriptor, CancellationToken cancellationToken = default) where TEventArgs : EventArgs
Parameters
descriptor EventDescriptor<TEventArgs>
cancellationToken CancellationToken
Returns
- Task<IEventStream<TEventArgs>>
Type Parameters
TEventArgs
StreamAsync<TEventArgs>(IEnumerable<EventDescriptor>, CancellationToken)
Task<IEventStream<TEventArgs>> StreamAsync<TEventArgs>(IEnumerable<EventDescriptor> descriptors, CancellationToken cancellationToken = default) where TEventArgs : EventArgs
Parameters
descriptors IEnumerable<EventDescriptor>
cancellationToken CancellationToken
Returns
- Task<IEventStream<TEventArgs>>
Type Parameters
TEventArgs
SubscribeAsync<TEventArgs>(EventDescriptor<TEventArgs>, Action<TEventArgs>, CancellationToken)
Task<ISubscription> SubscribeAsync<TEventArgs>(EventDescriptor<TEventArgs> descriptor, Action<TEventArgs> handler, CancellationToken cancellationToken = default) where TEventArgs : EventArgs
Parameters
descriptor EventDescriptor<TEventArgs>
handler Action<TEventArgs>
cancellationToken CancellationToken
Returns
- Task<ISubscription>
Type Parameters
TEventArgs
SubscribeAsync<TEventArgs>(EventDescriptor<TEventArgs>, Func<TEventArgs, Task>, CancellationToken)
Task<ISubscription> SubscribeAsync<TEventArgs>(EventDescriptor<TEventArgs> descriptor, Func<TEventArgs, Task> handler, CancellationToken cancellationToken = default) where TEventArgs : EventArgs
Parameters
descriptor EventDescriptor<TEventArgs>
handler Func<TEventArgs, Task>
cancellationToken CancellationToken
Returns
- Task<ISubscription>
Type Parameters
TEventArgs
SubscribeAsync<TEventArgs>(IEnumerable<EventDescriptor>, Action<TEventArgs>, CancellationToken)
Task<ISubscription> SubscribeAsync<TEventArgs>(IEnumerable<EventDescriptor> descriptors, Action<TEventArgs> handler, CancellationToken cancellationToken = default) where TEventArgs : EventArgs
Parameters
descriptors IEnumerable<EventDescriptor>
handler Action<TEventArgs>
cancellationToken CancellationToken
Returns
- Task<ISubscription>
Type Parameters
TEventArgs
SubscribeAsync<TEventArgs>(IEnumerable<EventDescriptor>, Func<TEventArgs, Task>, CancellationToken)
Task<ISubscription> SubscribeAsync<TEventArgs>(IEnumerable<EventDescriptor> descriptors, Func<TEventArgs, Task> handler, CancellationToken cancellationToken = default) where TEventArgs : EventArgs
Parameters
descriptors IEnumerable<EventDescriptor>
handler Func<TEventArgs, Task>
cancellationToken CancellationToken
Returns
- Task<ISubscription>
Type Parameters
TEventArgs