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
'Use gui to go to https://www.producthunt.com/, search the top products for "AI", from the results, identify the top-listed product (the top 3 result). Collect the following information from that product\'s card: 1. Product name 2. Short description 3. Number of upvotes summarize it and report to me.',
36
+
'Use gui action, go to https://sample-files.com/documents/pdf/, find the 65KB pdf file, preview it, scroll the file from top to bottom.',
return`navigate(url='xxx') # Navigate to the given url.`;
67
+
case'navigate_back':
68
+
return`navigate_back() # Navigate back to the previous page.`;
69
+
case'drag':
70
+
return`drag(start_point='<point>x1 y1</point>', end_point='<point>x2 y2</point>') # Swipe/Drag to show more information or select elements. The direction of the page movement is opposite to the finger's movement`;
71
+
case'hotkey':
72
+
return`hotkey(key='ctrl c') # Split keys with a space and use lowercase. Also, do not use more than 3 keys in one hotkey action.`;
73
+
case'type':
74
+
return`type(content='xxx') # Use escape characters \\', \\", and \\n in content part to ensure we can parse the content in normal python string format. If you want to submit your input, use \\n at the end of content. `;
75
+
case'scroll':
76
+
return`scroll(point='<point>x1 y1</point>', direction='down or up or right or left') # Show more information on the \`direction\` side.`;
77
+
case'long_press':
78
+
return`long_press(point='<point>x1 y1</point>')`;
79
+
case'press_back':
80
+
return`press_back() # Press the back button. 如果你想切换应用不需要press_back,直接open_app。`;
81
+
case'press_home':
82
+
return`press_home() # Press the home button. 如果你想切换应用不需要press_home,直接open_app。`;
83
+
case'open_app':
84
+
return`open_app(app_name='xxx') # Open the app with the given name. You can only use the apps in the app_list.`;
85
+
case'wait':
86
+
return`wait() #Sleep for 5s and take a screenshot to check for any changes.`;
87
+
case'finished':
88
+
return`finished(content='xxx') # Use escape characters \\', \\", and \\n in content part to ensure we can parse the content in normal python string format.`;
0 commit comments