Skip to content

Commit

Permalink
docs: latest
Browse files Browse the repository at this point in the history
  • Loading branch information
lyie28 committed Sep 23, 2024
1 parent 356bf70 commit f943c7f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/docs/learn/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ Here is a list of the current possible actions an agent can perform and the argu

| Name | Arguments | Description | Engine |
|-------------------|--------------------------------------------|------------------------------------------------------------------------------------------------------------------|--------------------|
| click | xpath: string | Click on an element with a specific xpath. | NavigationEngine |
| setValue | xpath: string, value: string | Focus on and set the value of an input element with a specific xpath. | NavigationEngine |
| dropdownSelect | xpath: string, value: string | Select an option from a dropdown menu by its value. | NavigationEngine |
| setValueAndEnter | xpath: string, value: string | Sets a value and presses ENTER. Used to submit forms without a submit button. | NavigationEngine |
| hover | xpath: string | Moves the mouse cursor over an element identified by the xpath, useful for revealing dropdown menus. | NavigationEngine |
| scroll | xpath: string, value: string (UP/DOWN) | Scrolls the container holding the element identified by the xpath, either up or down. | NavigationEngine |
| SCROLL_DOWN | none | Scrolls the browser window down. | NavigationControl |
| SCROLL_UP | none | Scrolls the browser window up. | NavigationControl |
| WAIT | none | Pauses the operation for a set duration (e.g., 5 seconds). | NavigationControl |
| BACK | none | Navigates back to the previous page. | NavigationControl |
| MAXIMIZE_WINDOW | none | Maximizes the browser window. | NavigationControl |
| SWITCH_TAB | tab_id: number | Switches to a specific browser tab based on the tab_id provided. | NavigationControl |
| click | xpath | Click on an element with a specific xpath. | NavigationEngine |
| setValue | xpath, value | Focus on and set the value of an input element with a specific xpath. | NavigationEngine |
| dropdownSelect | xpath, value | Select an option from a dropdown menu by its value. | NavigationEngine |
| setValueAndEnter | xpath, value | Sets a value and presses ENTER. Used to submit forms without a submit button. | NavigationEngine |
| hover | xpath | Moves the mouse cursor over an element identified by the xpath, useful for revealing dropdown menus. | NavigationEngine |
| scroll | xpath, value (UP/DOWN) | Scrolls the container holding the element identified by the xpath, either up or down. | NavigationEngine |
| SCROLL_DOWN | | Scrolls the browser window down. | NavigationControl |
| SCROLL_UP | | Scrolls the browser window up. | NavigationControl |
| WAIT | | Pauses the operation for a set duration (e.g., 5 seconds). | NavigationControl |
| BACK | | Navigates back to the previous page. | NavigationControl |
| MAXIMIZE_WINDOW | | Maximizes the browser window. | NavigationControl |
| SWITCH_TAB | tab_id | Switches to a specific browser tab based on the tab_id provided. | NavigationControl |

0 comments on commit f943c7f

Please sign in to comment.