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: add missing imports (#29014)
inottn0fa85143a005
diff --git a/docs/src/emulation.md b/docs/src/emulation.mdindex 65c81612f8..a29e6cef7d 100644--- a/docs/src/emulation.md+++ b/docs/src/emulation.md@@ -101,7 +101,8 @@ Playwright can emulate various devices by specifying `setDeviceScaleFactor`, `seThe viewport is included in the device but you can override it for some tests with [`method: Page.setViewportSize`].```js tab=js-test title="playwright.config.ts"-import { defineConfig } from '@playwright/test';+import { defineConfig, devices } from '@playwright/test';+export default defineConfig({projects: [{@@ -245,7 +246,7 @@ await using var context = await browser.NewContextAsync(new()Whether the meta viewport tag is taken into account and touch events are enabled.```js title="playwright.config.ts"-import { defineConfig } from '@playwright/test';+import { defineConfig, devices } from '@playwright/test';export default defineConfig({projects: [