Reputation: 709
I am using Selenium webdriver to automate my web application.I have to handle mouse over event in my web application.So how to handle these.For clearafication screenshot is attached.
Acyually i have to select that particular by moving the mouse from left to right.Plz help me.
Regards, Abhishek
Upvotes: 0
Views: 3344
Reputation: 8386
You need to use the Actions API.
It will look something like this:
Actions actions = new Actions(driver);
actions.moveToElement(driver.findElement(By.someSelector()))
actions.otherActions();
actions.perform();
http://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/interactions/Actions.html
Upvotes: 3