DocsBrowserOpen URL

Open URL Command Reference (Chrome CDP Navigation)

Browser ModeRunMacro 3.5+

Open URL is a Browser Mode command that uses CDP to navigate Chrome to a configured address. It supports the current or a new tab and variables in the URL; Chrome must be connected before running.

Dialog & quick setup

RunMacro Open URL command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Open URL command in RunMacro.
  1. Set the macro to Browser Mode (Chrome/CDP) and connect Chrome.
  2. Add the Browser › Open URL command.
  3. Enter the URL (variables allowed) and choose Current tab or New tab. Save.

Options reference

URL

The address to open. Supports variables, e.g. https://site.com/{id}.

Open mode (current tab / new tab)

Current tab: navigate the active tab. New tab: open a new tab for this URL.

Modes & when to use

Browser Mode

Navigates through CDP without controlling the system mouse or keyboard.

Best for

  • Start a web workflow by opening the target page.
  • Switch to a different URL mid-script.
  • Open many links in turn pulled from a variable/data store.

Use an alternative when

  • You need to open a desktop application or a browser that is not connected through CDP.
  • You need to assert that the page is ready in the same command; add an appropriate wait step.
  • The URL contains sensitive data without a plan to protect logs and configuration files.
Before you run
  • Chrome is enabled and connected in Browser Mode (CDP).
  • The URL is valid and variables used in it have values before execution.
  • For dynamic pages, prepare Wait for element or Delay after navigation.

Example workflow

Example: open a login page then wait

  1. Open URL https://facebook.com (current tab).
  2. Add a Delay of 2000ms so the page loads.
  3. Continue with Smart HTML commands to log in.
Expected result: Chrome navigates the selected tab to the URL after variable substitution; when New tab is selected, a new tab is created for the address.

Tips & limitations

This command only runs in Browser Mode (CDP). In regular Desktop Mode it logs an error and does nothing.
  • Opening a URL does not guarantee that dynamic content is ready; prefer Wait for element over an arbitrary delay when possible.
  • The command works only with an active Browser Mode/CDP connection.
  • Invalid URLs or variables can fail navigation or open the wrong page.

Applies to RunMacro 3.5+ · Browser Mode · Windows 10/11

RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.