We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0ec2ea commit 765ad8cCopy full SHA for 765ad8c
tests/utils.ts
@@ -9,6 +9,7 @@ import logger from 'debug';
9
import type {Browser} from 'puppeteer';
10
import puppeteer, {Locator} from 'puppeteer';
11
import type {
12
+ ChromeReleaseChannel,
13
Frame,
14
HTTPRequest,
15
HTTPResponse,
@@ -51,7 +52,7 @@ export async function withBrowser(
51
52
) {
53
const launchOptions: LaunchOptions = {
54
executablePath: process.env.PUPPETEER_EXECUTABLE_PATH,
- channel: options.channel as any,
55
+ channel: options.channel as ChromeReleaseChannel,
56
headless: !options.debug,
57
defaultViewport: null,
58
devtools: options.autoOpenDevTools ?? false,
0 commit comments