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: change images back to png (#37011)
Max Schmittc0c772b7eb44
diff --git a/docs/src/ci-intro.md b/docs/src/ci-intro.mdindex e49d0d76fc..0ca8073923 100644--- a/docs/src/ci-intro.md+++ b/docs/src/ci-intro.md@@ -261,7 +261,7 @@ Once you have served the report using `npx playwright show-report`, click on the[trace.playwright.dev](https://trace.playwright.dev) is a statically hosted variant of the Trace Viewer. You can upload trace files using drag and drop.-+## Viewing the Trace* langs: csharp@@ -271,7 +271,7 @@ You can upload Traces which get created on your CI like GitHub Actions as artifa######* langs: csharp-+## Publishing report on the web* langs: jsdiff --git a/docs/src/codegen-intro.md b/docs/src/codegen-intro.mdindex 0ee74d42b4..e3f53e1ead 100644--- a/docs/src/codegen-intro.md+++ b/docs/src/codegen-intro.md@@ -46,22 +46,22 @@ With the test generator you can record:######* langs: js-+######* langs: java-+######* langs: python-+######* langs: csharp-+######* langs: js, java, python, csharp@@ -85,22 +85,22 @@ You can generate [locators](/locators.md) with the test generator.######* langs: js-+######* langs: java-+######* langs: python-+######* langs: csharp-+### Emulationdiff --git a/docs/src/getting-started-vscode-js.md b/docs/src/getting-started-vscode-js.mdindex 9b98930804..31977b32e7 100644--- a/docs/src/getting-started-vscode-js.md+++ b/docs/src/getting-started-vscode-js.md@@ -27,22 +27,22 @@ Before you begin, make sure you have the following installed:1. **Install the Extension**: Open the Extensions view in VS Code (`Ctrl+Shift+X` or `Cmd+Shift+X`) and search for "Playwright". [Install the official extension from Microsoft](https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright).-+1. **Install Playwright**: Once the extension is installed, open the Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P`) and run the **Test: Install Playwright** command.-+3. **Select Browsers**: Choose the browsers you want for your tests (e.g., Chromium, Firefox, WebKit). You can also add a GitHub Actions workflow to run tests in CI. These settings can be changed later in your `playwright.config.ts` file.-+### Opening the Testing SidebarClick the **Testing icon** in the VS Code Activity Bar to open the Test Explorer. Here, you'll find your tests, as well as the Playwright sidebar for managing projects, tools, and settings.-+## Core Features@@ -55,19 +55,19 @@ Click the **Testing icon** in the VS Code Activity Bar to open the Test Explorer- **Run a Single Test**: Click the green "play" icon next to any test to run it. The play button will change to a green checkmark if the test passes or a red X if the test fails. You'll be able to see how long the test took to run displayed next to the test name. Additionally, the Test Results panel will automatically open at the bottom of VS Code, showing a summary of the test execution including how many tests ran, how many passed, failed, or were skipped, along with the total execution time.-+- **Run All Tests**: You can run all tests at different levels. Click the play icon next to a specific test file to run all tests within that file, or click the play icon at the very top of the Test Explorer to run all tests across your entire project.-+- **Run on Multiple Browsers**: In the Playwright sidebar, check the boxes for the projects (browsers) you want to test against. Projects in Playwright represent different browser configurations - each project typically corresponds to a specific browser (like Chromium, Firefox, or WebKit) with its own settings such as viewport size, device emulation, or other browser-specific options. When you run a test, it will execute across all selected projects, allowing you to verify your application works consistently across different browsers and configurations.-+- **Show Browser**: To watch your tests execute in a live browser window, enable the **Show Browser** option in the sidebar. Disable it to run in headless mode (where tests run in the background without opening a visible browser window).-+### Debugging Your Tests@@ -80,19 +80,19 @@ The VS Code extension provides powerful debugging tools to help you identify and- **Using Breakpoints**: Set a breakpoint by clicking in the gutter next to a line number. Right-click the test and select **Debug Test**. The test will pause at your breakpoint, allowing you to inspect variables and step through the code.- + - **Live Debugging**: With **Show Browsers** enabled, click on a locator in your code. Playwright will highlight the corresponding element in the browser, making it easy to verify locators.- + - **Viewing Error Messages**: If a test fails, the extension displays detailed error messages, including the expected vs. received values and a full call log, directly in the editor.-+- **Fix with AI**: When a test fails, click the sparkle icon next to the error to get an AI-powered fix suggestion from Copilot. Copilot analyzes the error and suggests a code change to resolve the issue.-+- **Debugging with Trace Viewer**: For comprehensive debugging, enable the **Show Trace Viewer** option in the Playwright sidebar. When your test finishes, a detailed trace will automatically open, providing you with a complete timeline of your test execution. The trace viewer is particularly useful for:- **Step-by-step analysis**: Navigate through each action your test performed with precise timestamps@@ -104,7 +104,7 @@ The VS Code extension provides powerful debugging tools to help you identify andThe trace viewer is especially valuable when debugging flaky tests or understanding complex user interactions.-+To learn more, see our [Trace Viewer guide](./trace-viewer.md).@@ -119,14 +119,14 @@ CodeGen is Playwright's powerful test generation tool that automatically creates- **Record a New Test**: Click **Record new** in the sidebar. A browser window will open. As you interact with the page, Playwright will automatically generate the test code. You can also generate assertions from the recording toolbar.-+- **Record at Cursor**: Place your cursor inside an existing test and click **Record at cursor** to add new actions at that specific point.-+- **Pick a Locator**: Use the **Pick locator** tool to click on any element in the opened browser. Playwright will determine the best locator and copy it to your clipboard, ready to be pasted into your code.-+To learn more, see our [CodeGen guide](./codegen.md).@@ -137,7 +137,7 @@ To learn more, see our [CodeGen guide](./codegen.md).Use [project dependencies](./test-projects.md) to define setup tests that run before other tests. For example, you can create a login test that runs first, then reuse that authenticated state across multiple tests without having to log in again for each test. In VS Code, you can see these setup tests in the Test Explorer and run them independently when needed.-+To learn more, see our [Project Dependencies guide](./test-projects.md).@@ -145,13 +145,13 @@ To learn more, see our [Project Dependencies guide](./test-projects.md).For tasks that need to run only once before all tests (like seeding a database), use **Global Setup**. You can trigger the global setup and teardown manually from the Playwright sidebar.-+### Multiple ConfigurationsIf you have multiple `playwright.config.ts` files, you can switch between them using the gear icon in the Playwright sidebar. This allows you to easily work with different test suites or environments.-+## Quick Referencediff --git a/docs/src/images/getting-started/codegen-csharp.png b/docs/src/images/getting-started/codegen-csharp.pngnew file mode 100644index 0000000000..96946f491aBinary files /dev/null and b/docs/src/images/getting-started/codegen-csharp.png differdiff --git a/docs/src/images/getting-started/codegen-csharp.webp b/docs/src/images/getting-started/codegen-csharp.webpdeleted file mode 100644index f6f9c3038f..0000000000Binary files a/docs/src/images/getting-started/codegen-csharp.webp and /dev/null differdiff --git a/docs/src/images/getting-started/codegen-java.png b/docs/src/images/getting-started/codegen-java.pngnew file mode 100644index 0000000000..539ba06e30Binary files /dev/null and b/docs/src/images/getting-started/codegen-java.png differdiff --git a/docs/src/images/getting-started/codegen-java.webp b/docs/src/images/getting-started/codegen-java.webpdeleted file mode 100644index d46abe1a42..0000000000Binary files a/docs/src/images/getting-started/codegen-java.webp and /dev/null differdiff --git a/docs/src/images/getting-started/codgen-js.png b/docs/src/images/getting-started/codgen-js.pngnew file mode 100644index 0000000000..e6a3938de9Binary files /dev/null and b/docs/src/images/getting-started/codgen-js.png differdiff --git a/docs/src/images/getting-started/codgen-js.webp b/docs/src/images/getting-started/codgen-js.webpdeleted file mode 100644index 3304a6355d..0000000000Binary files a/docs/src/images/getting-started/codgen-js.webp and /dev/null differdiff --git a/docs/src/images/getting-started/codgen-python.png b/docs/src/images/getting-started/codgen-python.pngnew file mode 100644index 0000000000..5ecafe2b7bBinary files /dev/null and b/docs/src/images/getting-started/codgen-python.png differdiff --git a/docs/src/images/getting-started/codgen-python.webp b/docs/src/images/getting-started/codgen-python.webpdeleted file mode 100644index 341cb60da3..0000000000Binary files a/docs/src/images/getting-started/codgen-python.webp and /dev/null differdiff --git a/docs/src/images/getting-started/debug-mode.png b/docs/src/images/getting-started/debug-mode.pngnew file mode 100644index 0000000000..d2ec8a9c19Binary files /dev/null and b/docs/src/images/getting-started/debug-mode.png differdiff --git a/docs/src/images/getting-started/debug-mode.webp b/docs/src/images/getting-started/debug-mode.webpdeleted file mode 100644index b7da19c2e5..0000000000Binary files a/docs/src/images/getting-started/debug-mode.webp and /dev/null differdiff --git a/docs/src/images/getting-started/error-messaging.png b/docs/src/images/getting-started/error-messaging.pngnew file mode 100644index 0000000000..7d87662142Binary files /dev/null and b/docs/src/images/getting-started/error-messaging.png differdiff --git a/docs/src/images/getting-started/error-messaging.webp b/docs/src/images/getting-started/error-messaging.webpdeleted file mode 100644index cef670d35d..0000000000Binary files a/docs/src/images/getting-started/error-messaging.webp and /dev/null differdiff --git a/docs/src/images/getting-started/fix-with-ai.png b/docs/src/images/getting-started/fix-with-ai.pngnew file mode 100644index 0000000000..556a1ad04aBinary files /dev/null and b/docs/src/images/getting-started/fix-with-ai.png differdiff --git a/docs/src/images/getting-started/fix-with-ai.webp b/docs/src/images/getting-started/fix-with-ai.webpdeleted file mode 100644index fe8a776610..0000000000Binary files a/docs/src/images/getting-started/fix-with-ai.webp and /dev/null differdiff --git a/docs/src/images/getting-started/global-setup.png b/docs/src/images/getting-started/global-setup.pngnew file mode 100644index 0000000000..34119260edBinary files /dev/null and b/docs/src/images/getting-started/global-setup.png differdiff --git a/docs/src/images/getting-started/global-setup.webp b/docs/src/images/getting-started/global-setup.webpdeleted file mode 100644index b8bb3d9630..0000000000Binary files a/docs/src/images/getting-started/global-setup.webp and /dev/null differdiff --git a/docs/src/images/getting-started/html-report-basic.png b/docs/src/images/getting-started/html-report-basic.pngnew file mode 100644index 0000000000..03d8c5e33aBinary files /dev/null and b/docs/src/images/getting-started/html-report-basic.png differdiff --git a/docs/src/images/getting-started/html-report-basic.webp b/docs/src/images/getting-started/html-report-basic.webpdeleted file mode 100644index 18e5df9288..0000000000Binary files a/docs/src/images/getting-started/html-report-basic.webp and /dev/null differdiff --git a/docs/src/images/getting-started/html-report-detail.png b/docs/src/images/getting-started/html-report-detail.pngnew file mode 100644index 0000000000..6e75f25eb2Binary files /dev/null and b/docs/src/images/getting-started/html-report-detail.png differdiff --git a/docs/src/images/getting-started/html-report-detail.webp b/docs/src/images/getting-started/html-report-detail.webpdeleted file mode 100644index acffc4df3d..0000000000Binary files a/docs/src/images/getting-started/html-report-detail.webp and /dev/null differdiff --git a/docs/src/images/getting-started/html-report-failed-tests.png b/docs/src/images/getting-started/html-report-failed-tests.pngnew file mode 100644index 0000000000..572854db20Binary files /dev/null and b/docs/src/images/getting-started/html-report-failed-tests.png differdiff --git a/docs/src/images/getting-started/html-report-failed-tests.webp b/docs/src/images/getting-started/html-report-failed-tests.webpdeleted file mode 100644index 360b4b071d..0000000000Binary files a/docs/src/images/getting-started/html-report-failed-tests.webp and /dev/null differdiff --git a/docs/src/images/getting-started/html-report-open.png b/docs/src/images/getting-started/html-report-open.pngnew file mode 100644index 0000000000..6e75f25eb2Binary files /dev/null and b/docs/src/images/getting-started/html-report-open.png differdiff --git a/docs/src/images/getting-started/html-report-open.webp b/docs/src/images/getting-started/html-report-open.webpdeleted file mode 100644index acffc4df3d..0000000000Binary files a/docs/src/images/getting-started/html-report-open.webp and /dev/null differdiff --git a/docs/src/images/getting-started/html-report-trace.png b/docs/src/images/getting-started/html-report-trace.pngnew file mode 100644index 0000000000..d3a3273ac4Binary files /dev/null and b/docs/src/images/getting-started/html-report-trace.png differdiff --git a/docs/src/images/getting-started/html-report-trace.webp b/docs/src/images/getting-started/html-report-trace.webpdeleted file mode 100644index 01994821f7..0000000000Binary files a/docs/src/images/getting-started/html-report-trace.webp and /dev/null differdiff --git a/docs/src/images/getting-started/html-report.png b/docs/src/images/getting-started/html-report.pngnew file mode 100644index 0000000000..e7cac492d9Binary files /dev/null and b/docs/src/images/getting-started/html-report.png differdiff --git a/docs/src/images/getting-started/html-report.webp b/docs/src/images/getting-started/html-report.webpdeleted file mode 100644index 986416fd54..0000000000Binary files a/docs/src/images/getting-started/html-report.webp and /dev/null differdiff --git a/docs/src/images/getting-started/install-browsers.png b/docs/src/images/getting-started/install-browsers.pngnew file mode 100644index 0000000000..83395893d0Binary files /dev/null and b/docs/src/images/getting-started/install-browsers.png differdiff --git a/docs/src/images/getting-started/install-browsers.webp b/docs/src/images/getting-started/install-browsers.webpdeleted file mode 100644index 6af4045e8b..0000000000Binary files a/docs/src/images/getting-started/install-browsers.webp and /dev/null differdiff --git a/docs/src/images/getting-started/install-playwright.png b/docs/src/images/getting-started/install-playwright.pngnew file mode 100644index 0000000000..68a7b79425Binary files /dev/null and b/docs/src/images/getting-started/install-playwright.png differdiff --git a/docs/src/images/getting-started/install-playwright.webp b/docs/src/images/getting-started/install-playwright.webpdeleted file mode 100644index b6aba78b30..0000000000Binary files a/docs/src/images/getting-started/install-playwright.webp and /dev/null differdiff --git a/docs/src/images/getting-started/live-debugging.png b/docs/src/images/getting-started/live-debugging.pngnew file mode 100644index 0000000000..89d8c0a9f9Binary files /dev/null and b/docs/src/images/getting-started/live-debugging.png differdiff --git a/docs/src/images/getting-started/live-debugging.webp b/docs/src/images/getting-started/live-debugging.webpdeleted file mode 100644index 3ece71ade7..0000000000Binary files a/docs/src/images/getting-started/live-debugging.webp and /dev/null differdiff --git a/docs/src/images/getting-started/pick-locator-csharp.png b/docs/src/images/getting-started/pick-locator-csharp.pngnew file mode 100644index 0000000000..800f3484f7Binary files /dev/null and b/docs/src/images/getting-started/pick-locator-csharp.png differdiff --git a/docs/src/images/getting-started/pick-locator-csharp.webp b/docs/src/images/getting-started/pick-locator-csharp.webpdeleted file mode 100644index b3c559ed8e..0000000000Binary files a/docs/src/images/getting-started/pick-locator-csharp.webp and /dev/null differdiff --git a/docs/src/images/getting-started/pick-locator-java.png b/docs/src/images/getting-started/pick-locator-java.pngnew file mode 100644index 0000000000..13810f7a14Binary files /dev/null and b/docs/src/images/getting-started/pick-locator-java.png differdiff --git a/docs/src/images/getting-started/pick-locator-java.webp b/docs/src/images/getting-started/pick-locator-java.webpdeleted file mode 100644index 11e2b081ee..0000000000Binary files a/docs/src/images/getting-started/pick-locator-java.webp and /dev/null differdiff --git a/docs/src/images/getting-started/pick-locator-js.png b/docs/src/images/getting-started/pick-locator-js.pngnew file mode 100644index 0000000000..fbdb652c3bBinary files /dev/null and b/docs/src/images/getting-started/pick-locator-js.png differdiff --git a/docs/src/images/getting-started/pick-locator-js.webp b/docs/src/images/getting-started/pick-locator-js.webpdeleted file mode 100644index 6c7fc9b3af..0000000000Binary files a/docs/src/images/getting-started/pick-locator-js.webp and /dev/null differdiff --git a/docs/src/images/getting-started/pick-locator-python.png b/docs/src/images/getting-started/pick-locator-python.pngnew file mode 100644index 0000000000..b99697f5a3Binary files /dev/null and b/docs/src/images/getting-started/pick-locator-python.png differdiff --git a/docs/src/images/getting-started/pick-locator-python.webp b/docs/src/images/getting-started/pick-locator-python.webpdeleted file mode 100644index 8c5e5fc7a1..0000000000Binary files a/docs/src/images/getting-started/pick-locator-python.webp and /dev/null differdiff --git a/docs/src/images/getting-started/pick-locator.png b/docs/src/images/getting-started/pick-locator.pngnew file mode 100644index 0000000000..8ac237d42aBinary files /dev/null and b/docs/src/images/getting-started/pick-locator.png differdiff --git a/docs/src/images/getting-started/pick-locator.webp b/docs/src/images/getting-started/pick-locator.webpdeleted file mode 100644index 141d9581c1..0000000000Binary files a/docs/src/images/getting-started/pick-locator.webp and /dev/null differdiff --git a/docs/src/images/getting-started/record-at-cursor.png b/docs/src/images/getting-started/record-at-cursor.pngnew file mode 100644index 0000000000..ad9e4c8322Binary files /dev/null and b/docs/src/images/getting-started/record-at-cursor.png differdiff --git a/docs/src/images/getting-started/record-at-cursor.webp b/docs/src/images/getting-started/record-at-cursor.webpdeleted file mode 100644index cba4eb3954..0000000000Binary files a/docs/src/images/getting-started/record-at-cursor.webp and /dev/null differdiff --git a/docs/src/images/getting-started/record-new-test.png b/docs/src/images/getting-started/record-new-test.pngnew file mode 100644index 0000000000..d612fde765Binary files /dev/null and b/docs/src/images/getting-started/record-new-test.png differdiff --git a/docs/src/images/getting-started/record-new-test.webp b/docs/src/images/getting-started/record-new-test.webpdeleted file mode 100644index 50608ddcfc..0000000000Binary files a/docs/src/images/getting-started/record-new-test.webp and /dev/null differdiff --git a/docs/src/images/getting-started/record-test-csharp.png b/docs/src/images/getting-started/record-test-csharp.pngnew file mode 100644index 0000000000..96946f491aBinary files /dev/null and b/docs/src/images/getting-started/record-test-csharp.png differdiff --git a/docs/src/images/getting-started/record-test-csharp.webp b/docs/src/images/getting-started/record-test-csharp.webpdeleted file mode 100644index f6f9c3038f..0000000000Binary files a/docs/src/images/getting-started/record-test-csharp.webp and /dev/null differdiff --git a/docs/src/images/getting-started/record-test-java.png b/docs/src/images/getting-started/record-test-java.pngnew file mode 100644index 0000000000..539ba06e30Binary files /dev/null and b/docs/src/images/getting-started/record-test-java.png differdiff --git a/docs/src/images/getting-started/record-test-java.webp b/docs/src/images/getting-started/record-test-java.webpdeleted file mode 100644index d46abe1a42..0000000000Binary files a/docs/src/images/getting-started/record-test-java.webp and /dev/null differdiff --git a/docs/src/images/getting-started/record-test-js.png b/docs/src/images/getting-started/record-test-js.pngnew file mode 100644index 0000000000..e6a3938de9Binary files /dev/null and b/docs/src/images/getting-started/record-test-js.png differdiff --git a/docs/src/images/getting-started/record-test-js.webp b/docs/src/images/getting-started/record-test-js.webpdeleted file mode 100644index 3304a6355d..0000000000Binary files a/docs/src/images/getting-started/record-test-js.webp and /dev/null differdiff --git a/docs/src/images/getting-started/record-test-python.png b/docs/src/images/getting-started/record-test-python.pngnew file mode 100644index 0000000000..5ecafe2b7bBinary files /dev/null and b/docs/src/images/getting-started/record-test-python.png differdiff --git a/docs/src/images/getting-started/record-test-python.webp b/docs/src/images/getting-started/record-test-python.webpdeleted file mode 100644index 341cb60da3..0000000000Binary files a/docs/src/images/getting-started/record-test-python.webp and /dev/null differdiff --git a/docs/src/images/getting-started/run-all-tests.png b/docs/src/images/getting-started/run-all-tests.pngnew file mode 100644index 0000000000..86c2dd886bBinary files /dev/null and b/docs/src/images/getting-started/run-all-tests.png differdiff --git a/docs/src/images/getting-started/run-all-tests.webp b/docs/src/images/getting-started/run-all-tests.webpdeleted file mode 100644index 0c1a73da38..0000000000Binary files a/docs/src/images/getting-started/run-all-tests.webp and /dev/null differdiff --git a/docs/src/images/getting-started/run-single-test.png b/docs/src/images/getting-started/run-single-test.pngnew file mode 100644index 0000000000..b5609c4358Binary files /dev/null and b/docs/src/images/getting-started/run-single-test.png differdiff --git a/docs/src/images/getting-started/run-single-test.webp b/docs/src/images/getting-started/run-single-test.webpdeleted file mode 100644index bccfe6e945..0000000000Binary files a/docs/src/images/getting-started/run-single-test.webp and /dev/null differdiff --git a/docs/src/images/getting-started/run-tests-cli.png b/docs/src/images/getting-started/run-tests-cli.pngnew file mode 100644index 0000000000..d3dee686d9Binary files /dev/null and b/docs/src/images/getting-started/run-tests-cli.png differdiff --git a/docs/src/images/getting-started/run-tests-cli.webp b/docs/src/images/getting-started/run-tests-cli.webpdeleted file mode 100644index 7a4232d91e..0000000000Binary files a/docs/src/images/getting-started/run-tests-cli.webp and /dev/null differdiff --git a/docs/src/images/getting-started/run-tests-debug.png b/docs/src/images/getting-started/run-tests-debug.pngnew file mode 100644index 0000000000..75d94bee95Binary files /dev/null and b/docs/src/images/getting-started/run-tests-debug.png differdiff --git a/docs/src/images/getting-started/run-tests-debug.webp b/docs/src/images/getting-started/run-tests-debug.webpdeleted file mode 100644index a85fcdddbc..0000000000Binary files a/docs/src/images/getting-started/run-tests-debug.webp and /dev/null differdiff --git a/docs/src/images/getting-started/run-tests-pick-locator.png b/docs/src/images/getting-started/run-tests-pick-locator.pngnew file mode 100644index 0000000000..9c9a6dc9d4Binary files /dev/null and b/docs/src/images/getting-started/run-tests-pick-locator.png differdiff --git a/docs/src/images/getting-started/run-tests-pick-locator.webp b/docs/src/images/getting-started/run-tests-pick-locator.webpdeleted file mode 100644index 0970a5ba0e..0000000000Binary files a/docs/src/images/getting-started/run-tests-pick-locator.webp and /dev/null differdiff --git a/docs/src/images/getting-started/select-projects.png b/docs/src/images/getting-started/select-projects.pngnew file mode 100644index 0000000000..4a6fd6f168Binary files /dev/null and b/docs/src/images/getting-started/select-projects.png differdiff --git a/docs/src/images/getting-started/select-projects.webp b/docs/src/images/getting-started/select-projects.webpdeleted file mode 100644index 4de9c5e6fe..0000000000Binary files a/docs/src/images/getting-started/select-projects.webp and /dev/null differdiff --git a/docs/src/images/getting-started/selecting-configuration.png b/docs/src/images/getting-started/selecting-configuration.pngnew file mode 100644index 0000000000..472a635964Binary files /dev/null and b/docs/src/images/getting-started/selecting-configuration.png differdiff --git a/docs/src/images/getting-started/selecting-configuration.webp b/docs/src/images/getting-started/selecting-configuration.webpdeleted file mode 100644index b051b5a0cc..0000000000Binary files a/docs/src/images/getting-started/selecting-configuration.webp and /dev/null differdiff --git a/docs/src/images/getting-started/setup-tests.png b/docs/src/images/getting-started/setup-tests.pngnew file mode 100644index 0000000000..675cc01e29Binary files /dev/null and b/docs/src/images/getting-started/setup-tests.png differdiff --git a/docs/src/images/getting-started/setup-tests.webp b/docs/src/images/getting-started/setup-tests.webpdeleted file mode 100644index 1454057af6..0000000000Binary files a/docs/src/images/getting-started/setup-tests.webp and /dev/null differdiff --git a/docs/src/images/getting-started/show-browser.png b/docs/src/images/getting-started/show-browser.pngnew file mode 100644index 0000000000..6dee402680Binary files /dev/null and b/docs/src/images/getting-started/show-browser.png differdiff --git a/docs/src/images/getting-started/show-browser.webp b/docs/src/images/getting-started/show-browser.webpdeleted file mode 100644index af11373998..0000000000Binary files a/docs/src/images/getting-started/show-browser.webp and /dev/null differdiff --git a/docs/src/images/getting-started/testing-sidebar.png b/docs/src/images/getting-started/testing-sidebar.pngnew file mode 100644index 0000000000..f817824de3Binary files /dev/null and b/docs/src/images/getting-started/testing-sidebar.png differdiff --git a/docs/src/images/getting-started/testing-sidebar.webp b/docs/src/images/getting-started/testing-sidebar.webpdeleted file mode 100644index 8cca4d1492..0000000000Binary files a/docs/src/images/getting-started/testing-sidebar.webp and /dev/null differdiff --git a/docs/src/images/getting-started/trace-viewer-debug.png b/docs/src/images/getting-started/trace-viewer-debug.pngnew file mode 100644index 0000000000..5321f8aa88Binary files /dev/null and b/docs/src/images/getting-started/trace-viewer-debug.png differdiff --git a/docs/src/images/getting-started/trace-viewer-debug.webp b/docs/src/images/getting-started/trace-viewer-debug.webpdeleted file mode 100644index 95c613d33c..0000000000Binary files a/docs/src/images/getting-started/trace-viewer-debug.webp and /dev/null differdiff --git a/docs/src/images/getting-started/trace-viewer-failed-test.png b/docs/src/images/getting-started/trace-viewer-failed-test.pngnew file mode 100644index 0000000000..6c130b1f2bBinary files /dev/null and b/docs/src/images/getting-started/trace-viewer-failed-test.png differdiff --git a/docs/src/images/getting-started/trace-viewer-failed-test.webp b/docs/src/images/getting-started/trace-viewer-failed-test.webpdeleted file mode 100644index f078dd2f7a..0000000000Binary files a/docs/src/images/getting-started/trace-viewer-failed-test.webp and /dev/null differdiff --git a/docs/src/images/getting-started/trace-viewer.png b/docs/src/images/getting-started/trace-viewer.pngnew file mode 100644index 0000000000..8781423c9cBinary files /dev/null and b/docs/src/images/getting-started/trace-viewer.png differdiff --git a/docs/src/images/getting-started/trace-viewer.webp b/docs/src/images/getting-started/trace-viewer.webpdeleted file mode 100644index 6ea574d9fb..0000000000Binary files a/docs/src/images/getting-started/trace-viewer.webp and /dev/null differdiff --git a/docs/src/images/getting-started/ui-mode-error.png b/docs/src/images/getting-started/ui-mode-error.pngnew file mode 100644index 0000000000..fa293f8794Binary files /dev/null and b/docs/src/images/getting-started/ui-mode-error.png differdiff --git a/docs/src/images/getting-started/ui-mode-error.webp b/docs/src/images/getting-started/ui-mode-error.webpdeleted file mode 100644index 5b6b2dfec4..0000000000Binary files a/docs/src/images/getting-started/ui-mode-error.webp and /dev/null differdiff --git a/docs/src/images/getting-started/ui-mode-pick-locator.png b/docs/src/images/getting-started/ui-mode-pick-locator.pngnew file mode 100644index 0000000000..2a4df09bcbBinary files /dev/null and b/docs/src/images/getting-started/ui-mode-pick-locator.png differdiff --git a/docs/src/images/getting-started/ui-mode-pick-locator.webp b/docs/src/images/getting-started/ui-mode-pick-locator.webpdeleted file mode 100644index 4fcf369343..0000000000Binary files a/docs/src/images/getting-started/ui-mode-pick-locator.webp and /dev/null differdiff --git a/docs/src/images/getting-started/ui-mode.png b/docs/src/images/getting-started/ui-mode.pngnew file mode 100644index 0000000000..f9e83dbe72Binary files /dev/null and b/docs/src/images/getting-started/ui-mode.png differdiff --git a/docs/src/images/getting-started/ui-mode.webp b/docs/src/images/getting-started/ui-mode.webpdeleted file mode 100644index 21a1793299..0000000000Binary files a/docs/src/images/getting-started/ui-mode.webp and /dev/null differdiff --git a/docs/src/images/getting-started/vscode-extension.png b/docs/src/images/getting-started/vscode-extension.pngnew file mode 100644index 0000000000..106fb690e8Binary files /dev/null and b/docs/src/images/getting-started/vscode-extension.png differdiff --git a/docs/src/images/getting-started/vscode-extension.webp b/docs/src/images/getting-started/vscode-extension.webpdeleted file mode 100644index 2e2a5c66f3..0000000000Binary files a/docs/src/images/getting-started/vscode-extension.webp and /dev/null differdiff --git a/docs/src/images/vscode-projects-section.png b/docs/src/images/vscode-projects-section.pngnew file mode 100644index 0000000000..cffe4ec181Binary files /dev/null and b/docs/src/images/vscode-projects-section.png differdiff --git a/docs/src/intro-js.md b/docs/src/intro-js.mdindex b424822983..a9bce9752a 100644--- a/docs/src/intro-js.md+++ b/docs/src/intro-js.md@@ -126,7 +126,7 @@ pnpm exec playwright test</Tabs>-+Tips:- See the browser window: add `--headed`.@@ -175,7 +175,7 @@ pnpm exec playwright show-report</Tabs>-+## Running the Example Test in UI Mode@@ -217,7 +217,7 @@ pnpm exec playwright test --ui</Tabs>-+See the [detailed guide on UI Mode](./test-ui-mode.md) for watch filters, step details and trace integration.diff --git a/docs/src/running-tests-js.md b/docs/src/running-tests-js.mdindex a1d020cd3c..32223fdd0e 100644--- a/docs/src/running-tests-js.md+++ b/docs/src/running-tests-js.md@@ -21,7 +21,7 @@ You can run your tests with the `playwright test` command. This runs your testsnpx playwright test```-+### Run tests in UI mode@@ -31,7 +31,7 @@ We highly recommend running your tests with [UI Mode](./test-ui-mode.md) for a bnpx playwright test --ui```-+Check out our [detailed guide on UI Mode](./test-ui-mode.md) to learn more about its features.@@ -96,7 +96,7 @@ npx playwright test --last-failedTests can be run right from VS Code using the [VS Code extension](https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright). Once installed you can simply click the green triangle next to the test you want to run or run all tests from the testing sidebar. Check out our [Getting Started with VS Code](./getting-started-vscode.md) guide for more details.-+## Debugging tests@@ -110,11 +110,11 @@ We highly recommend debugging your tests with [UI Mode](./test-ui-mode.md) for anpx playwright test --ui```-+While debugging you can use the Pick Locator button to select an element on the page and see the locator that Playwright would use to find that element. You can also edit the locator in the locator playground and see it highlighting live in the browser window. Use the Copy Locator button to copy the locator to your clipboard and then paste it into your test.-+Check out our [detailed guide on UI Mode](./test-ui-mode.md) to learn more about its features.@@ -126,7 +126,7 @@ To debug all tests, run the Playwright test command followed by the `--debug` flnpx playwright test --debug```-+This command opens a browser window as well as the Playwright Inspector. You can use the step over button at the top of the inspector to step through your test. Or, press the play button to run your test from start to finish. Once the test finishes, the browser window closes.@@ -144,7 +144,7 @@ npx playwright test example.spec.ts:10 --debugWhile debugging you can use the Pick Locator button to select an element on the page and see the locator that Playwright would use to find that element. You can also edit the locator and see it highlighting live in the browser window. Use the Copy Locator button to copy the locator to your clipboard and then paste it into your test.-+Check out our [debugging guide](./debug.md) to learn more about debugging with the [VS Code debugger](./debug.md#vs-code-debugger), UI Mode, and the [Playwright Inspector](./debug.md#playwright-inspector) as well as debugging with [Browser Developer tools](./debug.md#browser-developer-tools).@@ -158,11 +158,11 @@ The [HTML Reporter](./test-reporters.md#html-reporter) shows you a full report onpx playwright show-report```-+You can filter and search for tests as well as click on each test to see the test errors and explore each step of the test.-+## What's nextdiff --git a/docs/src/trace-viewer-intro-js.md b/docs/src/trace-viewer-intro-js.mdindex 66802fb312..540ee7930b 100644--- a/docs/src/trace-viewer-intro-js.md+++ b/docs/src/trace-viewer-intro-js.md@@ -55,12 +55,12 @@ npx playwright show-reportIn the HTML report, click on the trace icon next to the test file name to directly open the trace for the required test.-+You can also click to open the detailed view of the test and scroll down to the `'Traces'` tab and open the trace by clicking on the trace screenshot.-+To learn more about reporters, check out our detailed guide on reporters including the [HTML Reporter](/test-reporters.md#html-reporter).@@ -69,7 +69,7 @@ To learn more about reporters, check out our detailed guide on reporters includiView traces of your test by clicking through each action or hovering using the timeline and see the state of the page before and after the action. Inspect the log, source and network, errors, and console during each step of the test. The trace viewer creates a DOM snapshot so you can fully interact with it and open the browser DevTools to inspect the HTML, CSS, etc.-+To learn more about traces, check out our detailed guide on [Trace Viewer](/trace-viewer.md).