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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for browsergym_miniwob-0.0.1a6-py3-none-any.whl
Algorithm Hash digest
SHA256 8414c9c3041ed3dc15b2b07439a9282f369319b0179ab90e7d0bbe17db1f86c7
MD5 010e724382f034ed8e4eefe2771633e9
BLAKE2b-256 b3a13c7a986ec444ffc2be08349683f4a5d531738f2121e5d62b2107b3d48d1c

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