I am using python 2.7. When you try to hover over a menu item, selenium does not move the mouse into the item sequentially in Chrome. Therefore, when you click on a submenu, it ends by clicking on something else. However, the same code throws an exception in the Firefox driver.
I read several posts about SO, which indicates that selenium is sometimes bizarre. But I canβt understand that I am doing something wrong.
Here is the code:
from selenium import webdriver from time import sleep from selenium.webdriver.common.action_chains import ActionChains driver = webdriver.Chrome()
user3262242
source share