Skip to content

New Page

Type: browser-new-page  ·  Package: Browser v1.0.0  ·  Output: ZoanPageSession

Opens a new tab in an already open browser and returns its page session. Use it when you need to work with several pages at the same time within the same browser: open a detail without losing the list, consult another section in parallel, compare two pages.

From an existing session, creates a new tab (optionally navigating to a url) and returns a ZoanPageSession representing that tab. Pass that new session as page to the activities that must act on it, and close it with Close Page when finished.

ParameterEditorDescription
sessionsessionThe browser session where to open the tab (from Open Browser or Attach Browser).
ParameterEditorDescription
urltextURL to navigate to when opening the tab.
viewporttextWindow size as ANCHOxALTO (ex. 1920x1080). By default, the one in the browser.
userAgenttextOverrides the browser’s user-agent string.

Returns a ZoanPageSession that represents the new tab.

Open Browser browser = chrome url = "https://portal.cliente.com" → output: page
Browser New Page session = = page url = "https://portal.cliente.com/reportes" → output: reportes
Extract Table page = = reportes selector = (#tabla) → output: datos
Close Page page = = reportes