May 31st, 2013, 06:58 AM
Join Date: May 2013
Time spent in forums: 12 m 31 sec
Reputation Power: 0
Mouse over and mouse action in python
I need a help..
How to perform mouse over/mouse click action in selenium webdriver. My coding language is Python
The following is the mouse over action code I have written,its not working with that.
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
firefox = webdriver.Firefox()
element_to_hover_over = firefox.find_element_by_link_text("Profile") #This is the Profile tab,on which hover action has to happen
hover = ActionChains(firefox).move_to_element(element_to_hover_over)