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: fix typo for stylePath (#29034)
romanimma217d6a08d60
diff --git a/docs/src/test-snapshots-js.md b/docs/src/test-snapshots-js.mdindex 41f855dde3..a6e5b98636 100644--- a/docs/src/test-snapshots-js.md+++ b/docs/src/test-snapshots-js.md@@ -98,7 +98,7 @@ import { test, expect } from '@playwright/test';test('example test', async ({ page }) => {await page.goto('https://playwright.dev');- await expect(page).toHaveScreenshot({ styleFile: path.join(__dirname, 'screenshot.css') });+ await expect(page).toHaveScreenshot({ stylePath: path.join(__dirname, 'screenshot.css') });});```@@ -109,7 +109,7 @@ import { defineConfig } from '@playwright/test';export default defineConfig({expect: {toHaveScreenshot: {- styleFile: './screenshot.css'+ stylePath: './screenshot.css'},},});