fix: allow null viewport to disable viewport emulation (#107)

fix: allow null viewport to disable viewport emulation
This commit is contained in:
kitiho
2026-04-07 05:11:44 +02:00
committed by GitHub
parent 216a7d6a6a
commit 8eb2e4b905
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export interface LaunchContextOptions extends LaunchOptions {
/** Custom user agent string. */
userAgent?: string;
/** Viewport size. */
viewport?: { width: number; height: number };
viewport?: { width: number; height: number } | null;
/** Browser locale, e.g. "en-US". */
locale?: string;
/** IANA timezone — alias for `timezone`. Either works. */