Tabs & Windows

Previous Window

Navigates the current browser window to the previous window.

Navigates the current browser window to the previous window.

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

Examples

GPAL Fluent: High-level fluent C# API

browser.PreviousWindow()

MagicHelper: MagicHelper utility library

GPAL.MagicHelper.PreviousWindow();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.PreviousWindow(string currentTargetId);

REST Client: Direct REST/HTTP client

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