Window & Viewport

Top Browser

Brings the browser's window to the top of the desktop window stack (foreground), using either browser automation or hardware-level window topping.

Examples

MagicHelper: MagicHelper utility library

//Operates on a desktop Process handle to top the native window, rather than on a CSS/XPath selector like the other layers.

bool success = GPAL.MagicHelper.TopBrowser(process);

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.TopBrowser().Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.TopBrowser(sessionId);

REST Client: Direct REST/HTTP client

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

💬 Ask GPAL