Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: change images back to png (#37011)

Max Schmittc0c772b7eb44
diff --git a/docs/src/ci-intro.md b/docs/src/ci-intro.md
index 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.
-![playwright trace viewer](./images/getting-started/trace-viewer-failed-test.webp)
+![playwright trace viewer](./images/getting-started/trace-viewer-failed-test.png)
## 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
-![playwright trace viewer](./images/getting-started/trace-viewer-failed-test.webp)
+![playwright trace viewer](./images/getting-started/trace-viewer-failed-test.png)
## Publishing report on the web
* langs: js
diff --git a/docs/src/codegen-intro.md b/docs/src/codegen-intro.md
index 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
-![Recording a test](./images/getting-started/record-test-js.webp)
+![Recording a test](./images/getting-started/record-test-js.png)
######
* langs: java
-![recording a test](./images/getting-started/record-test-java.webp)
+![recording a test](./images/getting-started/record-test-java.png)
######
* langs: python
-![recording a test](./images/getting-started/record-test-python.webp)
+![recording a test](./images/getting-started/record-test-python.png)
######
* langs: csharp
-![recording a test](./images/getting-started/record-test-csharp.webp)
+![recording a test](./images/getting-started/record-test-csharp.png)
######
* langs: js, java, python, csharp
@@ -85,22 +85,22 @@ You can generate [locators](/locators.md) with the test generator.
######
* langs: js
-![picking a locator](./images/getting-started/pick-locator-js.webp)
+![picking a locator](./images/getting-started/pick-locator-js.png)
######
* langs: java
-![picking a locator](./images/getting-started/pick-locator-java.webp)
+![picking a locator](./images/getting-started/pick-locator-java.png)
######
* langs: python
-![picking a locator](./images/getting-started/pick-locator-python.webp)
+![picking a locator](./images/getting-started/pick-locator-python.png)
######
* langs: csharp
-![picking a locator](./images/getting-started/pick-locator-csharp.webp)
+![picking a locator](./images/getting-started/pick-locator-csharp.png)
### Emulation
diff --git a/docs/src/getting-started-vscode-js.md b/docs/src/getting-started-vscode-js.md
index 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).
-![install playwright extension](./images/getting-started/vscode-extension.webp)
+![install playwright extension](./images/getting-started/vscode-extension.png)
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.
-![install playwright](./images/getting-started/install-playwright.webp)
+![install playwright](./images/getting-started/install-playwright.png)
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.
-![install browsers](./images/getting-started/install-browsers.webp)
+![install browsers](./images/getting-started/install-browsers.png)
### Opening the Testing Sidebar
Click 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.
-![Testing Sidebar](./images/getting-started/testing-sidebar.webp)
+![Testing Sidebar](./images/getting-started/testing-sidebar.png)
## 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 a single test](./images/getting-started/run-single-test.webp)
+![run a single test](./images/getting-started/run-single-test.png)
- **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 all tests](./images/getting-started/run-all-tests.webp)
+![run all tests](./images/getting-started/run-all-tests.png)
- **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.
-![Selecting projects to run tests on](./images/getting-started/select-projects.webp)
+![Selecting projects to run tests on](./images/getting-started/select-projects.png)
- **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).
-![show browsers while running tests](./images/getting-started/show-browser.webp)
+![show browsers while running tests](./images/getting-started/show-browser.png)
### 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.
- ![setting debug mode](./images/getting-started/debug-mode.webp)
+ ![setting debug mode](./images/getting-started/debug-mode.png)
- **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.
- ![live debugging in vs code](./images/getting-started/live-debugging.webp)
+ ![live debugging in vs code](./images/getting-started/live-debugging.png)
- **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.
-![error messaging in vs code](./images/getting-started/error-messaging.webp)
+![error messaging in vs code](./images/getting-started/error-messaging.png)
- **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.
-![fix with ai in vs code](./images/getting-started/fix-with-ai.webp)
+![fix with ai in vs code](./images/getting-started/fix-with-ai.png)
- **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 and
The trace viewer is especially valuable when debugging flaky tests or understanding complex user interactions.
-![trace viewer debugging](./images/getting-started/trace-viewer-debug.webp)
+![trace viewer debugging](./images/getting-started/trace-viewer-debug.png)
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 a new test](./images/getting-started/record-new-test.webp)
+![record a new test](./images/getting-started/record-new-test.png)
- **Record at Cursor**: Place your cursor inside an existing test and click **Record at cursor** to add new actions at that specific point.
-![record at cursor](./images/getting-started/record-at-cursor.webp)
+![record at cursor](./images/getting-started/record-at-cursor.png)
- **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.
-![pick locators](./images/getting-started/pick-locator.webp)
+![pick locators](./images/getting-started/pick-locator.png)
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.
-![setup tests in vscode](./images/getting-started/setup-tests.webp)
+![setup tests in vscode](./images/getting-started/setup-tests.png)
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.
-![running global setup](./images/getting-started/global-setup.webp)
+![running global setup](./images/getting-started/global-setup.png)
### Multiple Configurations
If 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.
-![Selecting a configuration file](./images/getting-started/selecting-configuration.webp)
+![Selecting a configuration file](./images/getting-started/selecting-configuration.png)
## Quick Reference
diff --git a/docs/src/images/getting-started/codegen-csharp.png b/docs/src/images/getting-started/codegen-csharp.png
new file mode 100644
index 0000000000..96946f491a
Binary files /dev/null and b/docs/src/images/getting-started/codegen-csharp.png differ
diff --git a/docs/src/images/getting-started/codegen-csharp.webp b/docs/src/images/getting-started/codegen-csharp.webp
deleted file mode 100644
index f6f9c3038f..0000000000
Binary files a/docs/src/images/getting-started/codegen-csharp.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/codegen-java.png b/docs/src/images/getting-started/codegen-java.png
new file mode 100644
index 0000000000..539ba06e30
Binary files /dev/null and b/docs/src/images/getting-started/codegen-java.png differ
diff --git a/docs/src/images/getting-started/codegen-java.webp b/docs/src/images/getting-started/codegen-java.webp
deleted file mode 100644
index d46abe1a42..0000000000
Binary files a/docs/src/images/getting-started/codegen-java.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/codgen-js.png b/docs/src/images/getting-started/codgen-js.png
new file mode 100644
index 0000000000..e6a3938de9
Binary files /dev/null and b/docs/src/images/getting-started/codgen-js.png differ
diff --git a/docs/src/images/getting-started/codgen-js.webp b/docs/src/images/getting-started/codgen-js.webp
deleted file mode 100644
index 3304a6355d..0000000000
Binary files a/docs/src/images/getting-started/codgen-js.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/codgen-python.png b/docs/src/images/getting-started/codgen-python.png
new file mode 100644
index 0000000000..5ecafe2b7b
Binary files /dev/null and b/docs/src/images/getting-started/codgen-python.png differ
diff --git a/docs/src/images/getting-started/codgen-python.webp b/docs/src/images/getting-started/codgen-python.webp
deleted file mode 100644
index 341cb60da3..0000000000
Binary files a/docs/src/images/getting-started/codgen-python.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/debug-mode.png b/docs/src/images/getting-started/debug-mode.png
new file mode 100644
index 0000000000..d2ec8a9c19
Binary files /dev/null and b/docs/src/images/getting-started/debug-mode.png differ
diff --git a/docs/src/images/getting-started/debug-mode.webp b/docs/src/images/getting-started/debug-mode.webp
deleted file mode 100644
index b7da19c2e5..0000000000
Binary files a/docs/src/images/getting-started/debug-mode.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/error-messaging.png b/docs/src/images/getting-started/error-messaging.png
new file mode 100644
index 0000000000..7d87662142
Binary files /dev/null and b/docs/src/images/getting-started/error-messaging.png differ
diff --git a/docs/src/images/getting-started/error-messaging.webp b/docs/src/images/getting-started/error-messaging.webp
deleted file mode 100644
index cef670d35d..0000000000
Binary files a/docs/src/images/getting-started/error-messaging.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/fix-with-ai.png b/docs/src/images/getting-started/fix-with-ai.png
new file mode 100644
index 0000000000..556a1ad04a
Binary files /dev/null and b/docs/src/images/getting-started/fix-with-ai.png differ
diff --git a/docs/src/images/getting-started/fix-with-ai.webp b/docs/src/images/getting-started/fix-with-ai.webp
deleted file mode 100644
index fe8a776610..0000000000
Binary files a/docs/src/images/getting-started/fix-with-ai.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/global-setup.png b/docs/src/images/getting-started/global-setup.png
new file mode 100644
index 0000000000..34119260ed
Binary files /dev/null and b/docs/src/images/getting-started/global-setup.png differ
diff --git a/docs/src/images/getting-started/global-setup.webp b/docs/src/images/getting-started/global-setup.webp
deleted file mode 100644
index b8bb3d9630..0000000000
Binary files a/docs/src/images/getting-started/global-setup.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/html-report-basic.png b/docs/src/images/getting-started/html-report-basic.png
new file mode 100644
index 0000000000..03d8c5e33a
Binary files /dev/null and b/docs/src/images/getting-started/html-report-basic.png differ
diff --git a/docs/src/images/getting-started/html-report-basic.webp b/docs/src/images/getting-started/html-report-basic.webp
deleted file mode 100644
index 18e5df9288..0000000000
Binary files a/docs/src/images/getting-started/html-report-basic.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/html-report-detail.png b/docs/src/images/getting-started/html-report-detail.png
new file mode 100644
index 0000000000..6e75f25eb2
Binary files /dev/null and b/docs/src/images/getting-started/html-report-detail.png differ
diff --git a/docs/src/images/getting-started/html-report-detail.webp b/docs/src/images/getting-started/html-report-detail.webp
deleted file mode 100644
index acffc4df3d..0000000000
Binary files a/docs/src/images/getting-started/html-report-detail.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/html-report-failed-tests.png b/docs/src/images/getting-started/html-report-failed-tests.png
new file mode 100644
index 0000000000..572854db20
Binary files /dev/null and b/docs/src/images/getting-started/html-report-failed-tests.png differ
diff --git a/docs/src/images/getting-started/html-report-failed-tests.webp b/docs/src/images/getting-started/html-report-failed-tests.webp
deleted file mode 100644
index 360b4b071d..0000000000
Binary files a/docs/src/images/getting-started/html-report-failed-tests.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/html-report-open.png b/docs/src/images/getting-started/html-report-open.png
new file mode 100644
index 0000000000..6e75f25eb2
Binary files /dev/null and b/docs/src/images/getting-started/html-report-open.png differ
diff --git a/docs/src/images/getting-started/html-report-open.webp b/docs/src/images/getting-started/html-report-open.webp
deleted file mode 100644
index acffc4df3d..0000000000
Binary files a/docs/src/images/getting-started/html-report-open.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/html-report-trace.png b/docs/src/images/getting-started/html-report-trace.png
new file mode 100644
index 0000000000..d3a3273ac4
Binary files /dev/null and b/docs/src/images/getting-started/html-report-trace.png differ
diff --git a/docs/src/images/getting-started/html-report-trace.webp b/docs/src/images/getting-started/html-report-trace.webp
deleted file mode 100644
index 01994821f7..0000000000
Binary files a/docs/src/images/getting-started/html-report-trace.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/html-report.png b/docs/src/images/getting-started/html-report.png
new file mode 100644
index 0000000000..e7cac492d9
Binary files /dev/null and b/docs/src/images/getting-started/html-report.png differ
diff --git a/docs/src/images/getting-started/html-report.webp b/docs/src/images/getting-started/html-report.webp
deleted file mode 100644
index 986416fd54..0000000000
Binary files a/docs/src/images/getting-started/html-report.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/install-browsers.png b/docs/src/images/getting-started/install-browsers.png
new file mode 100644
index 0000000000..83395893d0
Binary files /dev/null and b/docs/src/images/getting-started/install-browsers.png differ
diff --git a/docs/src/images/getting-started/install-browsers.webp b/docs/src/images/getting-started/install-browsers.webp
deleted file mode 100644
index 6af4045e8b..0000000000
Binary files a/docs/src/images/getting-started/install-browsers.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/install-playwright.png b/docs/src/images/getting-started/install-playwright.png
new file mode 100644
index 0000000000..68a7b79425
Binary files /dev/null and b/docs/src/images/getting-started/install-playwright.png differ
diff --git a/docs/src/images/getting-started/install-playwright.webp b/docs/src/images/getting-started/install-playwright.webp
deleted file mode 100644
index b6aba78b30..0000000000
Binary files a/docs/src/images/getting-started/install-playwright.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/live-debugging.png b/docs/src/images/getting-started/live-debugging.png
new file mode 100644
index 0000000000..89d8c0a9f9
Binary files /dev/null and b/docs/src/images/getting-started/live-debugging.png differ
diff --git a/docs/src/images/getting-started/live-debugging.webp b/docs/src/images/getting-started/live-debugging.webp
deleted file mode 100644
index 3ece71ade7..0000000000
Binary files a/docs/src/images/getting-started/live-debugging.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/pick-locator-csharp.png b/docs/src/images/getting-started/pick-locator-csharp.png
new file mode 100644
index 0000000000..800f3484f7
Binary files /dev/null and b/docs/src/images/getting-started/pick-locator-csharp.png differ
diff --git a/docs/src/images/getting-started/pick-locator-csharp.webp b/docs/src/images/getting-started/pick-locator-csharp.webp
deleted file mode 100644
index b3c559ed8e..0000000000
Binary files a/docs/src/images/getting-started/pick-locator-csharp.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/pick-locator-java.png b/docs/src/images/getting-started/pick-locator-java.png
new file mode 100644
index 0000000000..13810f7a14
Binary files /dev/null and b/docs/src/images/getting-started/pick-locator-java.png differ
diff --git a/docs/src/images/getting-started/pick-locator-java.webp b/docs/src/images/getting-started/pick-locator-java.webp
deleted file mode 100644
index 11e2b081ee..0000000000
Binary files a/docs/src/images/getting-started/pick-locator-java.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/pick-locator-js.png b/docs/src/images/getting-started/pick-locator-js.png
new file mode 100644
index 0000000000..fbdb652c3b
Binary files /dev/null and b/docs/src/images/getting-started/pick-locator-js.png differ
diff --git a/docs/src/images/getting-started/pick-locator-js.webp b/docs/src/images/getting-started/pick-locator-js.webp
deleted file mode 100644
index 6c7fc9b3af..0000000000
Binary files a/docs/src/images/getting-started/pick-locator-js.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/pick-locator-python.png b/docs/src/images/getting-started/pick-locator-python.png
new file mode 100644
index 0000000000..b99697f5a3
Binary files /dev/null and b/docs/src/images/getting-started/pick-locator-python.png differ
diff --git a/docs/src/images/getting-started/pick-locator-python.webp b/docs/src/images/getting-started/pick-locator-python.webp
deleted file mode 100644
index 8c5e5fc7a1..0000000000
Binary files a/docs/src/images/getting-started/pick-locator-python.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/pick-locator.png b/docs/src/images/getting-started/pick-locator.png
new file mode 100644
index 0000000000..8ac237d42a
Binary files /dev/null and b/docs/src/images/getting-started/pick-locator.png differ
diff --git a/docs/src/images/getting-started/pick-locator.webp b/docs/src/images/getting-started/pick-locator.webp
deleted file mode 100644
index 141d9581c1..0000000000
Binary files a/docs/src/images/getting-started/pick-locator.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/record-at-cursor.png b/docs/src/images/getting-started/record-at-cursor.png
new file mode 100644
index 0000000000..ad9e4c8322
Binary files /dev/null and b/docs/src/images/getting-started/record-at-cursor.png differ
diff --git a/docs/src/images/getting-started/record-at-cursor.webp b/docs/src/images/getting-started/record-at-cursor.webp
deleted file mode 100644
index cba4eb3954..0000000000
Binary files a/docs/src/images/getting-started/record-at-cursor.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/record-new-test.png b/docs/src/images/getting-started/record-new-test.png
new file mode 100644
index 0000000000..d612fde765
Binary files /dev/null and b/docs/src/images/getting-started/record-new-test.png differ
diff --git a/docs/src/images/getting-started/record-new-test.webp b/docs/src/images/getting-started/record-new-test.webp
deleted file mode 100644
index 50608ddcfc..0000000000
Binary files a/docs/src/images/getting-started/record-new-test.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/record-test-csharp.png b/docs/src/images/getting-started/record-test-csharp.png
new file mode 100644
index 0000000000..96946f491a
Binary files /dev/null and b/docs/src/images/getting-started/record-test-csharp.png differ
diff --git a/docs/src/images/getting-started/record-test-csharp.webp b/docs/src/images/getting-started/record-test-csharp.webp
deleted file mode 100644
index f6f9c3038f..0000000000
Binary files a/docs/src/images/getting-started/record-test-csharp.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/record-test-java.png b/docs/src/images/getting-started/record-test-java.png
new file mode 100644
index 0000000000..539ba06e30
Binary files /dev/null and b/docs/src/images/getting-started/record-test-java.png differ
diff --git a/docs/src/images/getting-started/record-test-java.webp b/docs/src/images/getting-started/record-test-java.webp
deleted file mode 100644
index d46abe1a42..0000000000
Binary files a/docs/src/images/getting-started/record-test-java.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/record-test-js.png b/docs/src/images/getting-started/record-test-js.png
new file mode 100644
index 0000000000..e6a3938de9
Binary files /dev/null and b/docs/src/images/getting-started/record-test-js.png differ
diff --git a/docs/src/images/getting-started/record-test-js.webp b/docs/src/images/getting-started/record-test-js.webp
deleted file mode 100644
index 3304a6355d..0000000000
Binary files a/docs/src/images/getting-started/record-test-js.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/record-test-python.png b/docs/src/images/getting-started/record-test-python.png
new file mode 100644
index 0000000000..5ecafe2b7b
Binary files /dev/null and b/docs/src/images/getting-started/record-test-python.png differ
diff --git a/docs/src/images/getting-started/record-test-python.webp b/docs/src/images/getting-started/record-test-python.webp
deleted file mode 100644
index 341cb60da3..0000000000
Binary files a/docs/src/images/getting-started/record-test-python.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/run-all-tests.png b/docs/src/images/getting-started/run-all-tests.png
new file mode 100644
index 0000000000..86c2dd886b
Binary files /dev/null and b/docs/src/images/getting-started/run-all-tests.png differ
diff --git a/docs/src/images/getting-started/run-all-tests.webp b/docs/src/images/getting-started/run-all-tests.webp
deleted file mode 100644
index 0c1a73da38..0000000000
Binary files a/docs/src/images/getting-started/run-all-tests.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/run-single-test.png b/docs/src/images/getting-started/run-single-test.png
new file mode 100644
index 0000000000..b5609c4358
Binary files /dev/null and b/docs/src/images/getting-started/run-single-test.png differ
diff --git a/docs/src/images/getting-started/run-single-test.webp b/docs/src/images/getting-started/run-single-test.webp
deleted file mode 100644
index bccfe6e945..0000000000
Binary files a/docs/src/images/getting-started/run-single-test.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/run-tests-cli.png b/docs/src/images/getting-started/run-tests-cli.png
new file mode 100644
index 0000000000..d3dee686d9
Binary files /dev/null and b/docs/src/images/getting-started/run-tests-cli.png differ
diff --git a/docs/src/images/getting-started/run-tests-cli.webp b/docs/src/images/getting-started/run-tests-cli.webp
deleted file mode 100644
index 7a4232d91e..0000000000
Binary files a/docs/src/images/getting-started/run-tests-cli.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/run-tests-debug.png b/docs/src/images/getting-started/run-tests-debug.png
new file mode 100644
index 0000000000..75d94bee95
Binary files /dev/null and b/docs/src/images/getting-started/run-tests-debug.png differ
diff --git a/docs/src/images/getting-started/run-tests-debug.webp b/docs/src/images/getting-started/run-tests-debug.webp
deleted file mode 100644
index a85fcdddbc..0000000000
Binary files a/docs/src/images/getting-started/run-tests-debug.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/run-tests-pick-locator.png b/docs/src/images/getting-started/run-tests-pick-locator.png
new file mode 100644
index 0000000000..9c9a6dc9d4
Binary files /dev/null and b/docs/src/images/getting-started/run-tests-pick-locator.png differ
diff --git a/docs/src/images/getting-started/run-tests-pick-locator.webp b/docs/src/images/getting-started/run-tests-pick-locator.webp
deleted file mode 100644
index 0970a5ba0e..0000000000
Binary files a/docs/src/images/getting-started/run-tests-pick-locator.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/select-projects.png b/docs/src/images/getting-started/select-projects.png
new file mode 100644
index 0000000000..4a6fd6f168
Binary files /dev/null and b/docs/src/images/getting-started/select-projects.png differ
diff --git a/docs/src/images/getting-started/select-projects.webp b/docs/src/images/getting-started/select-projects.webp
deleted file mode 100644
index 4de9c5e6fe..0000000000
Binary files a/docs/src/images/getting-started/select-projects.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/selecting-configuration.png b/docs/src/images/getting-started/selecting-configuration.png
new file mode 100644
index 0000000000..472a635964
Binary files /dev/null and b/docs/src/images/getting-started/selecting-configuration.png differ
diff --git a/docs/src/images/getting-started/selecting-configuration.webp b/docs/src/images/getting-started/selecting-configuration.webp
deleted file mode 100644
index b051b5a0cc..0000000000
Binary files a/docs/src/images/getting-started/selecting-configuration.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/setup-tests.png b/docs/src/images/getting-started/setup-tests.png
new file mode 100644
index 0000000000..675cc01e29
Binary files /dev/null and b/docs/src/images/getting-started/setup-tests.png differ
diff --git a/docs/src/images/getting-started/setup-tests.webp b/docs/src/images/getting-started/setup-tests.webp
deleted file mode 100644
index 1454057af6..0000000000
Binary files a/docs/src/images/getting-started/setup-tests.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/show-browser.png b/docs/src/images/getting-started/show-browser.png
new file mode 100644
index 0000000000..6dee402680
Binary files /dev/null and b/docs/src/images/getting-started/show-browser.png differ
diff --git a/docs/src/images/getting-started/show-browser.webp b/docs/src/images/getting-started/show-browser.webp
deleted file mode 100644
index af11373998..0000000000
Binary files a/docs/src/images/getting-started/show-browser.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/testing-sidebar.png b/docs/src/images/getting-started/testing-sidebar.png
new file mode 100644
index 0000000000..f817824de3
Binary files /dev/null and b/docs/src/images/getting-started/testing-sidebar.png differ
diff --git a/docs/src/images/getting-started/testing-sidebar.webp b/docs/src/images/getting-started/testing-sidebar.webp
deleted file mode 100644
index 8cca4d1492..0000000000
Binary files a/docs/src/images/getting-started/testing-sidebar.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/trace-viewer-debug.png b/docs/src/images/getting-started/trace-viewer-debug.png
new file mode 100644
index 0000000000..5321f8aa88
Binary files /dev/null and b/docs/src/images/getting-started/trace-viewer-debug.png differ
diff --git a/docs/src/images/getting-started/trace-viewer-debug.webp b/docs/src/images/getting-started/trace-viewer-debug.webp
deleted file mode 100644
index 95c613d33c..0000000000
Binary files a/docs/src/images/getting-started/trace-viewer-debug.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/trace-viewer-failed-test.png b/docs/src/images/getting-started/trace-viewer-failed-test.png
new file mode 100644
index 0000000000..6c130b1f2b
Binary files /dev/null and b/docs/src/images/getting-started/trace-viewer-failed-test.png differ
diff --git a/docs/src/images/getting-started/trace-viewer-failed-test.webp b/docs/src/images/getting-started/trace-viewer-failed-test.webp
deleted file mode 100644
index f078dd2f7a..0000000000
Binary files a/docs/src/images/getting-started/trace-viewer-failed-test.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/trace-viewer.png b/docs/src/images/getting-started/trace-viewer.png
new file mode 100644
index 0000000000..8781423c9c
Binary files /dev/null and b/docs/src/images/getting-started/trace-viewer.png differ
diff --git a/docs/src/images/getting-started/trace-viewer.webp b/docs/src/images/getting-started/trace-viewer.webp
deleted file mode 100644
index 6ea574d9fb..0000000000
Binary files a/docs/src/images/getting-started/trace-viewer.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/ui-mode-error.png b/docs/src/images/getting-started/ui-mode-error.png
new file mode 100644
index 0000000000..fa293f8794
Binary files /dev/null and b/docs/src/images/getting-started/ui-mode-error.png differ
diff --git a/docs/src/images/getting-started/ui-mode-error.webp b/docs/src/images/getting-started/ui-mode-error.webp
deleted file mode 100644
index 5b6b2dfec4..0000000000
Binary files a/docs/src/images/getting-started/ui-mode-error.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/ui-mode-pick-locator.png b/docs/src/images/getting-started/ui-mode-pick-locator.png
new file mode 100644
index 0000000000..2a4df09bcb
Binary files /dev/null and b/docs/src/images/getting-started/ui-mode-pick-locator.png differ
diff --git a/docs/src/images/getting-started/ui-mode-pick-locator.webp b/docs/src/images/getting-started/ui-mode-pick-locator.webp
deleted file mode 100644
index 4fcf369343..0000000000
Binary files a/docs/src/images/getting-started/ui-mode-pick-locator.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/ui-mode.png b/docs/src/images/getting-started/ui-mode.png
new file mode 100644
index 0000000000..f9e83dbe72
Binary files /dev/null and b/docs/src/images/getting-started/ui-mode.png differ
diff --git a/docs/src/images/getting-started/ui-mode.webp b/docs/src/images/getting-started/ui-mode.webp
deleted file mode 100644
index 21a1793299..0000000000
Binary files a/docs/src/images/getting-started/ui-mode.webp and /dev/null differ
diff --git a/docs/src/images/getting-started/vscode-extension.png b/docs/src/images/getting-started/vscode-extension.png
new file mode 100644
index 0000000000..106fb690e8
Binary files /dev/null and b/docs/src/images/getting-started/vscode-extension.png differ
diff --git a/docs/src/images/getting-started/vscode-extension.webp b/docs/src/images/getting-started/vscode-extension.webp
deleted file mode 100644
index 2e2a5c66f3..0000000000
Binary files a/docs/src/images/getting-started/vscode-extension.webp and /dev/null differ
diff --git a/docs/src/images/vscode-projects-section.png b/docs/src/images/vscode-projects-section.png
new file mode 100644
index 0000000000..cffe4ec181
Binary files /dev/null and b/docs/src/images/vscode-projects-section.png differ
diff --git a/docs/src/intro-js.md b/docs/src/intro-js.md
index b424822983..a9bce9752a 100644
--- a/docs/src/intro-js.md
+++ b/docs/src/intro-js.md
@@ -126,7 +126,7 @@ pnpm exec playwright test
</Tabs>
-![tests running in command line](./images/getting-started/run-tests-cli.webp)
+![tests running in command line](./images/getting-started/run-tests-cli.png)
Tips:
- See the browser window: add `--headed`.
@@ -175,7 +175,7 @@ pnpm exec playwright show-report
</Tabs>
-![HTML Report](./images/getting-started/html-report-basic.webp)
+![HTML Report](./images/getting-started/html-report-basic.png)
## Running the Example Test in UI Mode
@@ -217,7 +217,7 @@ pnpm exec playwright test --ui
</Tabs>
-![UI Mode](./images/getting-started/ui-mode.webp)
+![UI Mode](./images/getting-started/ui-mode.png)
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.md
index 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 tests
npx playwright test
```
-![tests running in command line](./images/getting-started/run-tests-cli.webp)
+![tests running in command line](./images/getting-started/run-tests-cli.png)
### Run tests in UI mode
@@ -31,7 +31,7 @@ We highly recommend running your tests with [UI Mode](./test-ui-mode.md) for a b
npx playwright test --ui
```
-![UI Mode](./images/getting-started/ui-mode.webp)
+![UI Mode](./images/getting-started/ui-mode.png)
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-failed
Tests 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.
-![install playwright extension](./images/getting-started/vscode-extension.webp)
+![install playwright extension](./images/getting-started/vscode-extension.png)
## Debugging tests
@@ -110,11 +110,11 @@ We highly recommend debugging your tests with [UI Mode](./test-ui-mode.md) for a
npx playwright test --ui
```
-![showing errors in ui mode](./images/getting-started/ui-mode-error.webp)
+![showing errors in ui mode](./images/getting-started/ui-mode-error.png)
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.
-![pick locator in ui mode](./images/getting-started/ui-mode-pick-locator.webp)
+![pick locator in ui mode](./images/getting-started/ui-mode-pick-locator.png)
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` fl
npx playwright test --debug
```
-![Debugging Tests with the Playwright inspector](./images/getting-started/run-tests-debug.webp)
+![Debugging Tests with the Playwright inspector](./images/getting-started/run-tests-debug.png)
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 --debug
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 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.
-![Locator picker in the Playwright Inspector](./images/getting-started/run-tests-pick-locator.webp)
+![Locator picker in the Playwright Inspector](./images/getting-started/run-tests-pick-locator.png)
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 o
npx playwright show-report
```
-![HTML Report](./images/getting-started/html-report.webp)
+![HTML Report](./images/getting-started/html-report.png)
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.
-![HTML Reporter detail view](./images/getting-started/html-report-detail.webp)
+![HTML Reporter detail view](./images/getting-started/html-report-detail.png)
## What's next
diff --git a/docs/src/trace-viewer-intro-js.md b/docs/src/trace-viewer-intro-js.md
index 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-report
In the HTML report, click on the trace icon next to the test file name to directly open the trace for the required test.
-![playwright html report](./images/getting-started/html-report-failed-tests.webp)
+![playwright html report](./images/getting-started/html-report-failed-tests.png)
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.
-![playwright html report detailed view](./images/getting-started/html-report-trace.webp)
+![playwright html report detailed view](./images/getting-started/html-report-trace.png)
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 includi
View 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.
-![playwright trace viewer](./images/getting-started/trace-viewer-failed-test.webp)
+![playwright trace viewer](./images/getting-started/trace-viewer-failed-test.png)
To learn more about traces, check out our detailed guide on [Trace Viewer](/trace-viewer.md).