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 broken links to device descriptors file (#42036)
Henry Q. Dineen7c5b614664bb
diff --git a/docs/src/emulation.md b/docs/src/emulation.mdindex bc9da7fe3f..d05d07e6a2 100644--- a/docs/src/emulation.md+++ b/docs/src/emulation.md@@ -10,7 +10,7 @@ With Playwright you can test your app on any browser as well as emulate a real d## Devices* langs: js, csharp, python-Playwright comes with a [registry of device parameters](https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/server/deviceDescriptorsSource.json) using [`property: Playwright.devices`] for selected desktop, tablet and mobile devices. It can be used to simulate browser behavior for a specific device such as user agent, screen size, viewport and if it has touch enabled. All tests will run with the specified device parameters.+Playwright comes with a [registry of device parameters](https://github.com/microsoft/playwright/blob/main/packages/isomorphic/deviceDescriptorsSource.json) using [`property: Playwright.devices`] for selected desktop, tablet and mobile devices. It can be used to simulate browser behavior for a specific device such as user agent, screen size, viewport and if it has touch enabled. All tests will run with the specified device parameters.```js tab=js-test title="playwright.config.ts"import { defineConfig, devices } from '@playwright/test'; // import devicesdiff --git a/docs/src/test-projects-js.md b/docs/src/test-projects-js.mdindex 6c16c18857..33cb7d1fce 100644--- a/docs/src/test-projects-js.md+++ b/docs/src/test-projects-js.md@@ -11,7 +11,7 @@ By setting up projects you can also run a group of tests with different timeouts## Configure projects for multiple browsers-By using **projects** you can run your tests in multiple browsers such as chromium, webkit and firefox as well as branded browsers such as Google Chrome and Microsoft Edge. Playwright can also run on emulated tablet and mobile devices. See the [registry of device parameters](https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/server/deviceDescriptorsSource.json) for a complete list of selected desktop, tablet and mobile devices.+By using **projects** you can run your tests in multiple browsers such as chromium, webkit and firefox as well as branded browsers such as Google Chrome and Microsoft Edge. Playwright can also run on emulated tablet and mobile devices. See the [registry of device parameters](https://github.com/microsoft/playwright/blob/main/packages/isomorphic/deviceDescriptorsSource.json) for a complete list of selected desktop, tablet and mobile devices.```jsimport { defineConfig, devices } from '@playwright/test';