Setup#

Follow the instructions below to setup the Python interface.

Install the MiniWoB++ Library#

Inside the repository directory, run

pip install .

If this gives you problems, try again and add pip’s --ignore-installed flag.

Install Chrome/Chromium and ChromeDriver#

We strongly recommend using Chrome or Chromium as the web browser, as other browsers may render the environments differently.

The MiniWoB++ Python interface uses Selenium, which interacts with the browser via the WebDriver API. If you use Google Chrome as the web browser, follow one of the instruction methods to install ChromeDriver. The simplest method is to download ChromeDriver with the matching version, unzip it, and then add the directory containing the chromedriver executable to the PATH environment variable:

export PATH=$PATH:/path/to/chromedriver

For Chromium, the driver may also be available in a software package; for example, in Debian/Ubuntu:

sudo apt install chromium-driver