2020-06-04 14:56:45 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Browser](./puppeteer.browser.md) > [version](./puppeteer.browser.version.md)
|
|
|
|
|
|
|
|
## Browser.version() method
|
|
|
|
|
2020-06-23 05:19:15 +00:00
|
|
|
A string representing the browser name and version.
|
|
|
|
|
2020-06-04 14:56:45 +00:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
version(): Promise<string>;
|
|
|
|
```
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
Promise<string>
|
|
|
|
|
2020-06-23 05:19:15 +00:00
|
|
|
## Remarks
|
|
|
|
|
|
|
|
For headless Chromium, 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 Chromium.
|
|
|
|
|