Gripper

A web-scraping toolbox for .NET.

View on GitHub

Gripper.WebClient

Gripper.WebClient.ContextFactory

ContextFactory.GetDocumentBackendNodeIdAsync(long) Method

Get root node backend node id. If context has no DOM (e.g. background worker thread) or nothing has been loaded yet, returns null.

private System.Threading.Tasks.Task<System.Nullable<long>> GetDocumentBackendNodeIdAsync(long contextId);

Parameters

contextId System.Int64
Id of context to try and find the root node id for.

Returns

System.Threading.Tasks.Task<System.Nullable<System.Int64>>
#document backend node id or null if irrelevant.