File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,8 @@ func Click(
298
298
position : String = " center" ,
299
299
includeInvisible : Bool = false ,
300
300
waitForLoadComplete : Bool = false ,
301
- waitTime : Int = 0
301
+ waitTime : Int = 0 ,
302
+ withVision : Bool = false
302
303
)
303
304
```
304
305
@@ -341,6 +342,8 @@ If true, waits for page to finish loading after the click.
341
342
### waitTime
342
343
Integer number of seconds to wait after click.
343
344
345
+ ### withVision
346
+ Enable vision-language model to pinpoint and click target based on description of the target object. Screenshot permission is required.
344
347
345
348
## Return Value
346
349
@@ -367,6 +370,10 @@ Click(at: "Styles.zip", clickType: "doubleClick")
367
370
``` swift
368
371
Click (at : " slider" , spatialRelation : " closest,right" , anchorConcept : " pointer size" )
369
372
```
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
+ ```
370
377
371
378
372
379
You can’t perform that action at this time.
0 commit comments