Example usage for Java org.openqa.selenium.interactions.touch TouchActions fields, constructors, methods, implement or subclass
The text is from its open source code.
Action | build() Generates a composite action containing all actions so far, ready to be performed (and resets the internal builder state, so subsequent calls to #build() will contain fresh sequences). |
TouchActions | down(int x, int y) Allows the execution of the gesture 'down' on the screen. |
TouchActions | flick(WebElement onElement, int xOffset, int yOffset, int speed) Allows the execution of flick gestures starting in a location's element. |
TouchActions | move(int x, int y) Allows the execution of the gesture 'move' on the screen. |
void | perform() A convenience method for performing the actions without calling build() first. |
TouchActions | singleTap(WebElement onElement) Allows the execution of single tap on the screen, analogous to click using a Mouse. |
TouchActions | up(int x, int y) Allows the execution of the gesture 'up' on the screen. |