Gripper.WebClient
Gripper.WebClient.IContextFactory
IContextFactory.CreateContextAsync(Frame) Method
Tries to find the DOM execution context of an iFrame and create an IContext representation of it.
If an iFrame has more than one execution contexts, matches the one with access to the DOM.
If an iFrame has no execution contexts, returns null.
System.Threading.Tasks.Task<Gripper.WebClient.IContext?> CreateContextAsync(Gripper.ChromeDevTools.Page.Frame frame);
Parameters
frame
Gripper.ChromeDevTools.Page.Frame
Frame to find the execution context for.
Returns
System.Threading.Tasks.Task<IContext>
Resulting IContext object, or null if no context was matched.