Skip to content

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

docs: how to update playwright in python (#27527)

Debbie O'Brien2776d8446bc8
diff --git a/docs/src/intro-python.md b/docs/src/intro-python.md
index c4e4f778fe..ec3377a956 100644
--- a/docs/src/intro-python.md
+++ b/docs/src/intro-python.md
@@ -85,6 +85,14 @@ By default tests will be run on chromium. This can be configured via the [CLI op
pytest
```
+## Updating Playwright
+
+To update Playwright to the latest version run the following command:
+
+```bash
+pip install pytest-playwright playwright -U
+```
+
## System requirements
- Python 3.8 or higher.