Window & Viewport

Window Outer Height

Returns the outer height of the browser window in pixels, including interface elements such as toolbars, tabs, and window borders using window.outerHeight.

Examples

GPAL Fluent: High-level fluent C# API

//There is no fluent call for this one value. GetWindowRectangle answers with the whole window in screen coordinates on every engine, and Height is this measurement. The single reads below are the engine layers underneath it.

browser.GetWindowRectangle(out Rectangle window);


int value = window.Height;

MagicHelper: MagicHelper utility library

browser.MagicHelper.WindowOuterHeight();

Puppeteer Client: Puppeteer-style C# client

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

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.WindowOuterHeight(string sessionId);

REST Client: Direct REST/HTTP client

browser.OttoMagicClient.WithEndpoint(ApiEndpoint.WindowOuterHeight).Execute();

💬 Ask GPAL