SwitchToWindowOptions
Properties
| Property | Type | Description |
|---|---|---|
newest? | boolean | Whether to target most recently opened window Default false |
timeout? | number | Maximum time to wait for matching window (in milliseconds) Default 5000 |
title? | string | Window title pattern to match |
url? | string | URL pattern to match against window URLs (supports wildcards) |
waitUntil? | WaitUntilGoto | When to consider the page fully-loaded and proceed with further execution |