Skip to content

Install SeleniumBase

Installation

If installing SeleniumBase directly from PyPI, (the Python Package Index), use

pip install seleniumbase

If installing SeleniumBase from a Git clone, use

git clone https://github.com/seleniumbase/SeleniumBase.git
cd SeleniumBase/
pip install .

For a development mode install in editable mode, use

git clone https://github.com/seleniumbase/SeleniumBase.git
cd SeleniumBase/
pip install -e .

If installing SeleniumBase from a GitHub branch, use

pip install git+https://github.com/seleniumbase/SeleniumBase.git@master#egg=seleniumbase

Useful pip options include

  • Add --upgrade OR -U to upgrade an installation.
  • Add --force-reinstall for a clean install.

(If you're not using a virtual environment, you may need to add --user to your pip command if you're seeing errors during installation.)