diff --git a/types/test.d.ts b/types/test.d.ts index c4c5e2c460..4d5302e4de 100644 --- a/types/test.d.ts +++ b/types/test.d.ts @@ -1116,7 +1116,7 @@ export type PlaywrightTestOptions = { * Viewport used for all pages in the test. Takes priority over `contextOptions`. * @see BrowserContextOptions */ - viewport: ViewportSize | undefined; + viewport: ViewportSize | null | undefined; /** * Options used to create the context. Other options above (e.g. `viewport`) take priority.