Window & Viewport

Window Inner Height

Returns the height of the browsers visible content area (viewport) in pixels using window.innerHeight.

Examples

MagicHelper: MagicHelper utility library

GPAL.MagicHelper.WindowInnerHeight();

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.WindowInnerHeight().Execute<int>();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.WindowInnerHeight(string sessionId);

REST Client: Direct REST/HTTP client

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

💬 Ask GPAL