Skip to main content

[Mobile] Tap on Image

Note:
  • Katalon Studio Enterprise license.

  • The tapOnImage keyword 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

ParamParam TypeRequiredDescription
imageFilePathStringYesAbsolute path of the image
flowControlFailureHandlingOptionalSpecify 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")