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 uv and Poetry installation instructions (#41231)
Aleksei Torsukov2453651168c8
diff --git a/docs/src/intro-python.md b/docs/src/intro-python.mdindex dc4c7b9885..190c4517d0 100644--- a/docs/src/intro-python.md+++ b/docs/src/intro-python.md@@ -23,10 +23,42 @@ Get started by installing Playwright and running the example test to see it in aInstall the [Pytest plugin](https://pypi.org/project/pytest-playwright/):+<Tabs+ groupId="package-managers"+ defaultValue="pip"+ values={[+ {label: 'Pip', value: 'pip'},+ {label: 'Poetry', value: 'poetry'},+ {label: 'uv', value: 'uv'}+ ]+}>++<TabItem value="pip">+```bashpip install pytest-playwright```+</TabItem>++<TabItem value="poetry">++```bash+poetry add pytest-playwright+```++</TabItem>++<TabItem value="uv">++```bash+uv add pytest-playwright+```++</TabItem>++</Tabs>+Install the required browsers:```bash@@ -69,10 +101,38 @@ pytestTo update Playwright to the latest version run the following command:+<Tabs+ groupId="package-managers"+ defaultValue="pip"+ values={[+ {label: 'pip', value: 'pip'},+ {label: 'Poetry', value: 'poetry'},+ {label: 'uv', value: 'uv'}+ ]+}>+<TabItem value="pip">+```bashpip install pytest-playwright playwright -U```+</TabItem>+<TabItem value="poetry">++```bash+poetry update pytest-playwright playwright+```++</TabItem>+<TabItem value="uv">++```bash+uv add --upgrade pytest-playwright playwright+```++</TabItem>+</Tabs>+## System requirements- Python 3.8 or higher.diff --git a/docs/src/library-python.md b/docs/src/library-python.mdindex bd78b01576..9dcf0cba99 100644--- a/docs/src/library-python.md+++ b/docs/src/library-python.md@@ -7,12 +7,48 @@ title: "Getting started - Library"[<img src="https://badge.fury.io/py/playwright.svg" alt="PyPI version" width="132" height="20" />](https://pypi.python.org/pypi/playwright/)+<Tabs+ groupId="package-managers"+ defaultValue="pip"+ values={[+ {label: 'Pip', value: 'pip'},+ {label: 'Poetry', value: 'poetry'},+ {label: 'uv', value: 'uv'}+ ]+}>++<TabItem value="pip">+```bashpip install --upgrade pippip install playwrightplaywright install```+</TabItem>++<TabItem value="poetry">++```bash+poetry self update+poetry add playwright+playwright install+```++</TabItem>++<TabItem value="uv">++```bash+uv self update+uv add playwright+playwright install+```++</TabItem>++</Tabs>+These commands download the Playwright package and install browser binaries for Chromium, Firefox and WebKit. To modify this behavior see [installation parameters](./browsers.md#install-browsers).## Usage