erplibre/script/selenium/install.base.md

30 lines
756 B
Markdown
Raw Permalink Normal View History

<!---------------------------->
<!-- multilingual suffix: en, fr -->
<!-- no suffix: en -->
<!---------------------------->
<!-- [en] -->
# Selenium Installation
<!-- [fr] -->
# Installation de Selenium
<!-- [common] -->
```bash
wget https://github.com/mozilla/geckodriver/releases/download/v0.34.0/geckodriver-v0.34.0-linux64.tar.gz
tar xvf geckodriver-v0.34.0-linux64.tar.gz
sudo mv ./.venv.erplibre/geckodriver /usr/bin/geckdriver
pip install selenium
sudo apt install libcairo2-dev python3-dev pkg-config libxt-dev libgirepository1.0-dev
pip install pycairo PyGObject
```
<!-- [en] -->
Video recorder: https://github.com/szemate/pyselenium-video-recorder
<!-- [fr] -->
Enregistreur vidéo : https://github.com/szemate/pyselenium-video-recorder