Skip to main content
Roberty Studio
RPABrowser

Get an open page

Get an open page

Finds a tab that is already open in the browser by part of its URL, a selector, its position or its title, so you can work with a particular tab in a browser that has several open.

Tip

To get the most recently opened tab without giving a criterion, use Get the most recently opened page.


Options​

Browser or page ID​

The browser action whose tabs are searched.

Enter the value​

The value used to find the page, according to the criterion picked in Select a list of elements: part of the URL, a CSS selector present on the page, the page's position (starting at 0) or part of the title.

Select a list of elements​

The criterion used to find the page among the browser's open tabs:

  • Part of a URL — the first page whose URL contains the value (default)
  • Element selector — the first page holding an element that matches the selector
  • Position of the page in the browser — the page at that position, starting at 0
  • Page title — the first page whose title contains the value

Returns​

This action has no return fields. The page found is available through this action's ID in the Browser or page ID field of the other browser actions.

Rules and conditions​

  • Browser or page ID and Enter the value have to be filled in.
  • When searching by position, the browser's first tab is position 0.
  • The page found is brought to the front in the browser.
  • If no page matches the criterion, the action ends in an error.