For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content

How to Set Browsers and OS for Cypress Tests on TestMu AI


When you run Cypress tests on the cloud, you need to know which browser and OS combinations are available and how to target them. TestMu AI runs Cypress on Chrome, Firefox, Edge, Electron, and WebKit across a range of macOS and Windows versions. You pick a combination either by adding a browsers object to lambdatest-config.json or by passing the --browsers flag to the CLI.

TestMu AI supports the browsers, browser versions, and operating systems listed below for Cypress testing.

OPERATING SYSTEMCHROMEFIREFOXEDGE
macOS Ventura66 and above (Except 82)60 and above80 and above (Except 82)
macOS Monterey66 and above (Except 82)60 and above80 and above (Except 82)
macOS Big Sur66 and above (Except 82)60 and above80 and above (Except 82)
macOS Mojave66 and above (Except 82)60 and above80 and above (Except 82)
macOS Catalina66 and above (Except 82)60 and above80 and above (Except 82)
Windows 1166 and above (Except 82)60 and above80 and above (Except 82)
Windows 1066 and above (Except 82)60 and above80 and above (Except 82)
Windows 8.166 and above (Except 82)60 and above80 and above (Except 82)
Windows 866 and above (Except 82)60 and above80 and above (Except 82)
Windows 766 and above (Except 82)60 and above80 and above (Except 82)

Note: TestMu AI Automation also supports Cypress testing on the Electron browser and in WebKit.

You can run Cypress tests across multiple browser and OS combinations in two ways.

  1. Configuring the browser and platform keys in lambdatest-config.json
  2. Using the --browsers flag

Configuring the Browser and Platform Keys in lambdatest-config.json​


To run Cypress tests on multiple browser and OS configurations, add the browsers object to lambdatest-config.json and define a list of browsers, browser versions, and platforms. Each entry sets one browser, its platform, and the versions to run, as shown in the syntax below.

Verified
   "browsers": [
{
"browser": "Chrome",
"platform": "Windows 10",
"versions": [
"latest-1"
]
},
],

Using the Cypress CLI Command​


You can also select the browser and platform at run time with the Cypress CLI instead of editing lambdatest-config.json. The --browsers flag takes one or more platform:browser:version values, as described below.

FlagPurposeType
--brs, --browsersTest will be run on the specified browsers
in the format: platform:browser:version
String

Pass each combination to the --brs, --browsers flag using the platform:browser:version format shown below.

Verified
lambdatest-cypress run --browsers "platform:browser:version"

For the Cypress versions TestMu AI supports and how to set them, see Supported Cypress Versions.


Continue with the guides below to configure and run your Cypress tests on TestMu AI.

Terminal First Testing With Kane CLI

Natural language browser & mobile app tests right from terminal.

×
Schedule Your Personal Demo
Kane CLI terminal

Help and Support

Related Articles