Tabs & Windows

Go To Window

Brings a browser window to the foreground using either a window ID or a URL match within its tabs. After focusing the window, it sends the window ID and associated URL to the native application.

Examples

GPAL Fluent: High-level fluent C# API

browser.GoToWindow(string url)

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.GoToWindow(string url).Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.GoToWindow(object tabIdOrUrl, string sessionId);

REST Client: Direct REST/HTTP client

GPAL.OttoMagicClient.WithEndpoint(ApiEndpoint.GoToWindow).WithUrl(string url).Execute();

GPAL.OttoMagicClient.WithEndpoint(ApiEndpoint.GoToWindow).WithWindowId(int windowId).Execute();

💬 Ask GPAL