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
docs(class-testoptions): fix launchOptions snippet (#23831)
awatson-scottlogic3777fc8b0fa1
diff --git a/docs/src/test-api/class-testoptions.md b/docs/src/test-api/class-testoptions.mdindex 6ce6ad75e3..d812be7cf1 100644--- a/docs/src/test-api/class-testoptions.md+++ b/docs/src/test-api/class-testoptions.md@@ -355,10 +355,12 @@ export default defineConfig({projects: [{name: 'chromium',- use: { ...devices['Desktop Chrome'] },- launchOptions: {- args: ['--start-maximized'],- },+ use: {+ ...devices['Desktop Chrome'],+ launchOptions: {+ args: ['--start-maximized']+ }+ }}]});diff --git a/packages/playwright-test/types/test.d.ts b/packages/playwright-test/types/test.d.tsindex 791809b5bc..71f8f55e5d 100644--- a/packages/playwright-test/types/test.d.ts+++ b/packages/playwright-test/types/test.d.ts@@ -3518,10 +3518,12 @@ export interface PlaywrightWorkerOptions {* projects: [* {* name: 'chromium',- * use: { ...devices['Desktop Chrome'] },- * launchOptions: {- * args: ['--start-maximized'],- * },+ * use: {+ * ...devices['Desktop Chrome'],+ * launchOptions: {+ * args: ['--start-maximized']+ * }+ * }* }* ]* });