diff --git a/index.md b/index.md index 882aa2c..638ab4c 100644 --- a/index.md +++ b/index.md @@ -298,7 +298,8 @@ func Click( position: String = "center", includeInvisible: Bool = false, waitForLoadComplete: Bool = false, - waitTime: Int = 0 + waitTime: Int = 0, + withVision: Bool = false ) ``` @@ -341,6 +342,8 @@ If true, waits for page to finish loading after the click. ### waitTime Integer number of seconds to wait after click. +### withVision +Enable vision-language model to pinpoint and click target based on description of the target object. Screenshot permission is required. ## Return Value @@ -367,6 +370,10 @@ Click(at: "Styles.zip", clickType: "doubleClick") ```swift Click(at: "slider", spatialRelation: "closest,right", anchorConcept: "pointer size") ``` +- Instruction: click "slider" closest to and on the right of "pointer size" +```swift +Click(at: "the closest slider on the right of pointer size", withVision: true) +```