You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(<i>Above: [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py)from [examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples) running in Demo Mode, which adds JavaScript for highlighting page actions.</i>)<br />
9
9
```bash
10
-
cd examples/
11
10
pytest my_first_test.py --demo
12
11
```
13
12
13
+
SeleniumBase uses [pytest](https://github.com/pytest-dev/pytest) for running Python scripts, while using [Selenium WebDriver](https://www.seleniumhq.org/) for controlling web browsers.
14
+
14
15
###  Get Started with SeleniumBase
You'll need **[Python](https://www.python.org/downloads/)** on your System PATH. [<imgsrc="https://img.shields.io/pypi/pyversions/seleniumbase.svg?logo=python&logoColor=lightblue"alt="Python versions"alt="Python versions" />](https://www.python.org/downloads/)
With Python installed and on your System PATH, you can get the latest ``pip`` with:
33
35
```bash
34
36
python -m easy_install -U pip
35
37
```
36
38
37
-
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo_3a.png"title="SeleniumBase"height="32"> Setup a Virtual Environment: (Optional)
38
-
To isolate**``python``**dependencies between projects, use a Virtual Environment. See the **[ReadMe](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/virtualenv_instructions.md)** for instructions. (<i>You can also read the official tutorial on virtual environments from **[python.org](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/)**</i>)
39
+
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo_3a.png"title="SeleniumBase"height="32"> Setup a Python Virtual Env:
40
+
It is**recommended**to use a **Python Virtual Environment** to isolate Python dependencies between projects. Instructions on creating one can be found **[here](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/virtualenv_instructions.md)**. (<i>Learn more about virtual environments on the **[official site](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/)**.</i>)
0 commit comments