Skip to content

Commit c0de93c

Browse files
kumaraditya303mxschmitt
authored andcommitted
docs(conda): added docs for usage with conda (microsoft#678)
1 parent 72863cb commit c0de93c

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 🎭 [Playwright](https://playwright.dev) for Python [![PyPI version](https://badge.fury.io/py/playwright.svg)](https://pypi.python.org/pypi/playwright/) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://aka.ms/playwright-slack)
1+
# 🎭 [Playwright](https://playwright.dev) for Python [![PyPI version](https://badge.fury.io/py/playwright.svg)](https://pypi.python.org/pypi/playwright/) [![Anaconda version](https://img.shields.io/conda/v/microsoft/playwright)](https://anaconda.org/Microsoft/playwright) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://aka.ms/playwright-slack)
22

33
#### [Docs](https://playwright.dev/python/docs/intro) | [API](https://playwright.dev/python/docs/api/class-playwright)
44

@@ -24,7 +24,9 @@ Headless execution is supported for all browsers on all platforms.
2424
- [Intercept network requests](#intercept-network-requests)
2525
- [Documentation](#documentation)
2626

27-
## Usage
27+
## Usage - pip
28+
29+
[![PyPI version](https://badge.fury.io/py/playwright.svg)](https://pypi.python.org/pypi/playwright/)
2830

2931
```sh
3032
pip install playwright
@@ -33,6 +35,19 @@ playwright install
3335

3436
This installs Playwright and browser binaries for Chromium, Firefox and WebKit. Playwright requires Python 3.7+.
3537

38+
## Usage - conda
39+
40+
[![Anaconda version](https://img.shields.io/conda/v/microsoft/playwright)](https://anaconda.org/Microsoft/playwright)
41+
42+
```sh
43+
conda config --add channels conda-forge
44+
conda config --add channels microsoft
45+
conda install playwright
46+
playwright install
47+
```
48+
49+
This installs Playwright and browser binaries for Chromium, Firefox and WebKit with the conda package manager. Playwright requires a conda environment with Python 3.7+.
50+
3651
#### Record and generate code
3752

3853
Playwright can record user interactions in a browser and generate code. [See demo](https://user-images.githubusercontent.com/284612/95930164-ad52fb80-0d7a-11eb-852d-04bfd19de800.gif).

0 commit comments

Comments
 (0)