Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
56
rated 0 times [  60] [ 4]  / answers: 1 / hits: 24101  / 5 Years ago, tue, april 23, 2019, 12:00:00

I read that puppeteer uses the latest version of chrome with it,
where can I find which version it is using?



I don't want to access navigator object on the window to get it. Basically nothing runtime. Just want to know if puppeteer as a package lists out its dependency somewhere



Basically, I want to look up what all CSS and javascript support I can assume to be there from other sites like 'can I use' or chrome references.


More From » node.js

 Answers
18

Use the browser.version() function to find out during runtime which version is used.



If you have the page object you can use it like this:



const version = await page.browser().version();





To find out which Chromium version is bundled with the puppeteer version without starting, you should check out the release notes, there is always a section about the Chromium version which is used.



Example (taken from release notes from v1.14.0):




Big Changes




  • Chromium 75.0.3738.0 (r641577)



[#52202] Tuesday, April 16, 2019, 5 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kaceyr

Total Points: 510
Total Questions: 97
Total Answers: 116

Location: Solomon Islands
Member since Fri, Oct 8, 2021
3 Years ago
kaceyr questions
;