Playwright: core version?

Created on 27 Jan 2020  路  3Comments  路  Source: microsoft/playwright

I don't want to download binaries especially when i have already installed firefox, edge or chrome. It would be very helpful if there will be core version of it just like puppeteer.

Thanks.

Most helpful comment

Puppeteer core has really worked well with current version of chrome so I don't think playwright-core will also suffer problem .

@shirshak55 Currently, playwright-core is guaranteed to work only with Chrome 81 - which is Chrome Canary. Puppeteer has a compatibility table to match puppeteer-core versions against separately-installed browser versions:

image

We're too young atm to have a similarly looking table: as Pavel mentioned, we need some time to upstream our webkit & firefox patches. But as the project matures, we'll come up with some pretty story to run playwright against separately installed / stable versions of browsers.

All 3 comments

There is playwright-core, but you can't point to a stock version of any browser yet:

  • there is no Chrome stable that would already contain all of the changes required for Playwright (same story as with Puppeteer here, we are a bit ahead of the Stable train)
  • it'll take time to upstream the WebKit & FF changes

Is the main motivation for your request to be on the stable channels of the browers following their release cadence? Or do you want to reuse the same binaries instead of downloading them over and over for each playwright install?

@pavelfeldman Yes want to save space mostly and time. When binaries get downloaded it takes too much time etc. Puppeteer core has really worked well with current version of chrome so I don't think playwright-core will also suffer problem .

Puppeteer core has really worked well with current version of chrome so I don't think playwright-core will also suffer problem .

@shirshak55 Currently, playwright-core is guaranteed to work only with Chrome 81 - which is Chrome Canary. Puppeteer has a compatibility table to match puppeteer-core versions against separately-installed browser versions:

image

We're too young atm to have a similarly looking table: as Pavel mentioned, we need some time to upstream our webkit & firefox patches. But as the project matures, we'll come up with some pretty story to run playwright against separately installed / stable versions of browsers.

Was this page helpful?
0 / 5 - 0 ratings