puppeteer/website/versioned_docs/version-22.6.3/browsers-api/browsers.installedbrowser.md

143 lines
1.4 KiB
Markdown
Raw Normal View History

---
sidebar_label: InstalledBrowser
---
# InstalledBrowser class
#### Signature:
```typescript
export declare class InstalledBrowser
```
## Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `InstalledBrowser` class.
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
browser
</td><td>
</td><td>
[Browser](./browsers.browser.md)
</td><td>
</td></tr>
<tr><td>
buildId
</td><td>
</td><td>
string
</td><td>
</td></tr>
<tr><td>
executablePath
</td><td>
`readonly`
</td><td>
string
</td><td>
</td></tr>
<tr><td>
path
</td><td>
`readonly`
</td><td>
string
</td><td>
Path to the root of the installation folder. Use [computeExecutablePath()](./browsers.computeexecutablepath.md) to get the path to the executable binary.
</td></tr>
<tr><td>
platform
</td><td>
</td><td>
[BrowserPlatform](./browsers.browserplatform.md)
</td><td>
</td></tr>
</tbody></table>
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[readMetadata()](./browsers.installedbrowser.readmetadata.md)
</td><td>
</td><td>
</td></tr>
<tr><td>
[writeMetadata(metadata)](./browsers.installedbrowser.writemetadata.md)
</td><td>
</td><td>
</td></tr>
</tbody></table>