Gripper.WebClient
Gripper.WebClient.IWebClient
IWebClient.WaitUntilFramesLoadedAsync(PollSettings, CancellationToken) Method
Blocks until either
- All of the following has happened:
1.1. No frame has been added to the frame tree for one PeriodMs period,
1.2. All frames in the frame tree have received the Page.frameNavigated and Page.frameLoaded events,
1.3. One PeriodMs period has elapsed since the last Page.frameNavigated or Page.frameLoaded event,
or - TimeoutMs has elapsed.
or - Task has been cancelled.
System.Threading.Tasks.Task WaitUntilFramesLoadedAsync(Gripper.WebClient.PollSettings pollSettings, System.Threading.CancellationToken cancellationToken);
Parameters
pollSettings
PollSettings
Settings to control the polling for changes to the frame tree.
cancellationToken
System.Threading.CancellationToken
Token to cancel the System.Threading.Tasks.Task.
Returns
System.Threading.Tasks.Task
System.Threading.Tasks.Task that represents the block.