Run the same browser task in two browser setups

A page can work in one browser session and fail in another for reasons that have nothing to do with your application code: different cookies, browser engines, extensions, viewport sizes, or a headless process can change what you see. Compare the observable result before deciding which difference matters.

This walkthrough opens the same public page in two separate, temporary, headless Grip profiles on macOS: one running Chrome over CDP and one running Firefox over WebDriver BiDi. It loads https://example.com, checks its action sheet, and reads the rendered text to prove clean isolation without copying a signed-in profile. Only compare authorized accounts you own on sites whose terms permit automated access; never scrape or bypass automation restrictions.

Running Grip 6.5.1 requires Chrome or Firefox installed locally plus an active paid license (there is no free tier, and commands stop when a license expires or fails validation). Solo Dev ($79/year) covers one developer on up to 2 local machines excluding CI runners, Pro Runner ($499/year) covers headless, CI, multi-machine, and production runs on up to 3 machines or CI runners, and Platform (starts at $10k/year) covers bundling and external users. Subscriptions renew annually with a 2-day refund window and check a signed lease with gripui.com every 5 hours (gripui license activate <your-key>, gripui license status); see Grip download and Grip pricing.

Establish two independent sessions

Use gripui use <auto|chrome|firefox|brave|edge> to select the engine per profile after setting temporary and headless before the first page load. Separate profile names keep cookies, tabs, and storage isolated so one session cannot leak state into the other.

gripui @grip-review03a-20261204 set temporary
gripui @grip-review03a-20261204 set headless
gripui @grip-review03a-20261204 use chrome
gripui @grip-review03a-20261204 status

gripui @grip-review03b-20261204 set temporary
gripui @grip-review03b-20261204 set headless
gripui @grip-review03b-20261204 use firefox
gripui @grip-review03b-20261204 status

Before launch, the first status printed browser=chrome, headless=on, temporary=on, and live=idle, while the second printed browser=firefox, headless=on, and temporary=on. Once both pages were loaded, status showed live=connected https://example.com/ on both profiles, with Chrome also appending browser_headless=on (Firefox status omits that extra field even when headless). Check both pre-launch configuration and live connection fields rather than inferring browser state from a profile name.

Changing browsers can restart a running profile daemon, so choose the browser before opening tabs. If a requested browser executable is missing or fails to launch, report a setup error rather than treating the incomplete run as a comparison.

Do the same read in each

Setting GRIPUI_SYNC=1 makes go wait until navigation settles instead of returning a handle after 2 seconds (normally checked with gripui handle). Example.com permits documentation examples and explicitly asks visitors not to rely on it as a testing or monitoring service, so keep this to one illustrative read per browser.

GRIPUI_SYNC=1 gripui @grip-review03a-20261204 go https://example.com
gripui @grip-review03a-20261204 hud
gripui @grip-review03a-20261204 read --full

GRIPUI_SYNC=1 gripui @grip-review03b-20261204 go https://example.com
gripui @grip-review03b-20261204 hud
gripui @grip-review03b-20261204 read --full

On the live re-run, Chrome navigated in 1.42 seconds wall time and Firefox in 2.89 seconds, and both HUDs printed Example Domain and [1] click link:"Learn more". Both read --full calls returned len=1294 with the six-language documentation notice intact. Even when refs match on a tiny page, treat every ref number as scoped to that exact profile and sheet rather than copying refs across browsers.

Timed single HUD calls after navigation on already-running processes took 0.17 seconds real time on Chrome and 0.27 seconds real time on Firefox. Treat those two readings as single-machine observations, not cold-start numbers, benchmarks, or proof of general engine speed. Network jitter, background load, and browser startup dominate short runs.

For multi-step workflows, define the check up front -- an order ID, saved setting, validation banner, or downloaded file -- because read --full only reports rendered text. Capture the failing URL, browser version, and visible state without leaking session tokens into logs.

Change one variable at a time

These two profiles isolate both browser engine and storage, which gives a clean baseline but limits root-cause diagnosis. If a signed-in flow succeeds in Chrome and fails in Firefox, check cookies, account permissions, URL redirects, and bot challenges before blaming the rendering engine. Record OS, browser version, viewport, cache state, and account role whenever comparing behavior.

Never clone a personal browser profile solely to get a quick test pass, because personal profiles hold unrelated credentials and extensions. Keep headless mode for unattended comparisons and reserve visible windows for authorized human steps (gripui human-drives). Switching modes can restart the browser daemon, so re-run hud afterward, and stop rather than trying to defeat any human challenge.

Action discovery also differs between Grip's two transport paths: Chromium profiles run over CDP with optional listener_actions augmentation (cdp-listener-actions), whereas Firefox profiles run over WebDriver BiDi baseline discovery. A missing [ref] in one engine's HUD is a lead to inspect the DOM and frame structure, not automatic proof that the control is broken for users.

Choose Grip or Playwright for multi-browser checks

Use Grip's per-profile browser switching when reproducing an interactive issue in one specific engine, checking a live signed-in session you own, or keeping shell scripts simple across Chrome and Firefox. Avoid duplicating every check across engines when one engine already answers your question and no cross-browser regression is suspected.

When you need automated cross-browser test suites in CI, Playwright is the better choice: playwright.config.ts lets you declare projects for devices['Desktop Chrome'], devices['Desktop Firefox'], and devices['Desktop Apple Safari'] to run the same suite across Chromium, Firefox, and WebKit via npx playwright test in isolated contexts. When finished with a Grip comparison, delete both temporary profiles:

gripui quit --profile grip-review03a-20261204
gripui quit --profile grip-review03b-20261204

Deleting local temporary profiles erases local cookies and disk state, not server-side mutations or remote login sessions. To run Grip against an isolated remote BrowserBox instance you own, use gripui connect browserbox '<login-link>' --engine with your server's login link (that remote connection was not exercised here); evaluate BrowserBox and compare Grip pricing.

Your agent. Your browser.

Put it to work.

Get started

macOS · Linux · Windows
Paid licence required. Bring your own AI agent.

Demo recording

Player unavailable? Watch on YouTube ↗