You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-8Lines changed: 23 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,20 +4,20 @@ This package provides `browsergym`, a gym environment for web task automation in
4
4
5
5
## Setup
6
6
7
-
1. Install the package
7
+
To install browsergym, you can either install one of the `browsergym-miniwob`, `browsergym-webarena` and `browsergym-workarena` packages, or you can simply install `browsergym` which includes all of these by default.
8
8
```sh
9
9
pip install browsergym
10
10
```
11
11
12
-
2. Install playwright browsers
12
+
Then, a required step is to setup playwright by running
13
13
```sh
14
14
playwright install
15
15
```
16
16
17
-
3. For each benchmark, specific setup instructions must be followed
17
+
Finally, each benchmark comes with its its own specific setup that requires to follow additional steps.
18
18
- for miniwob, see [miniwob/README.md](miniwob/README.md)
19
19
- for webarena, see [webarena/README.md](webarena/README.md)
20
-
- for workarena, see the [WorkArena](https://github.com/ServiceNow/WorkArena/README.md) repository
20
+
- for workarena, see the [WorkArena README](https://github.com/ServiceNow/WorkArena/README.md)
21
21
22
22
4. (optional) if you want to run the UI assistant to create demos
23
23
@@ -33,10 +33,10 @@ playwright install
33
33
34
34
### Open-ended task example
35
35
36
-
Boilerplate code to run an agent on the openended task:
36
+
Boilerplate code to run an agent on an interactive, openended task:
37
37
```python
38
38
import gymnasium as gym
39
-
import browsergym.core # register openended taskj as a gym environment
39
+
import browsergym.core # register the openended task as a gym environment
0 commit comments