docs(python): add note about pytest-playwright on Anaconda (#26372)
Fixes https://github.com/microsoft/playwright-pytest/issues/127
This commit is contained in:
parent
a61431f6bb
commit
732ee1502c
|
|
@ -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.
|
||||
|
||||
<Tabs
|
||||
groupId="package-managers"
|
||||
defaultValue="pypi"
|
||||
values={[
|
||||
{label: 'PyPI', value: 'pypi'},
|
||||
{label: 'Anaconda', value: 'anaconda'}
|
||||
]
|
||||
}>
|
||||
<TabItem value="pypi">
|
||||
|
||||
Install the [Pytest plugin](https://pypi.org/project/pytest-playwright/):
|
||||
|
||||
```bash
|
||||
pip install pytest-playwright
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="anaconda">
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
Install the required browsers:
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Reference in a new issue