Tabs & Windows

Previous Tab

Navigates the browser to the previous tab.

Navigates the browser to the previous tab.

Navigates the current browser window to the previous tab. If the current tab is the first indexed tab, 'previous-tab' will cycle back to the last indexed tab.

Examples

GPAL Fluent: High-level fluent C# API

browser.PreviousTab()

MagicHelper: MagicHelper utility library

GPAL.MagicHelper.PreviousTab();

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.PreviousTab().Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.PreviousTab(string currentTargetId);

REST Client: Direct REST/HTTP client

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