Skip to main content

MiniWoB++ benchmark for BrowserGym

Project description

Miniwob benchmark for BrowserGym

This package provides browsergym.miniwob, which is an unofficial port of the MiniWoB++ benchmark for BrowserGym.

Setup

  1. Install the package
pip install browsergym-miniwob
  1. Clone miniwob (use a specific frozen commit for reproducibility)
git clone git@github.com:Farama-Foundation/miniwob-plusplus.git
git -C "./miniwob-plusplus" reset --hard 7fd85d71a4b60325c6585396ec4f48377d049838
  1. Setup Miniwob URL (change PATH_TO_MINIWOB_CLONED_REPO here to the absolute path to your miniwob-plusplus folder)
export MINIWOB_URL="file://<PATH_TO_MINIWOB_CLONED_REPO>/miniwob/html/miniwob/"

Alternatively, one can setup a simple HTTP server and use a proper URL.

Usage

import gymnasium as gym
import browsergym.miniwob  # register gym environments

env = gym.make("browsergym/miniwob.choose-list")

List of all the available MiniWoB++ environments

env_ids = [id for id in gym.envs.registry.keys() if id.startswith("browsergym/miniwob")]
print("\n".join(env_ids))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

browsergym_miniwob-0.0.1a7.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

browsergym_miniwob-0.0.1a7-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file browsergym_miniwob-0.0.1a7.tar.gz.

File metadata

  • Download URL: browsergym_miniwob-0.0.1a7.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for browsergym_miniwob-0.0.1a7.tar.gz
Algorithm Hash digest
SHA256 4ff638d5328187074a4c0ea9f049c3409347d9aa58c097aa47cab1d3441f78fd
MD5 309f6edbe2d481c78f0ea2371d20db8a
BLAKE2b-256 51b59738f00c7838e86dc2c25eec4bfe2e054b300bdf4b02f06162e1278e68f7

See more details on using hashes here.

File details

Details for the file browsergym_miniwob-0.0.1a7-py3-none-any.whl.

File metadata

File hashes

Hashes for browsergym_miniwob-0.0.1a7-py3-none-any.whl
Algorithm Hash digest
SHA256 8a54220270392b608f77b2f2b414a252fb6608ceacca18a691a8866941c2143a
MD5 8f4fccff1caf2172d0cbee533239fbab
BLAKE2b-256 1b787964cc4158a8c2804af49158abddf5380cc8c6340b63c0170d8bda2349a8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page