{"id":21013,"library":"browsergym-miniwob","title":"BrowserGym MiniWoB","description":"MiniWoB++ benchmark environment for BrowserGym that provides web interaction tasks for training and evaluating reinforcement learning agents. Version 0.14.3 supports Python >3.7 and integrates with gymnasium. Maintained as part of the BrowserGym ecosystem.","status":"active","version":"0.14.3","language":"python","source_language":"en","source_url":"https://github.com/ServiceNow/BrowserGym","tags":["browsergym","miniwob","reinforcement-learning","web-navigation","benchmark"],"install":[{"cmd":"pip install browsergym-miniwob","lang":"bash","label":"Default install"}],"dependencies":[{"reason":"Core BrowserGym imports needed for environment registration and task interface.","package":"browsergym-core","optional":false},{"reason":"OpenAI Gym interface for RL environments.","package":"gymnasium","optional":false},{"reason":"Browser automation backend.","package":"playwright","optional":false}],"imports":[{"note":"Package uses dot notation, not underscore. 'browsergym.miniwob' is correct.","wrong":"from browsergym_miniwob import MiniWoBEnv","symbol":"MiniWoBEnv","correct":"from browsergym.miniwob import MiniWoBEnv"},{"note":"task_list is directly under browsergym.miniwob, not in a submodule.","wrong":"from browsergym.miniwob.tasks import task_list","symbol":"task_list","correct":"from browsergym.miniwob import task_list"}],"quickstart":{"code":"import gymnasium as gym\nimport browsergym.miniwob  # noqa F401\n\nenv = gym.make('browsergym/miniwob.click-test-2-v1')\nobs, info = env.reset()\nprint(obs.keys())","lang":"python","description":"Import the package to register MiniWoB tasks with gymnasium, then create an environment and reset it."},"warnings":[{"fix":"Use prefix 'browsergym/miniwob.' in gym.make().","message":"In version 0.14.x, the environment ID format changed from 'miniwob.click-test-2-v1' to 'browsergym/miniwob.click-test-2-v1'. Old IDs will raise an error.","severity":"breaking","affected_versions":">=0.14.0"},{"fix":"Upgrade to Python 3.8 or higher.","message":"Support for Python 3.7 is deprecated in version 0.14.x and will be removed in a future release.","severity":"deprecated","affected_versions":">=0.14.0"},{"fix":"Install playwright and run 'playwright install'.","message":"The environment must be started with Playwright browser. If not installed, calling env.reset() raises a RuntimeError.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Install browsergym-core: pip install browsergym-core","cause":"Missing browsergym-core package.","error":"ModuleNotFoundError: No module named 'browsergym'"},{"fix":"Use gym.make('browsergym/miniwob.click-test-2-v1') instead.","cause":"Using old environment ID without 'browsergym/' prefix.","error":"gym.error.UnregisteredEnvironment: minigob.click-test-2-v1"},{"fix":"Run 'playwright install' after pip install playwright.","cause":"Playwright browser binaries not installed.","error":"RuntimeError: Browser closed. Please make sure Playwright is installed."}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}