public TouchActions longPress ( WebElement onElement ) { if ( touchScreen != null ) { action . addAction ( new LongPressAction ( touchScreen , ( Locatable ) onElement ) ) ; } return this ; }
Allows the execution of long press gestures .