Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(test-runner): allow viewport null values (#7225)
Max Schmitt4d0d3924f0bc
diff --git a/types/test.d.ts b/types/test.d.tsindex 7becea4768..ef0adf352c 100644--- a/types/test.d.ts+++ b/types/test.d.ts@@ -1145,7 +1145,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.