Skip to content

Commit

Permalink
refactor!: remove devices in favor of KnownDevices (#11787)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Feb 2, 2024
1 parent 53c9134 commit eb360e3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 142 deletions.
1 change: 0 additions & 1 deletion docs/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ sidebar_label: API
| [connect](./puppeteer.connect.md) | |
| [DEFAULT_INTERCEPT_RESOLUTION_PRIORITY](./puppeteer.default_intercept_resolution_priority.md) | The default cooperative request interception resolution priority |
| [defaultArgs](./puppeteer.defaultargs.md) | |
| [devices](./puppeteer.devices.md) | |
| [executablePath](./puppeteer.executablepath.md) | |
| [KnownDevices](./puppeteer.knowndevices.md) | A list of devices to be used with [Page.emulate()](./puppeteer.page.emulate.md). |
| [launch](./puppeteer.launch.md) | |
Expand Down
134 changes: 0 additions & 134 deletions docs/api/puppeteer.devices.md

This file was deleted.

7 changes: 0 additions & 7 deletions packages/puppeteer-core/src/common/Device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1543,10 +1543,3 @@ for (const device of knownDevices) {
* @public
*/
export const KnownDevices = Object.freeze(knownDevicesByName);

/**
* @deprecated Import {@link KnownDevices}
*
* @public
*/
export const devices = KnownDevices;

0 comments on commit eb360e3

Please sign in to comment.