Browsergym

Latest version: v0.13.3

Safety actively analyzes 715032 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 10

0.9.0

New features

* Benchmarks with default config (tasks x seeds) and metadata 173 191
python
from browsergym.experiments import BENCHMARKS, Benchmark

make a custom benchmark
benchmark = Benchmark(
name="miniwob_click_test",
high_level_action_set_args=HighLevelActionSetArgs(
subsets=["bid"],
multiaction=False,
strict=False,
retry_with_force=False,
demo_mode="off",
),
env_args_list=[
EnvArgs(
task_name="miniwob.click-test",
task_seed=42,
max_steps=5,
)
],
)

use a pre-existing benchmark
miniwob = BENCHMARKS["miniwob_all"]()

use only a task subset
miniwob_original = miniwob.subset_from_glob(
column="miniwob_category", glob="original"
)

* New playwright key modifier "ControlOrMeta" 187
* Global demo_mode flag 177
python
import browsergym.core.action

browsergym.core.action.set_global_demo_mode(True) boolean


Fixes

* Multi-tab actions fix 188

**Full Changelog**: https://github.com/ServiceNow/BrowserGym/compare/v0.8.1...v0.9.0

0.8.1

Fixes

**browsergym-core**
- fixed a bug with set-of-marks line drawing 184 185

0.8.0

**browsergym-core**

- Breaking changes
- goal refactor 110
`obs["goal_object"]` now replaces the old `obs["goal_image_urls"]`
`obs["goal"]` is now deprecated
the new `goal_object` now contains a list of openai-style messages, which can include an arbitrary mix of text and / or images.

**browsergym-visualwebarena**

- Breaking changes
- goal refactor 110, the goal is now a list of openai-style messages with goal images as base64 `image_url` messages.

- Fixes
- goal images are now self-hosted as part of the homepage 171 165

**browsergym-experiments**

- Improvements
- leaner trace files 169

**other**

- the `legacy` demo agent has been removed
- the `basic` demo agent has been leaned out and upgraded to support the new `goal_object` format 110
- other minor changes 166 164

0.7.1

**browsergym-core**

- Depencency bump
- playwright dependency bumped from `playwright>=1.32,<1.40` to `playwright>=1.39,==1.*` (fixes problems with `1.32.1`) 159

**browsergym-experiments**

- Bugfixes
- 155 introduced a bug when agents returns `action==None`. This was fixed by 163

0.7.0

**browsergym-experiments**

- Breaking change
- save package versions to a separate file `package_versions.txt` instead of the logs 152

- Bugfixes
- minor fixes 154 155

0.6.4

**browsergym-core**

- Bugfix
- fixed bug in `Frame has been detached` catching 153

Page 3 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.