Browser Test¶
Browser tests simulate real browser visits to pages and support recording complete user journeys such as sign-in, clicks, input, waiting for elements, and text assertions, helping you monitor the availability and performance of web applications in actual browser environments.
You can record page actions with a browser extension to generate a YAML script, or upload a YAML file directly. The system automatically parses it into visual steps, runs them on specified nodes at the configured frequency, and provides detailed execution logs, performance metrics, and failure screenshots to help you quickly identify page-level failures.
Create¶
Go to Create > Browser Test to open the browser test rule configuration page.
Step 1: Define the Page to Visit¶
-
URL: Enter the starting URL of the page to monitor. The
httpandhttpsprotocols are supported. -
Advanced Settings: Expand this section to configure request settings, certificates, proxies, and privacy options.
-
Privacy: Capture Screenshot on Failure and Sensitive Data Masking are enabled by default.
- When screenshot capture is enabled, the system automatically captures the current page when a test fails to help with troubleshooting.
- When masking is enabled, sensitive information in screenshots and logs is automatically hidden.
-
-
Name: Customize the browser test rule name. Duplicate names are not supported in the current workspace.
Step 2: Select Synthetic Nodes¶
Select the nodes that run the test. You can select one or more nodes in China or overseas regions (overseas regions are available only to Commercial Plan and above users) to simulate real browser access experiences from different regions.
Step 3: Configure Action Steps¶
Browser tests use YAML scripts to define page action steps. You can import them in either of the following ways:
- Browser extension import: Download and install the
browser-dial Recorderextension. After recording page actions in the browser, import the generated YAML file with one click. - Direct YAML upload: Drag and drop or click to upload a locally authored or existing YAML script file.
After upload, the system automatically parses the script and displays the parsing status, number of steps, and number of variables. If parsing succeeds, the page shows Variable Configuration and Visual Steps. If parsing fails, the page displays the specific error and prevents saving.
Variable Configuration¶
Variables are generated by parsing the YAML script and support two types: plain text and secret.
- Plain text: Can be edited and displayed in plain text.
- Secret: Masked by default. After saving, the plaintext cannot be displayed again; to modify it, you can only enter a new value.
Visual Steps¶
Parsed steps are displayed as visual cards with information such as step number, action type, target element, and expected value. By default, up to six steps are displayed; additional steps are collapsed automatically and can be expanded by clicking. Common action types include opening a page, entering text, clicking an element, waiting for an element to appear, and asserting text.
You can click a single step to edit its expected value, or switch to YAML mode to view and modify the script content. When you switch from YAML mode back to visual mode, changes are synchronized.
Note
The maximum number of script steps is 100. If exceeded, you must delete extra steps or re-upload a simplified script; otherwise, the system will prevent saving.
Step 4: Execution Strategy¶
-
Execution Frequency: Select the execution frequency for the synthetic test. Fixed options include 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour, 6 hours, 12 hours, and 24 hours, or use a custom Crontab expression.
-
Failure Retry: Disabled by default. When enabled, if a test fails due to a network timeout, element wait timeout, or assertion failure, the system automatically retries according to the configured retry count (0-3) and interval (5-300 seconds).
- If any retry succeeds, the result of this test round is recorded as "Retry Succeeded".
- If all retries fail, the result of this round is recorded as "Failed".
Script parsing failures do not trigger retries.
View Browser Test Results¶
Browser Test List¶
After browser tests run, you can view all execution records in the browser test list. The following information is displayed by default:
- Status: Succeeded, Failed, Retry Succeeded, Running;
- Time: Execution time of this test;
- Rule Name: Browser test rule name; click to view details;
- URL: Starting page to visit;
- Synthetic Node: Name of the node that ran the test;
- Failure Type: Network timeout, element wait timeout, assertion failure, etc.;
- Total Duration: Total duration of this execution.
Browser Test Details¶
Click a rule name in the list to open the details page. The top section displays the status, execution time, task name, duration, browser type, synthetic node, and URL. Click ... on the right to open a drop-down menu, where you can export a JSON file and view rule details.
The details page has three tabs:
1. Execution Details
- Failure Summary: Displayed only when the test fails, summarizing the failure cause;
- Retry Records: If retries are triggered during execution, displays the time and result of each retry; not displayed if no retry occurs;
- Execution Steps: Displays the execution result of each step in a table, with the total number of steps and the number of succeeded/failed/not executed steps summarized at the top. Click a step to expand and view details, including action type, target element, timeout, current page URL, failure cause, screenshot, console errors, and the number of failed resource loads;
- Key Metrics: Displays TTFP (time to first byte), Loading Time (page load time), LCP (Largest Contentful Paint), CLS (Cumulative Layout Shift), and Total Duration (total time).
If failure screenshot capture is enabled in the configuration, you can view the page screenshot at the time of failure in the corresponding step.
Secret variables in input steps are displayed as masked values in the details, such as ********.
2. Variables
Displays the variables used in this execution and their values; secret variables show only masked values.
3. Extended Attributes
Displays all field information for this test.
View Related RUM¶
When the target page has integrated a Web RUM SDK that supports correlation and has generated correlated data for this execution, you can view the corresponding sessions and pages from the browser test execution details to further analyze page performance, resource requests, and frontend errors. Viewing correlated data requires the corresponding RUM data access permissions; viewing Session Replay also requires available replay data and the corresponding permissions.
Open a browser test execution record and click View Related RUM in the upper-right corner of the details page.
The correlation list displays the number of sessions and pages in this execution, as well as the execution round, application/session, page URL, start time, and error count for each page. Use Execution Round to select the range to view, and click View Page on the right side of the target record to open the corresponding View details. The start time in the list indicates the first time the page was recorded within this execution window.
The correlation scope is based on the current execution and the selected round. Other executions or real user visits are not included in the results solely because they share the same URL. Historical executions without reliable correlation identifiers cannot be automatically supplemented with precise correlations.
If no data is found yet, refresh later and check page integration, sampling, and data retention. An empty result does not necessarily mean the page is not integrated with RUM. When no replay data is available, you can still view existing page performance, resource, and error data.

