Prerequisites
Prerequisites
Before creating Browser Checks, ensure you have:
- An initialized Checkly CLI project
- A public website you want to monitor
- Understanding of Playwright test syntax and structure
Configuration
The Browser Check configuration consists of specific Browser Check options and inherited general check options.- Browser Check
- General Check
Browser Check Options
object
required
The Playwright test code that defines how to execute your end-to-end browser monitor. This is the core component of any browser check.Usage:Parameters:Examples:Use cases: E2E testing, user journey validation, performance testing, visual regression testing.
You must provide either
entrypoint or content, but not both.General Check Options
string
required
Friendly name for your Browser Check that will be displayed in the Checkly dashboard and used in notifications.Usage:
Frequency
How often the Browser Check should run. Use the Examples:Available frequencies:
Frequency enum to set the check interval.Usage:EVERY_1M, EVERY_2M, EVERY_5M, EVERY_10M, EVERY_15M, EVERY_30M, EVERY_1H, EVERY_2H, EVERY_6H, EVERY_12H, EVERY_24Hstring
The Checkly runtime version used to execute the Browser Check. Runtimes are managed execution environments for Browser and Multistep Checks. They include fixed Checkly-provided dependencies, such as Playwright, browser binaries, and runtime libraries.Use
runtimeId for Browser Checks and Multistep Checks. For Playwright Check Suites, use engine instead to select the JavaScript engine version that runs your own Playwright project.Usage:string[]
default:"[]"
Array of public location codes where the Browser Check should run. Multiple locations provide geographic coverage and redundancy.Usage:Examples:Use cases: Global user experience monitoring, regional performance testing, compliance requirements.
boolean
default:"true"
Whether the browser check is enabled and will run according to its schedule.Usage:
string[]
default:"[]"
Array of tags to organize and categorize your Browser Checks in the Checkly infrastructure.Usage:Examples:Use cases: Organization, filtering, alerting rules, reporting.
object[]
default:"[]"
Check-level environment variables that will be available during test execution. Useful for test configuration and sensitive data.Usage:Parameters:Use cases: Test configuration, authentication, API keys, feature flags, environment-specific settings.
Examples:
CheckIntent
Describe what your check is intended to verify and the behavior that should be preserved. Checkly uses intent for root cause analysis across all check types. It is separate from The object accepts the following fields:
description and does not replace executable assertions.Intent is used for automatic repair only for Browser and Multistep Checks.
Each constraint has a required
type and statement:REQUIRED_OUTCOME: an outcome the check must verify.MUST_PRESERVE: behavior or an assertion that should be preserved when repairing the check.
statement must contain 1–1,000 characters after trimming. You can specify at most 20 constraints of each type. The CLI trims leading and trailing whitespace from the goal and statements and rejects unknown fields.For example, configure intent on a Browser Check:boolean | null
Requires Checkly CLI 9.4.0 or later. Set
true to enable automatic repair, false to disable it, or null to follow your account default. Omit the property to preserve an existing setting when you deploy.You also need a valid check intent. See Configure automatic repair for a complete example and repair prerequisites.