Skip to content

Commit bee2207

Browse files
committed
Update snapshots
1 parent 273540a commit bee2207

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/core/prompts/__tests__/__snapshots__/system.test.ts.snap

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2714,6 +2714,9 @@ Parameters:
27142714
* launch: Launch a new Puppeteer-controlled browser instance at the specified URL. This **must always be the first action**.
27152715
- Use with the \`url\` parameter to provide the URL.
27162716
- Ensure the URL is valid and includes the appropriate protocol (e.g. http://localhost:3000/page, file:///path/to/file.html, etc.)
2717+
* hover: Move the cursor to a specific x,y coordinate.
2718+
- Use with the \`coordinate\` parameter to specify the location.
2719+
- Always move to the center of an element (icon, button, link, etc.) based on coordinates derived from a screenshot.
27172720
* click: Click at a specific x,y coordinate.
27182721
- Use with the \`coordinate\` parameter to specify the location.
27192722
- Always click in the center of an element (icon, button, link, etc.) based on coordinates derived from a screenshot.
@@ -2725,7 +2728,7 @@ Parameters:
27252728
- Example: \`<action>close</action>\`
27262729
- url: (optional) Use this for providing the URL for the \`launch\` action.
27272730
* Example: <url>https://example.com</url>
2728-
- coordinate: (optional) The X and Y coordinates for the \`click\` action. Coordinates should be within the **900x600** resolution.
2731+
- coordinate: (optional) The X and Y coordinates for the \`click\` and \`hover\` actions. Coordinates should be within the **900x600** resolution.
27292732
* Example: <coordinate>450,300</coordinate>
27302733
- text: (optional) Use this for providing the text for the \`type\` action.
27312734
* Example: <text>Hello, world!</text>
@@ -3625,6 +3628,9 @@ Parameters:
36253628
* launch: Launch a new Puppeteer-controlled browser instance at the specified URL. This **must always be the first action**.
36263629
- Use with the \`url\` parameter to provide the URL.
36273630
- Ensure the URL is valid and includes the appropriate protocol (e.g. http://localhost:3000/page, file:///path/to/file.html, etc.)
3631+
* hover: Move the cursor to a specific x,y coordinate.
3632+
- Use with the \`coordinate\` parameter to specify the location.
3633+
- Always move to the center of an element (icon, button, link, etc.) based on coordinates derived from a screenshot.
36283634
* click: Click at a specific x,y coordinate.
36293635
- Use with the \`coordinate\` parameter to specify the location.
36303636
- Always click in the center of an element (icon, button, link, etc.) based on coordinates derived from a screenshot.
@@ -3636,7 +3642,7 @@ Parameters:
36363642
- Example: \`<action>close</action>\`
36373643
- url: (optional) Use this for providing the URL for the \`launch\` action.
36383644
* Example: <url>https://example.com</url>
3639-
- coordinate: (optional) The X and Y coordinates for the \`click\` action. Coordinates should be within the **1280x800** resolution.
3645+
- coordinate: (optional) The X and Y coordinates for the \`click\` and \`hover\` actions. Coordinates should be within the **1280x800** resolution.
36403646
* Example: <coordinate>450,300</coordinate>
36413647
- text: (optional) Use this for providing the text for the \`type\` action.
36423648
* Example: <text>Hello, world!</text>

0 commit comments

Comments
 (0)