Tabs & Windows

Go To Tab

Locates a tab using either a tab ID or URL match, brings the matching tab or its window into focus, and sends the associated tab and window information to the native application.

Examples

GPAL Fluent: High-level fluent C# API

browser.GoToTab(string url)

browser.GoToTab(int tabId)

MagicHelper: MagicHelper utility library

GPAL.MagicHelper.GoToTab(string url);

GPAL.MagicHelper.GoToTab(int tabId);

Puppeteer Client: Puppeteer-style C# client

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

browser.PuppeteerClient.GoToTab(int tabId).Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.GoToTab(object tabIdOrUrlOrIndex, string sessionId);

REST Client: Direct REST/HTTP client

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

GPAL.OttoMagicClient.WithEndpoint(ApiEndpoint.GoToTab).WithTabId(int tabId).Execute();

💬 Ask GPAL