Skip to main content
Browser

Get a page from the list

Get a page from the list

Picks and returns one particular tab from a list fetched by Get every page, so you can move to any open tab by index.


Options

Part of a URL

Get the tab from the list by part of its URL.

Element selector

Get the tab from the list by an HTML selector.

Tab list ID

A reference to the Get every page action whose result is the source list.

By title

Get the tab from the list by the page's title.

Returns

Javascript code

js
actions["action-id"]._page // the selected tab's active page (Session)
actions["action-id"]._browser // the browser instance (Session)

Field selection

This action's output is available in the Browser or page ID field of the browser actions that follow.

Rules and conditions

  • Tab list ID and The index are both required.
  • The index starts at 0 (the list's first tab).
  • If the index is beyond the number of available tabs, the action ends in an error.