From 732ee1502c4015ab1e7431c09c3b5b8735af3f80 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 9 Aug 2023 15:43:02 +0200 Subject: [PATCH] docs(python): add note about pytest-playwright on Anaconda (#26372) Fixes https://github.com/microsoft/playwright-pytest/issues/127 --- docs/src/intro-python.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/src/intro-python.md b/docs/src/intro-python.md index bc3d06f8e8..8a07ab3a12 100644 --- a/docs/src/intro-python.md +++ b/docs/src/intro-python.md @@ -9,12 +9,36 @@ Playwright recommends using the official [Playwright Pytest plugin](./test-runne Get started by installing Playwright and running the example test to see it in action. + + + Install the [Pytest plugin](https://pypi.org/project/pytest-playwright/): ```bash pip install pytest-playwright ``` + + + +Install the [Pytest plugin](https://anaconda.org/Microsoft/pytest-playwright): + +```bash +conda config --add channels conda-forge +conda config --add channels microsoft +conda install playwright +``` + + + + Install the required browsers: ```bash