Skip to content

Open Browser

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

Opens a web browser and returns a page session ready to work. It is the starting point of all web automation: it is almost always the first browser activity on your playbook.

Use the browser already installed on the machine (Chrome or Edge), without additional downloads. With userDataDir you can load the user’s real profile (their cookies and sessions started), useful for skipping logins.

You have two modes of use (explained in detail in the package introduction):

  • With body: Activities within the sub-flow inherit the session automatically and the browser closes itself upon completion. The simplest way.
  • Without body: Save the session in an output variable and pass it to the following activities; you close it with Close Browser.

None. (All are optional — by default it opens Chrome with a blank page.)

ParameterEditorDescription
browserlistBrowser to use: chrome (default) · edge · firefox · chromium. chrome/edge use the system one; chromium uses the binary included by Playwright.
urltextURL to navigate to when opening. If omitted, starts blank.
headlessbooleanRun without visible window (background mode). By default false.
windowStatelistInitial state of the window (if it is not headless): maximized (def.) · normal · minimized.
timeoutnumberMaximum time (ms) to launch and load. By default 30000.
slowMonumberSlows down each operation N ms (useful for debugging and seeing what the bot does).
userDataDirtextPath to the browser’s profile. Load real cookies, sessions and passwords. Chrome must be fully closed beforehand.
executablePathtextPath to a specific browser executable. Overwrites browser.
argsJSONExtra browser launch arguments.
keepOpenbooleanWhen using body, keep the browser open upon completion and return the session as output. By default false.

Activities to execute with this browser. If omitted, returns the session as output for use in subsequent steps.

Modo body (recomendado):

Open Browser browser = chrome url = "https://example.com" headless = false
└─ body:
Page Get Text selector = (h1) → output: titulo
Log message = = "Título: " + titulo

Headless mode with output (for unattended production):

Open Browser browser = chrome url = "https://portal.cliente.com" headless = true → output: page
...
Close Browser session = = page
  • Navigate — change URL once opened.
  • Attach Browser — reuse an already opened browser instead of opening a new one.
  • Close Browser — close the session (mode without body).