Gripper

A web-scraping toolbox for .NET.

View on GitHub

Gripper.WebClient

Gripper.WebClient.IWebClient

IWebClient.NavigateAsync(string, PollSettings, CancellationToken) Method

Navigates to the address and awaits the resulting System.Threading.Tasks.Task of WaitUntilFramesLoadedAsync(PollSettings, CancellationToken)
using the provided PollSettings and System.Threading.CancellationToken

System.Threading.Tasks.Task NavigateAsync(string address, Gripper.WebClient.PollSettings pollSettings, System.Threading.CancellationToken cancellationToken);

Parameters

address System.String
Address to navigate to. This can be a valid URI or a browser-specific command (e.g. about:blank, chrome://accessibility).

pollSettings PollSettings
Settings to pass as a parameter to the WaitUntilFramesLoadedAsync(PollSettings, CancellationToken) call.

cancellationToken System.Threading.CancellationToken
Token to cancel the System.Threading.Tasks.Task.

Returns

System.Threading.Tasks.Task
A System.Threading.Tasks.Task that represents the navigation.