Created
August 3, 2012 12:28
-
-
Save gr4y/3247122 to your computer and use it in GitHub Desktop.
Handling mouseover with Selenium. How it doesn't work!
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
// this doesn't work | |
final Locatable hoverItem = (Locatable) element; | |
final Mouse mouse = ((HasInputDevices) driver).getMouse(); | |
mouse.mouseMove(hoverItem.getCoordinates()); | |
// this doesn't work too | |
Actions builder = new Actions(driver); | |
builder.moveToElement(element).build().perform(); | |
// executing javascript doesn't work either. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment