from selenium.webdriver.common.action_chains import ActionChainsactions = ActionChains(driver)
# Hover to reveal menu:
menu = driver.find_element(By.ID, "nav-menu")
actions.move_to_element(menu).perform()
# Drag and drop:
source = driver.find_element(By.ID, "draggable")
target = driver.find_element(By.ID, "droppable")
actions.drag_and_drop(source, target).perform()