Tabs & Windows

Open Window

Create a new browser window and return its details.

Create a new browser window and return its details.

Creates a new focused browser window using either a provided URL or a blank page as the starting location. After the window is created, it retrieves the active tab and sends the new window ID and tab URL to the native application.

Examples

GPAL Fluent: High-level fluent C# API

browser.OpenWindow(string url)

MagicHelper: MagicHelper utility library

GPAL.MagicHelper.OpenWindow(); GPAL.MagicHelper.OpenWindow(string url);

Puppeteer Client: Puppeteer-style C# client

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

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.OpenWindow(string url, string sessionId);

REST Client: Direct REST/HTTP client

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