Gripper

A web-scraping toolbox for .NET.

View on GitHub

Gripper.WebClient

Gripper.WebClient

IContextFactory Interface

Facilitates 1-1-1 mapping between iFrame-Execution context-IContext.

public interface IContextFactory

Derived
ContextFactory

Methods  
CreateContextAsync(Frame) 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.