File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,8 @@ func Click(
298298 position : String = " center" ,
299299 includeInvisible : Bool = false ,
300300 waitForLoadComplete : Bool = false ,
301- waitTime : Int = 0
301+ waitTime : Int = 0 ,
302+ withVision : Bool = false
302303 )
303304```
304305
@@ -341,6 +342,8 @@ If true, waits for page to finish loading after the click.
341342### waitTime
342343Integer number of seconds to wait after click.
343344
345+ ### withVision
346+ Enable vision-language model to pinpoint and click target based on description of the target object. Screenshot permission is required.
344347
345348## Return Value
346349
@@ -367,6 +370,10 @@ Click(at: "Styles.zip", clickType: "doubleClick")
367370``` swift
368371Click (at : " slider" , spatialRelation : " closest,right" , anchorConcept : " pointer size" )
369372```
373+ - Instruction: click "slider" closest to and on the right of "pointer size"
374+ ``` swift
375+ Click (at : " the closest slider on the right of pointer size" , withVision : true )
376+ ```
370377
371378
372379
You can’t perform that action at this time.
0 commit comments