Cross Browser Test (CBT) documentation

Documentation indexRead as Markdown

Cross Browser Test (CBT)

Cross Browser Test (CBT) is built on Telescope by Cloudflare. It loads a page in a real browser and records the full session. Use our report to see when the page rendered, which requests took the longest, and what the browser logged.

CBT measures a synthetic controlled run. Browser RUM measures visits from real users.

Copyright attributions and license acknowledgements are available in 3rd Party Notices.

The architecture diagram shows the centralized UI, location agents, Cloudflare connectivity and storage, and Corridora databases.

Start at the CBT landing page. The public route guide lists the landing aliases, location selector, and reference pages. Open CBT · Public Cross Browser Test (CBT) routes

Create and verify a Corridora account to run hosted tests. To explore an illustrative report, open the shared read-only demo and select Try demo. Create an account · Try the CBT demo

If you open Run Test or Results while signed out, CBT explains that an account is required and offers Log in and Create account. The existing Corridora account pages return you to the selected test or results page. A published public report can still be viewed through its shared URL.

Run a test

  1. Select Run Test.
  2. On Select location, review the available browsers. Sign in to your Corridora account and choose Configure test.
  3. Enter the URL and select a browser. Give the test a name if you want. Select Make test public beneath the URL to let anyone with the report link view the published result. The box starts unchecked.
  4. Expand Advanced settings to open the # runs, Throttling, and Scripting tabs. Leave it collapsed to use the defaults.
  5. Select Run test and follow its progress. Use Cancel run for a single run or Cancel unfinished runs for a group.

Each test runs on the agent at the selected location. When a managed run produces a capture, the agent sends it to Corridora. A failed or cancelled run can still produce a partial capture. The agent keeps its raw files while Corridora verifies the upload and retries automatically if publication is unavailable. It deletes those files after verification.

The progress page shows the test outcome and adds Uploading to Corridora while publication is pending. It shows Uploaded when Corridora verifies the capture. For a group, the page lists the status and available report for each run. Select View saved result when the run has a report linked to your account. Organization-key runs receive a saved receipt through their run status.

The run form offers the browsers configured and verified at that location. Cross Browser Test (CBT) supports chromium, chrome, chrome-beta, canary, edge, firefox, and safari. On Linux, canary uses the Canary build of Chrome for Testing, and safari uses Playwright WebKit.

Repeat a test or measure a journey

In Advanced settings → # runs, set Number of runs from 1 to 10 and Timeout from 1 to 120 seconds. The defaults are one run and 30 seconds. Each run starts with a fresh browser context and can produce its own report. Turn on Include a repeat view to replay the same journey in that run’s warm browser context. Both views open the test URL at the start of the journey.

In Advanced settings → Scripting, add up to 10 actions after the starting URL. Each action takes a value of up to 512 characters. Navigate opens a path starting with / on the test URL’s origin, or a public HTTP(S) URL on its standard port. Click activates the element matched by a CSS selector on the current page. Wait for an element waits for a matching element to become visible. The same steps run in order for each view.

Use the guided controls or enter the steps in Script text. Put one command on each line. Blank lines are allowed.

navigate /products
click #checkout
wait .summary

Both editors share the same steps and limits. If an edit in Script text is invalid, the guided steps stay in place. Fix the text to re-enable guided editing and Run test.

Set viewport and CPU slowdown

Open Advanced settings → Throttling. Where custom capture settings are available, enter both viewport dimensions in whole pixels from 1 to 8,192. Leave both blank to use the browser’s default viewport.

For a Chromium-based browser, CPU slowdown (emulated) accepts a factor from 1× to 100×. The default 1× uses normal CPU speed. The location manages network shaping and memory limits.

Add a Lighthouse audit

Open Advanced settings → # runs and select Run Lighthouse audit. CBT audits the starting URL in a separate Chromium browser using Lighthouse's desktop preset and simulated throttling. The native capture keeps its selected browser and settings. The audit covers the unauthenticated starting page; it does not replay your script or repeat view. It adds one run unit per submitted test configuration, regardless of that configuration's repetitions.

After upload, open Insights to see performance, accessibility, best-practices, and SEO scores, plus selected actionable findings. A failed or unavailable audit leaves the native capture available. Accessibility scores describe automated checks and require manual evaluation for a full accessibility review. Raw audit JSON is retained as restricted evidence for system administrators.

Run a batch of URLs

Select the location and configure the starting URL normally. In Advanced settings → # runs, enter one extra URL per line in Additional URLs for bulk testing. Every URL uses the selected browser, location, repetitions, script, viewport, and public/private choice. The batch can contain 20 total runs including repetitions. The run-charge panel totals all URLs, repeat views, scripted navigations, and optional Lighthouse audits before submission.

CBT accepts and reserves the entire batch together. If validation, capacity, or quota checks fail, nothing is queued or charged. The progress page shows each run's outcome and saved-result link. Cancel unfinished runs stops remaining work; the accepted reservation still counts. An interrupted submission can be retried without duplicate charges while its idempotency record remains available.

Read the carbon estimate

The Insights tab calculates modeled grams of CO₂e from complete, verified transfer sizes for a completed page view. It uses CO₂.js 0.19.0 and SWD model v4, with global average electricity and unverified green hosting. It makes no extra navigation, provider lookup, or run charge. Unknown sizes and partial captures show unavailable. The estimate models captured transfers and their observed cache behavior; it does not measure the agent's electricity consumption. Scripted aggregate captures have no headline carbon estimate because views may overlap.

Run limits

All registered Personal workspaces and Free organizations use Pro CBT run limits through March 31, 2027, New York time. The normal Free limits take effect at 12:00 a.m. ET on April 1, 2027. Organizations with active paid subscriptions continue to use their plan limits. The introductory offer applies to CBT run allowances, with billing unchanged.

Plan Per day Per month Result retention
Free account 10 50 60 days
Pro 100 1,000 13 months
Business 500 5,000 13 months
Enterprise Contact us Contact us Contact us

Retention is the commitment for saved results and their artifacts. Paid retention uses calendar months. The introductory Pro run allowance does not change Free retention. Contact us for Enterprise allocations and retention.

The UI and API share the allowance for the Personal or organization workspace you use to run the test. Corridora reserves one unit for each first view, each repeat view, and each explicit Navigate step in every view when it accepts the request. Click and wait steps use no additional units. The reservation covers failed or cancelled runs and steps skipped during execution. For example, three runs with repeat view and one Navigate step use 12 units, six for the views and six for the scripted navigation. Daily and monthly usage resets at the start of the UTC day and calendar month.

The form shows the breakdown in Run charge before you submit the test. An optional Lighthouse audit adds one unit per submitted configuration. For bulk tests, sum the charge for every configuration. Carbon calculation consumes no extra units.

View your saved results

Open your account’s saved results and select a capture to view the report. The history shows the browser, location, capture time, status, and LCP, CLS, and INP pills when measured. Missing measurements show Unavailable. Open Cross Browser Test (CBT) results

Share a public result

If you selected Make test public when scheduling the test, copy the public report link from the progress page after it shows Uploaded. The same choice applies to every report in a multi-run test. Anyone with a public report URL can view the report without signing in. Share only tests whose target and recorded page content can be public, including screenshots and video. Corridora's release checks still apply before a report is available to share.

Public reports can include timing metrics, resource and waterfall details, screenshots, filmstrips, video, and public location information. Report URLs omit query strings and fragments. The public view omits raw console messages, request and response headers, cookies, bodies, original ZIP downloads, trace links, and sensitive runtime configuration. The result list, run progress, and cancellation require workspace access.

Explore a report

  • Summary shows recorded Core Web Vitals and performance metrics, such as Largest Contentful Paint (LCP), Cumulative Layout Shift (CLS), Interaction to Next Paint (INP), First Contentful Paint (FCP), and Time to First Byte (TTFB). The test information and screenshot appear below the metrics when available.
  • All Metrics shows timing details captured by the browser, including navigation, paint, server and user timing, and layout shift events.
  • Waterfall displays captured requests in chronological order. Inspect when a request started and how long the recorded phases took.
  • Filmstrip & Video shows timestamped frames and plays the recording when one is available. Use the frames to see what changed as the page loaded.
  • Resources breaks down request count, transfer size, and decoded size by file type. Expand a request to inspect its timing and sizes.
  • Bottlenecks surfaces the largest files, longest requests, and recorded render-blocking resources. Expand a request to inspect its timing and sizes.
  • Console shows captured browser messages. Select one or more severity labels to focus on the relevant messages.
  • Configuration shows the recorded test location and settings.

The available metrics and artifacts depend on what the browser recorded for that test. If a report includes a scripted journey, select a recorded step to inspect its measurements. Reports labeled Illustrative sample artifacts show example data.

Compare CBT and WebPageTest reports for waterfalls, visual diagnostics, and optional audits. The comparison distinguishes the implemented first insight reports from further planned integrations. Compare CBT and WebPageTest reports

Check the effect of a change

Open a baseline report and a report captured after the change. Use runs with the same browser, location, and viewport, and match network and cache settings where recorded. If you’re reviewing a scripted journey, compare the same step. Start with the same measured metric in both reports, then use the waterfall or filmstrip to see what changed.

Install the agent

Use Node.js 24 or later. Install FFmpeg to process video and generate filmstrip frames. The npm installer downloads the standard Playwright browsers. Browser installation details

npm install -g @cloudflare/telescope
telescope --version

Run a capture

Run the agent against a page URL. Add --zip to package the capture files for upload.

telescope https://example.com/ \
  --browser chromium --width 1440 --height 900 --timeout 45000 \
  --zip

Add --lighthouse to retain a separate desktop Chromium audit alongside your capture. The installed agent must include Chromium. Lighthouse never inherits page authentication or script state. Upload the complete capture through the normal Corridora publication flow so the central service can index its insights.

Options

Arguments:
  url                           URL to run tests against. Can also be provided via -u/--url.

Options:
  -u, --url <url>               URL to run tests against
  -v, --version                 Output the package version number
  -b, --browser <browser_name>  Browser to run tests with. Defaults to chrome, or to the device default browser engine if --device is provided. (choices: "chrome", "chrome-beta", "chromium", "canary", "edge", "safari", "firefox")
  -h, --headers <object>        Any custom headers to apply to requests
  -c, --cookies <object>        Any custom cookies to apply
  -f, --flags <string>          A comma separated list of Chromium flags to launch Chrome with. See: https://peter.sh/experiments/chromium-command-line-switches/
  --blockDomains <domains...>   A comma separated list of domains to block
  --block <substrings...>       A comma-delimited list of urls to block (based on a substring match)
  --delay <object>              An object mapping request regexes to response delays. Example: '{".css$": 2000, ".js$": 5000}'
  --delayUsing <string>         Method to use to delay responses (choices: "continue", "fulfill", default: "continue")
  --firefoxPrefs <object>       Any Firefox User Preferences to apply (Firefox only). Example: '{"network.trr.mode": 2}'
  --cpuThrottle <number>        CPU throttling factor
  --connectionType <string>     Network connection type. By default, no throttling is applied. (choices: "cable", "dsl", "4g", "3g", "3gfast", "3gslow", "2g", "fios", default: false)
  --width <int>                 Viewport width, in pixels. If both width and device are provided, the width value will override device emulation viewport width.
  --height <int>                Viewport height, in pixels. If both height and device are provided, the height value will override device emulation viewport height.
  --frameRate <int>             Filmstrip frame rate, in frames per second (default: 1)
  --disableJS                   Disable JavaScript (default: false)
  --debug                       Output debug lines (default: false)
  --auth <object>               Basic HTTP authentication (Expects: {"username": "", "password": ""}) (default: false)
  --timeout <int>               Maximum time (in milliseconds) to wait for test to complete (default: 30000)
  --html                        Generate HTML report (default: false)
  --openHtml                    Open HTML report in browser (requires --html) (default: false)
  --list                        Generate list of results in HTML (default: false)
  --overrideHost <object>       Override the hostname of a URI with another host (Expects: {"example.com": "example.org"})
  --zip                         Zip the results of the test into the results directory. (default: false)
  --lighthouse                 Run a separate desktop Lighthouse audit
  --uploadUrl <string>          Upload zipped results to URL. Must be a valid URL if provided. (default: null)
  --dry                         Dry run (do not run test, just save config and cleanup) (default: false)
  --userAgent <string>          Set the browser User Agent
  --agentExtra <string>         Append to the browser User Agent. Takes precedence over --userAgent
  --device <string>             Device to use for device emulation (viewport size, DPR, touch events). Also sets the default browser engine unless overridden with -b. Devices are based on the Playwright device list (see
                                https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/server/deviceDescriptorsSource.json)
  --help                        display help for command

The agent saves each test in a timestamped directory under ./results. With --zip, it also writes ./results/<test_id>.zip. Captures can include timing metrics, a HAR file, console messages, screenshots, video, and filmstrip frames. Cross Browser Test (CBT) sends X-TELESCOPE-ID to the tested site to correlate requests with the capture. Run telescope --help for options available in your installed version. Agent parameters

Upload results to Cross Browser Test (CBT)

Keep the ZIP produced by --zip. Public CLI ZIP upload to Corridora is currently unavailable. Verified account results appear under Results.

When Corridora provides a ZIP upload endpoint, send a valid X-CORRIDORA-API-KEY on the upload HTTP request. Store the key in your shell or CI secret store. The agent’s --headers option sends headers to the site under test, so keep the Corridora key out of that option. The agent’s --uploadUrl option sends the ZIP without a Corridora API key. Manage Corridora API keys

Run a test with the API

Moving automation from WebPageTest? Use the Telescope API to keep core metrics and familiar test workflows, with CBT's reporting UI and direct Corridora support. The migration guide explains how to adapt authentication, configuration, progress polling, and result parsing.

When a managed location is active, use POST /web/api/v1/cbt/runs to schedule a test. API clients must send a valid Corridora API key in the X-CORRIDORA-API-KEY request header. Use the same key to retrieve the run. Manage Corridora API keys

curl --fail-with-body -X POST \
  -H "X-CORRIDORA-API-KEY: ${CORRIDORA_API_KEY}" \
  --json '{"url":"https://example.com/","location":"us-central","name":"Homepage baseline","timeout":30000}' \
  https://api.corridora.ai/web/api/v1/cbt/runs

Set CORRIDORA_API_KEY in your shell or CI secret store. Select an active managed location using its slug. Submit a public URL on its standard HTTP or HTTPS port and an optional name of up to 120 characters. To choose a browser, add browser with an ID available at that location. Omitting the field uses the location’s default browser. Timeout is in milliseconds and defaults to 30000.

The optional JSON fields runCount, repeatView, scriptSteps, and publicResult default to 1, false, [], and false. Use an integer from 1 to 10 for runCount and a boolean for repeatView. Use type and url for a navigate step. Use type and selector for a click or wait step. Scripted navigation and extra views count toward the same run allowance as the hosted form. Set publicResult to true to make each eligible published report viewable by URL. Report sharing

Where custom capture settings are available, pass width and height together as integers from 1 to 8192 in pixels. Omit both to use the default viewport. The optional numeric cpuThrottle ranges from 1 to 100 and defaults to 1. A factor above 1 requires a Chromium-based browser. Viewport and CPU slowdown

Replace the example URL, path, and selectors with values from the public site you test.

{
  "url": "https://example.com/",
  "location": "us-central",
  "name": "Homepage and checkout",
  "runCount": 3,
  "repeatView": true,
  "scriptSteps": [
    { "type": "navigate", "url": "/checkout" },
    { "type": "click", "selector": "#show-summary" },
    { "type": "wait", "selector": "#order-summary" }
  ]
}

A 202 response returns the server-generated testId and the number of units reserved in acceptedCharge. Use GET /web/api/v1/cbt/runs/{testId} to check progress or POST /web/api/v1/cbt/runs/{testId}/cancel to cancel unfinished work. For a multi-run request, the same testId tracks or cancels the group. The response includes a runs array with each run’s ID, status, and publication state when available. A run scheduled for sharing shows publicResult: true. A saved public receipt shows publication.isPublic: true. Use publication.resultId in https://app.corridora.ai/cbt/results/{resultId} to share the report. A 429 response includes Retry-After. Plan-limit responses also include the applicable usage and reset times.

Run again with saved options

To schedule another execution with identical configuration, set TEST_ID to the testId returned by its original submission. Send testId and runType as headers on a POST with an empty body.

curl --fail-with-body -X POST \
  -H "X-CORRIDORA-API-KEY: ${CORRIDORA_API_KEY}" \
  -H "testId: ${TEST_ID}" \
  -H 'runType: new-run' \
  https://api.corridora.ai/web/api/v1/cbt/runs

Both runType: retry and runType: new-run reuse the saved execution options, including repeat view, script steps, custom viewport, and CPU slowdown. Use the original group testId to repeat the full group. The new reports are private. To share a new report, submit explicit JSON options with publicResult: true. The saved options must pass current validation. Each accepted request reserves its own run units and returns 202 with a fresh testId. Use the fresh ID to track or cancel the new work. When using saved options, an invalid header or a missing partner header returns 400. JSON submissions with test options do not require these headers.

A missing or inaccessible source returns 404. Finished runs that produced no capture become eligible for queue cleanup after 48 hours. Pending uploads remain available for retry, and verified run receipts remain available for 30 days. A group stays available until every run in it is eligible for cleanup. You can send the JSON options again to start a new run after the source is gone.

Return to the public documentation index.

Submit a batch with the API

Send POST /web/api/v1/cbt/batches with X-CORRIDORA-API-KEY and JSON containing tests, an array of ordinary run configurations. Include an optional UUID requestId on the batch for safe retries. Each configuration can set lighthouse, runCount, repeatView, and scriptSteps. The total physical runs cannot exceed 20. The response includes batchId, testIds, per-run runs, and acceptedCharge. Read or cancel the batch at /batches/<batchId> or /batches/<batchId>/cancel. Individual test IDs continue to work with the normal run and retry endpoints. All items use the authenticated workspace's limits.