Skip to main content

[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

ParameterParameter TypeRequiredDescription
imageFilePathStringYesAbsolute path of the image
flowControlFailureHandlingOptionalSpecify 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()
Was this page helpful?