public TouchActions singleTap ( WebElement onElement ) { if ( touchScreen != null ) { action . addAction ( new SingleTapAction ( touchScreen , ( Locatable ) onElement ) ) ; } tick ( touchPointer . createPointerDown ( 0 ) ) ; tick ( touchPointer . createPointerUp ( 0 ) ) ; return this ; }
Allows the execution of single tap on the screen analogous to click using a Mouse .