close_page
Closes a browser tab by index and returns the remaining tabs. If the active tab is closed, switches to the last remaining one; fails if only tab or index invalid.
Instructions
Close the tab at this index (see tabs). If it was the tab being driven, jevnav drives the last remaining one; closing the only tab, or an out-of-range index, is an error. Returns the tabs that remain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |