Tabs & Windows

Previous Window

If the current tab is the first indexed tab, it will cycle back to the last indexed window.

Examples

GPAL Fluent: High-level fluent C# API

browser.PreviousWindow()

MagicHelper: MagicHelper utility library

browser.MagicHelper.PreviousWindow();

Puppeteer Client: Puppeteer-style C# client

//PuppeteerClient does not expose a PreviousWindow method; only PuppeteerCommunicator implements this at a lower level.

browser.PuppeteerClient.PreviousWindow().Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.PreviousWindow(string currentTargetId);

REST Client: Direct REST/HTTP client

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

💬 Ask GPAL