Skip to content

🏄 Install SeleniumBase

SeleniumBase Installation

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

pip install seleniumbase

To upgrade an existing seleniumbase install from PyPI:

pip install -U 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 .

To upgrade an existing seleniumbase install from GitHub:

git pull  # To pull the latest version
pip install -e .  # Or "pip install ."

If installing seleniumbase from a GitHub branch, use:

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

pip install can be customized:

  • (Add --upgrade OR -U to upgrade SeleniumBase.)
  • (Add --force-reinstall to upgrade indirect libraries.)
  • (Use pip3 if multiple versions of Python are present.)

(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.)