Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]WebKit version #5795

Closed
dave-hart opened this issue Mar 11, 2021 · 4 comments
Closed

[Question]WebKit version #5795

dave-hart opened this issue Mar 11, 2021 · 4 comments

Comments

@dave-hart
Copy link

Hi,

How do I link back the WebKit version packaged with playwright to that used in my Safari browser?

I am finding lots of different representations of WebKit versions when I attempt to figure this out
Playwright Specify 14.2 on their Readme
The about box on my stock Safari install states 610.4.3.1.4
The Downloads page on the WebKit site just has a 5 digit number

In order for WebKit to be a viable replacement for Safari and WebDriver, I need to be able to identify exactly what I am testing against. This came about as I am seeing bugs in my local stock Safari install, that do not appear in tests against WebKit. I suspect it's a versioning issue, but without being able to see versions I cannot say for sure.

Many thanks

@yury-s yury-s changed the title WebKit version [Question]WebKit version Mar 11, 2021
@yury-s
Copy link
Member

yury-s commented Mar 11, 2021

The version listed in our README.md corresponds to the 'Version/<x.y.z>" part in the user agent string (and displayed in about safari dialog):
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15"

14.2 corresponds to the version currently used in Safari Technology Preview. There might be some slight differences between the private build of webkit and playwright build which includes only the open-source part. Also webkit revision which is used in playwright may be a bit ahead of the version used in the technology preview (e.g. 1.9.2 is based on 274075 while Safari Tech Preview 121 uses 272845).

@dave-hart
Copy link
Author

@yury-s Thank you for your answer.

How is browser versioning managed in Playwright? Do we get a particular version of all three browsers at the time we fetch Playwright from npm, or does Playwright dynamically fetch newer versions at runtime?

@pavelfeldman
Copy link
Member

Release notes point to the exact versions of the browsers used: https://github.com/microsoft/playwright/releases

@yury-s
Copy link
Member

yury-s commented Mar 15, 2021

Do we get a particular version of all three browsers at the time we fetch Playwright from npm, or does Playwright dynamically fetch newer versions at runtime?

Each Plawright version comes with a fixed version of each browser, the browsers are downloaded when you run npm install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants