Skip to content

tapAndHold (Native/Hybrid Apps - Manipulation)

Compatible with:
  • Purpose
  • This command is used to perform the tap and hold operation on the specified element.
  • Syntax
  • tapAndHold(locator, timeoutInMilliSeconds)
  • Target
  • locator - An element locator pointing to an element OR an element itself.
  • timeoutInMilliSeconds - Specifies how much time to hold.
  • Value
  • N/A
  • Return Value
  • N/A
 

Feedback and Knowledge Base