Window & Viewport

Window Outer Width

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

Examples

MagicHelper: MagicHelper utility library

GPAL.MagicHelper.WindowOuterWidth();

Puppeteer Client: Puppeteer-style C# client

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

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.WindowOuterWidth(string sessionId);

REST Client: Direct REST/HTTP client

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

💬 Ask GPAL