Update the docs

This commit is contained in:
Michael Mintz 2020-08-02 19:53:29 -04:00
parent 0c515b8a0b
commit c14c69916a
4 changed files with 15 additions and 11 deletions

View File

@ -64,10 +64,8 @@ python -m pip install -U pip
```bash
git clone https://github.com/seleniumbase/SeleniumBase.git
cd SeleniumBase/
pip install -r requirements.txt
python setup.py install
pip install .
```
If multiple versions of Python are installed, be specific (E.g. use ``python3`` instead of ``python``).
* You can also install ``seleniumbase`` from [pypi](https://pypi.python.org/pypi/seleniumbase).
```bash

View File

@ -10,14 +10,14 @@ SeleniumBase Chart Maker allows you to create HTML charts with Python. (HighChar
([Click to see a presentation with multiple charts](https://seleniumbase.io/other/chart_presentation.html))
Here's how to run the example presentation with a pie chart from [github.com/seleniumbase/SeleniumBase/tree/master/examples/chart_maker](https://github.com/seleniumbase/SeleniumBase/tree/master/examples/chart_maker):
Here's how to run the example presentation with a pie chart from [GitHub => seleniumbase/SeleniumBase/examples/chart_maker](https://github.com/seleniumbase/SeleniumBase/tree/master/examples/chart_maker):
```bash
cd examples/chart_maker
pytest my_chart.py
```
Here's the code for that pie chart presentation ([github.com/seleniumbase/SeleniumBase/blob/master/examples/chart_maker/my_chart.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/chart_maker/my_chart.py)):
Here's the code for that pie chart presentation ([GitHub => seleniumbase/SeleniumBase/examples/chart_maker/my_chart.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/chart_maker/my_chart.py)):
```python
from seleniumbase import BaseCase

View File

@ -2,17 +2,23 @@
## <img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="30" /> Installation
If installing SeleniumBase directly [from PyPI (the Python Package Index)](https://pypi.python.org/pypi/seleniumbase), use:
```bash
pip install seleniumbase
```
If installing SeleniumBase from a Git clone, use:
```bash
git clone https://github.com/seleniumbase/SeleniumBase.git
cd SeleniumBase/
pip install -r requirements.txt
python setup.py install
pip install .
```
If installing SeleniumBase directly [from PyPI (the Python Package Index)](https://pypi.python.org/pypi/seleniumbase), use:
For a development mode install in editable mode, use:
```bash
pip install seleniumbase
git clone https://github.com/seleniumbase/SeleniumBase.git
cd SeleniumBase/
pip install -e .
```
If installing SeleniumBase [from a GitHub branch](https://github.com/seleniumbase/SeleniumBase), use:

View File

@ -360,10 +360,10 @@ self.add_meta_tag(http_equiv=None, content=None)
############
self.create_presentation(name=None, theme="default")
self.create_presentation(name=None, theme="default", transition="default")
self.add_slide(content=None, image=None, code=None, iframe=None,
content2=None, notes=None, name=None)
content2=None, notes=None, transition=None, name=None)
self.save_presentation(name=None, filename=None, show_notes=False, interval=0)