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)