Skip to content

tapAndHoldAt (Native/Hybrid Apps - Manipulation)

Compatible with:
  • Purpose
  • This command is used to perform the tap and hold operation on the specified element and coordinates.
  • Syntax
  • tapAndHoldAt(locator, x,y,timeoutInMilliSeconds)
  • Target
  • locator - An element locator pointing to an element OR an element itself.
  • x,y,timeoutInMilliSeconds x coordinate, y coordinate - Specifies the position (i.e. - 10,20) of the element returned by the locator
  • timeoutInMilliSeconds - Specifies how much time to hold.
  • Value
  • N/A
  • Return Value
  • N/A
 

Feedback and Knowledge Base