Navigation

Get Ready Status

Returns the documents current loading state (such as loading, interactive, or complete) if the script is running in the top-level window, allowing callers to determine how far page initialization has progressed.

Examples

GPAL Fluent: High-level fluent C# API

var status = BrowserHelper.CheckDocumentReady(browser);

MagicHelper: MagicHelper utility library

GPAL.MagicHelper.GetReadyStatus();

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.GetReadyStatus().Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.GetReadyStatus(string sessionId, string sessionToken);

REST Client: Direct REST/HTTP client

GPAL.OttoMagicClient.WithEndpoint(ApiEndpoint.GetReadyStatus).Execute();

💬 Ask GPAL