Chrome CDP Profile Setup Guide (Remote Debugging Port)
Browser ModeRunMacro 3.5+
Switch to Browser Mode, click open-Chrome-for-authoring, choose Default Chrome, set a Profile name, leave Port and Viewport as they are, then click Open Chrome. Re-enter the same profile name later to reopen that same profile.
Dialog & quick setup

- Choose Browser Mode on the mode screen (or press
2). - Click the open-Chrome-for-authoring button. The browser source chooser appears.
- Pick Default Chrome and click Open.
- In the Open authoring profile dialog: type a Profile name (default
Runmacro). The Folder line below shows the real profile path. - Leave the pre-filled Port as it is, or click Random for another free port.
- Set the Viewport if needed (default 800x600). The real window is about 90px taller because it includes the Chrome UI bar.
- Click Open Chrome. RunMacro launches the browser and waits for the CDP port to answer.
- Once open, the port is written into the main window port field. Author your macro against that Chrome window.
- When you press run, pick the browser source again then Import CSV with the profile list for multi-threaded runs.
Options reference
Modes & when to use
Browser Mode
Best for
- Automating a website while still using the computer for other work.
- Running several different logged-in profiles at the same time.
- Keeping login sessions between runs (reuse the same profile name).
- You already use a multi-profile browser and want RunMacro to drive its profiles.
Use an alternative when
- Automating desktop software or games — use Desktop Mode.
- You are on the Free tier: Browser Mode is a paid feature.
Before you run
- A paid license. Browser Mode is gated twice: entering the mode and pressing run.
- Google Chrome installed (for the Default Chrome path). RunMacro looks in PATH, the registry, then the Program Files folders.
- A free TCP port in the 9000–9999 range.
- Windows — window resizing and auto-tiling are Windows-only.
- For multi-profile browsers: that app must be running with its local API reachable; Dolphin Anty and GoLogin additionally need a token.
- The Smart HTML extension is not required for basic Browser Mode — only for the element picker, Explorer and Smart Record.
Example workflow
Example: open a Default Chrome profile to author a macro
- Enter Browser Mode and click the open-Chrome-for-authoring button.
- Pick Default Chrome and click Open.
- Type
shop_Aas the Profile name, keep the pre-filled Port, Viewport 800x600. - Click Open Chrome and wait for the window.
- Sign in to the site inside that window — the session is kept in the
shop_Aprofile. - Author your macro. Next time, entering
shop_Areturns you to that signed-in session.
Example: run one macro across 5 profiles in parallel
- Write and test the macro on a single profile first.
- Press run. Pick the browser source (Default Chrome or your multi-profile browser).
- In the configuration dialog, set Parallel threads to 5.
- Click View sample file to see the format, then Import CSV with your profile list. The first column is
profile_id; Default Chrome usesprofile_name. - The remaining CSV columns become variables you can use inside the macro.
- Click OK. RunMacro opens up to 5 windows at once, each with its own port and profile.
Expected result: A Chrome window opens with its own profile inside a RunMacro-managed folder (not your real Chrome profile), with a remote debugging port open. Macros run in that window without taking over your mouse or keyboard.
Tips & limitations
Use meaningful profile names (
shop_A, mail_02) and write them down — re-entering the exact name is the only way back into that session.Delete profile data also wipes cookies and login sessions, with no way back. Make sure you picked the right profile.
Keep the Viewport the same between authoring and running. Changing it shifts elements, and steps that rely on coordinates may click the wrong place.
Window opens but the macro will not run: check that the port in the main window field matches the port the open Chrome is using.
Multi-threaded runs consume RAM and CPU per window. Try 2–3 threads first and increase gradually rather than jumping to 20.
- Browser Mode needs a paid license; the Free tier is blocked at mode entry.
- Window resizing and auto-tiling are Windows-only.
- Special characters in a profile name become
_, so My Profile and My/Profile share one folder. - Profiles whose names start with
codex_,test_or_are hidden from the suggestion list, though typing the name still opens them. - If no port in 9000–9999 is free, no further window can open.
- API URLs for non-GPM sources are currently not remembered between app sessions — you must re-enter them.
- On run, a macro containing commands Browser Mode does not support is blocked, with those commands listed.
- Chrome profiles hold cookies and login sessions: only run macros you trust on a profile signed into an important account.
Applies to RunMacro 3.5+ · Browser Mode · Windows 10/11
