Commit 6006451 Sander Aalbers
committed
1 parent 9dd1013 commit 6006451 Copy full SHA for 6006451
File tree 3 files changed +11
-3
lines changed
test-runner-puppeteer/src
3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change
1
+ # Migration
2
+
3
+ ## From version 0.15.x to 0.16.0
4
+
5
+ The re-exports of Puppeteer devices is removed and can be imported from Puppeteer directly.
6
+
7
+ ``` ts
8
+ import { KnownDevices } from ' puppeteer' ;
9
+ ```
Original file line number Diff line number Diff line change 1
1
import * as puppeteerCore from 'puppeteer-core' ;
2
2
import { ChromeLauncher , CreateBrowserContextFn , CreatePageFn } from './ChromeLauncher.js' ;
3
- import { PuppeteerNodeLaunchOptions , KnownDevices } from 'puppeteer-core' ;
3
+ import { PuppeteerNodeLaunchOptions } from 'puppeteer-core' ;
4
4
5
5
export interface ChromeLauncherArgs {
6
6
puppeteer ?: typeof puppeteerCore ;
@@ -10,7 +10,7 @@ export interface ChromeLauncherArgs {
10
10
concurrency ?: number ;
11
11
}
12
12
13
- export { ChromeLauncher , KnownDevices , puppeteerCore } ;
13
+ export { ChromeLauncher , puppeteerCore } ;
14
14
15
15
export function chromeLauncher ( args : ChromeLauncherArgs = { } ) {
16
16
const {
Original file line number Diff line number Diff line change 1
1
export { puppeteerLauncher } from './puppeteerLauncher.js' ;
2
- export { KnownDevices } from 'puppeteer' ;
You can’t perform that action at this time.
0 commit comments