puppeteer/docs/api/puppeteer.browser.version.md
Alex Rudenko df4d60c187
feat!: switch to Chrome for Testing instead of Chromium (#10054)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-05-02 08:53:40 +02:00

464 B

sidebar_label
Browser.version

Browser.version() method

A string representing the browser name and version.

Signature:

class Browser {
  version(): Promise<string>;
}

Returns:

Promise<string>

Remarks

For headless browser, this is similar to HeadlessChrome/61.0.3153.0. For non-headless, this is similar to Chrome/61.0.3153.0.

The format of browser.version() might change with future releases of browsers.