Update Playwright version

This issue has been tracked since 2022-07-20.

Is your feature request related to a problem? Please describe.
According to documentation, the hosted Playwright version is 1.18.0
See https://www.browserless.io/docs/versions

It is outdated and makes it impossible to use with Playwright Test. Playwright Test opened a configuration point options for remote connection only recently (probably 1.20 or 1.21) https://playwright.dev/docs/api/class-testoptions#test-options-connect-options

Describe the solution you'd like
Playwright on the hosted service should be upgraded, ideally to the same version as the latest Docker image.

Describe alternatives you've considered
browserless/chrome:latest works flawlessly with Playwright Test connected to it via connectOptions

andyMrtnzP wrote this answer on 2022-08-04

We just bumped Playwright to v1.24.0 via #2572. Could you try that Playwright test with the latest release?

jfgreffier wrote this answer on 2022-08-04

Playwright 1.24.0 does not work with wss://chrome.browserless.io/playwright. The documentation didn't change and still claims de hosted version is 1.18.0

Is there a way to know what is the deployed version ?

Playwright 1.24.0 works well locally with the new browserless/chrome Docker image, so you're good to go. It just needs to be deployed.

joelgriffith wrote this answer on 2022-08-04

@jfgreffier unfortunately we've got quite a bit of diligence to do with regards to playwright as they seem to like to break stuff version to version, and we need to see how backwards compatibly different versions are.

We're going to start the process of doing playwright-specific tags as well as puppeteer for Dedicated accounts, but usage-based is always going to be a bit slower to change since it's a shared service used by many.

jfgreffier wrote this answer on 2022-08-04

Thanks for the sensible answer. Playwright's team is indeed moving fast, and sometimes breaking things. I'm looking forward to updates of usage-based Browserless.

andyMrtnzP wrote this answer on 2023-01-20

Last year we introduced Playwright versioning, and updated the main Playwright version. As of right now, we support connections from Playwright 1.23.0 to 1.27.1

More Details About Repo
Owner Name browserless
Repo Name chrome
Full Name browserless/chrome
Language TypeScript
Created Date 2017-11-17
Updated Date 2023-03-22
Star Count 5309
Watcher Count 47
Fork Count 516
Issue Count 29


Issue Title Created Date Updated Date