puppeteer/docs/api/puppeteer.browserfetcher.platform.md

20 lines
304 B
Markdown

---
sidebar_label: BrowserFetcher.platform
---
# BrowserFetcher.platform() method
Returns the current `Platform`, which is one of `mac`, `linux`, `win32` or `win64`.
#### Signature:
```typescript
class BrowserFetcher {
platform(): Platform;
}
```
**Returns:**
[Platform](./puppeteer.platform.md)