Skip to content

Commit

Permalink
docs: clarify the path attribute of InstalledBrowser (#10588)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Jul 19, 2023
1 parent 830f926 commit 54c6ff2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/browsers-api/browsers.installedbrowser.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export interface InstalledBrowser

## Properties

| Property | Modifiers | Type | Description | Default |
| -------- | --------- | ------------------------------------------------ | ----------- | ------- |
| browser | | [Browser](./browsers.browser.md) | | |
| buildId | | string | | |
| path | | string | | |
| platform | | [BrowserPlatform](./browsers.browserplatform.md) | | |
| Property | Modifiers | Type | Description | Default |
| -------- | --------- | ------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| browser | | [Browser](./browsers.browser.md) | | |
| buildId | | string | | |
| path | | string | Path to the root of the installation folder. Use [computeExecutablePath()](./browsers.computeexecutablepath.md) to get the path to the executable binary. | |
| platform | | [BrowserPlatform](./browsers.browserplatform.md) | | |
4 changes: 4 additions & 0 deletions packages/browsers/src/Cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ import {Browser, BrowserPlatform} from './browser-data/browser-data.js';
* @public
*/
export interface InstalledBrowser {
/**
* Path to the root of the installation folder. Use
* {@link computeExecutablePath} to get the path to the executable binary.
*/
path: string;
browser: Browser;
buildId: string;
Expand Down

0 comments on commit 54c6ff2

Please sign in to comment.