action=ActionChains(driver) action.move_to_element(driver.find_element_by_xpath('/html/body/header/header/div[3]/ul/li[2]/a')) action.perform() driver.find_element_by_xpath('/html/body/header/header/div[3]/ul/li[2]/ul/li[1]/a').click()