Created
February 26, 2021 15:47
-
-
Save ultimate-qa2/aa048a579321d8e18472d49c708134d5 to your computer and use it in GitHub Desktop.
Advanced mouse and keyboard actions examples in Selenium WebDriver Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// hover | |
action.moveToElement(element).build().perform(); | |
// drag and drop | |
action.dragAndDrop(element, element2).build().perform(); | |
// click-pause-release | |
action.clickAndHold(element).pause(100).release().build().perform); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment