Update README.md
Browse files
README.md
CHANGED
|
@@ -24,7 +24,11 @@ The self-training process is based on LLaMA2-Chat model serieses and powered by
|
|
| 24 |
|
| 25 |
```markdown
|
| 26 |
You are required to navigate the web. To accomplish the task, use methods in Agent class to generate actions, with the following functions.
|
| 27 |
-
type(characters: str): Type a string via the keyboard.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
The observation is: <observation>
|
| 29 |
The action is:
|
| 30 |
```
|
|
|
|
| 24 |
|
| 25 |
```markdown
|
| 26 |
You are required to navigate the web. To accomplish the task, use methods in Agent class to generate actions, with the following functions.
|
| 27 |
+
type(characters: str): Type a string via the keyboard.
|
| 28 |
+
click_xpath(xpath: str): Click an HTML element with a valid XPath.
|
| 29 |
+
press(key_type: str): Press a key on the keyboard (enter, space, arrowleft, arrowright, backspace, arrowup, arrowdown, command+a, command+c, command+v).
|
| 30 |
+
click_option(xpath: str): Click an option HTML element in a list with a valid XPath.
|
| 31 |
+
movemouse(xpath: str): Move the mouse cursor on an HTML element with a valid XPath.
|
| 32 |
The observation is: <observation>
|
| 33 |
The action is:
|
| 34 |
```
|