I am getting the error "Launching more browsers is not allowed". Can you please help?

I am running web automation tests on Playwright tests on Android Real Devices. I am getting the error “Launching more browsers is not allowed”. Can you please help?

Hey Ishrat,

As mentioned in the Playwright Support Forum , the error can be fixed by locking the Playwright version to 1.53.2. Please add the following changes to package.json and run the tests again.

"dependencies": {
    /* Start - Playwright Version - 1.53.2 */
    "@playwright/test": "1.53.2",
    "playwright": "1.53.2",
     /* End - Playwright Version - 1.53.2 */
    "@lambdatest/playwright-driver": "^1.0.6",
    "expect": "^29.5.0",
    "dotenv": "^16.0.3"
  },