How to mouseover a WebElement using Selenium RC2 in Firefox
Using Selenium's Firefox WebDriver 2.20, I need to display a tooltip that appears when the mouse hovers over a link on my web page. I've tried using Selenium's Action class to do this, but I get a ClassCastException: $Proxy7 incompatible with org.openqa.selenium.internal.Locatable. Here is what I've tried so far: Actions builder = new Actions(driver); WebElement link = driver.findElement(By.tagName("a")); builder.moveToElement(link).build().perform(); The ClassCastException happens in the moveToElement() method, when the WebElement that I passed to the function is cast to a Locatable object.