[Mobile] Find Image Elements
Important:
Katalon Studio Enterprise license.
Description
Find all mobile elements that are recognized by the given image.
Keyword name: Mobile.findImageElements
Parameters
Parameter | Parameter Type | Required | Description |
---|---|---|---|
imageFilePath | String | Yes | Absolute path of the image |
flowControl | FailureHandling | Optional | Specify failure handling schema to determine whether the execution should be allowed to continue or stop. |
Returns
A list of Web elements that are recognized by the given image.
Example
List<WebElement> elements = Mobile.findImageElements("/Users/myaccount/Desktop/image.png")
println "Number of elements found: " + elements.size()