Class BrowsingContext
public class BrowsingContext
- Inheritance
-
BrowsingContext
- Inherited Members
-
Properties
BiDi
public BiDi BiDi { get; }
Property Value
- BiDi
Input
public BrowsingContextInputModule Input { get; }
Property Value
- BrowsingContextInputModule
Log
public BrowsingContextLogModule Log { get; }
Property Value
- BrowsingContextLogModule
Network
public BrowsingContextNetworkModule Network { get; }
Property Value
- BrowsingContextNetworkModule
Script
public BrowsingContextScriptModule Script { get; }
Property Value
- BrowsingContextScriptModule
Storage
public BrowsingContextStorageModule Storage { get; }
Property Value
- BrowsingContextStorageModule
Methods
ActivateAsync(ActivateOptions?)
public Task ActivateAsync(ActivateOptions? options = null)
Parameters
options
ActivateOptions
Returns
- Task
CaptureScreenshotAsync(CaptureScreenshotOptions?)
public Task<CaptureScreenshotResult> CaptureScreenshotAsync(CaptureScreenshotOptions? options = null)
Parameters
options
CaptureScreenshotOptions
Returns
- Task<CaptureScreenshotResult>
CloseAsync(CloseOptions?)
public Task CloseAsync(CloseOptions? options = null)
Parameters
options
CloseOptions
Returns
- Task
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
GetTreeAsync(BrowsingContextGetTreeOptions?)
public Task<IReadOnlyList<BrowsingContextInfo>> GetTreeAsync(BrowsingContextGetTreeOptions? options = null)
Parameters
options
BrowsingContextGetTreeOptions
Returns
- Task<IReadOnlyList<BrowsingContextInfo>>
HandleUserPromptAsync(HandleUserPromptOptions?)
public Task HandleUserPromptAsync(HandleUserPromptOptions? options = null)
Parameters
options
HandleUserPromptOptions
Returns
- Task
LocateNodesAsync(Locator, LocateNodesOptions?)
public Task<LocateNodesResult> LocateNodesAsync(Locator locator, LocateNodesOptions? options = null)
Parameters
locator
Locator
options
LocateNodesOptions
Returns
- Task<LocateNodesResult>
NavigateAsync(string, NavigateOptions?)
public Task<NavigateResult> NavigateAsync(string url, NavigateOptions? options = null)
Parameters
url
string
options
NavigateOptions
Returns
- Task<NavigateResult>
NavigateBackAsync(TraverseHistoryOptions?)
public Task NavigateBackAsync(TraverseHistoryOptions? options = null)
Parameters
options
TraverseHistoryOptions
Returns
- Task
NavigateForwardAsync(TraverseHistoryOptions?)
public Task NavigateForwardAsync(TraverseHistoryOptions? options = null)
Parameters
options
TraverseHistoryOptions
Returns
- Task
OnDomContentLoadedAsync(Action<NavigationInfo>, SubscriptionOptions?)
public Task<Subscription> OnDomContentLoadedAsync(Action<NavigationInfo> handler, SubscriptionOptions? options = null)
Parameters
handler
Action<NavigationInfo>
options
SubscriptionOptions
Returns
- Task<Subscription>
OnDomContentLoadedAsync(Func<NavigationInfo, Task>, SubscriptionOptions?)
public Task<Subscription> OnDomContentLoadedAsync(Func<NavigationInfo, Task> handler, SubscriptionOptions? options = null)
Parameters
handler
Func<NavigationInfo, Task>
options
SubscriptionOptions
Returns
- Task<Subscription>
OnDownloadWillBeginAsync(Action<NavigationInfo>, SubscriptionOptions?)
public Task<Subscription> OnDownloadWillBeginAsync(Action<NavigationInfo> handler, SubscriptionOptions? options = null)
Parameters
handler
Action<NavigationInfo>
options
SubscriptionOptions
Returns
- Task<Subscription>
OnDownloadWillBeginAsync(Func<NavigationInfo, Task>, SubscriptionOptions?)
public Task<Subscription> OnDownloadWillBeginAsync(Func<NavigationInfo, Task> handler, SubscriptionOptions? options = null)
Parameters
handler
Func<NavigationInfo, Task>
options
SubscriptionOptions
Returns
- Task<Subscription>
OnFragmentNavigatedAsync(Action<NavigationInfo>, SubscriptionOptions?)
public Task<Subscription> OnFragmentNavigatedAsync(Action<NavigationInfo> handler, SubscriptionOptions? options = null)
Parameters
handler
Action<NavigationInfo>
options
SubscriptionOptions
Returns
- Task<Subscription>
OnFragmentNavigatedAsync(Func<NavigationInfo, Task>, SubscriptionOptions?)
public Task<Subscription> OnFragmentNavigatedAsync(Func<NavigationInfo, Task> handler, SubscriptionOptions? options = null)
Parameters
handler
Func<NavigationInfo, Task>
options
SubscriptionOptions
Returns
- Task<Subscription>
OnLoadAsync(Action<NavigationInfo>, SubscriptionOptions?)
public Task<Subscription> OnLoadAsync(Action<NavigationInfo> handler, SubscriptionOptions? options = null)
Parameters
handler
Action<NavigationInfo>
options
SubscriptionOptions
Returns
- Task<Subscription>
OnLoadAsync(Func<NavigationInfo, Task>, SubscriptionOptions?)
public Task<Subscription> OnLoadAsync(Func<NavigationInfo, Task> handler, SubscriptionOptions? options = null)
Parameters
handler
Func<NavigationInfo, Task>
options
SubscriptionOptions
Returns
- Task<Subscription>
OnNavigationAbortedAsync(Action<NavigationInfo>, SubscriptionOptions?)
public Task<Subscription> OnNavigationAbortedAsync(Action<NavigationInfo> handler, SubscriptionOptions? options = null)
Parameters
handler
Action<NavigationInfo>
options
SubscriptionOptions
Returns
- Task<Subscription>
OnNavigationAbortedAsync(Func<NavigationInfo, Task>, SubscriptionOptions?)
public Task<Subscription> OnNavigationAbortedAsync(Func<NavigationInfo, Task> handler, SubscriptionOptions? options = null)
Parameters
handler
Func<NavigationInfo, Task>
options
SubscriptionOptions
Returns
- Task<Subscription>
OnNavigationFailedAsync(Action<NavigationInfo>, SubscriptionOptions?)
public Task<Subscription> OnNavigationFailedAsync(Action<NavigationInfo> handler, SubscriptionOptions? options = null)
Parameters
handler
Action<NavigationInfo>
options
SubscriptionOptions
Returns
- Task<Subscription>
OnNavigationFailedAsync(Func<NavigationInfo, Task>, SubscriptionOptions?)
public Task<Subscription> OnNavigationFailedAsync(Func<NavigationInfo, Task> handler, SubscriptionOptions? options = null)
Parameters
handler
Func<NavigationInfo, Task>
options
SubscriptionOptions
Returns
- Task<Subscription>
OnNavigationStartedAsync(Action<NavigationInfo>, SubscriptionOptions?)
public Task<Subscription> OnNavigationStartedAsync(Action<NavigationInfo> handler, SubscriptionOptions? options = null)
Parameters
handler
Action<NavigationInfo>
options
SubscriptionOptions
Returns
- Task<Subscription>
OnNavigationStartedAsync(Func<NavigationInfo, Task>, SubscriptionOptions?)
public Task<Subscription> OnNavigationStartedAsync(Func<NavigationInfo, Task> handler, SubscriptionOptions? options = null)
Parameters
handler
Func<NavigationInfo, Task>
options
SubscriptionOptions
Returns
- Task<Subscription>
PrintAsync(PrintOptions?)
public Task<PrintResult> PrintAsync(PrintOptions? options = null)
Parameters
options
PrintOptions
Returns
- Task<PrintResult>
ReloadAsync(ReloadOptions?)
public Task<NavigateResult> ReloadAsync(ReloadOptions? options = null)
Parameters
options
ReloadOptions
Returns
- Task<NavigateResult>
SetViewportAsync(SetViewportOptions?)
public Task SetViewportAsync(SetViewportOptions? options = null)
Parameters
options
SetViewportOptions
Returns
- Task
TraverseHistoryAsync(int, TraverseHistoryOptions?)
public Task TraverseHistoryAsync(int delta, TraverseHistoryOptions? options = null)
Parameters
delta
int
options
TraverseHistoryOptions
Returns
- Task