Gripper.WebClient
Gripper.WebClient
IContext Interface
Represents a browsing context, the environment in which the browser displays a Document.
public interface IContext
Derived
↳ Context
Remarks
For an iFrame with more than one execution contexts (e.g. background workers), this interface will bind the one that maps the DOM.
Properties | |
---|---|
Frame | Information about the Frame containing the context. |
Id | Id of the context as defined by the browser backend. |
Methods | |
---|---|
ExecuteScriptAsync(string, CancellationToken) | Executes a script in the global context. |
FindElementByCssSelectorAsync(string) | Finds an element by a CSS selector on the document node of the Frame. |
WaitUntilElementPresentAsync(string, PollSettings, CancellationToken) | Polls for an element defined by a specified CSS selector. |