[Mobile] Tap on Image
Note:
Katalon Studio Enterprise license.
The
tapOnImagekeyword is not supported in headless browser mode.
Description
Simulate toggling airplane mode on mobile devices. Support iOS real devices and Android emulators.
Keyword name: Mobile.tapOnImage
Parameters
| Param | Param 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
true if the image presents. Otherwise, false.
Example
Mobile.tapOnImage("/Users/myaccount/Desktop/image.png")