w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How do i make Selenium pull out the sidebar menu tree
from selenium.webdriver.common.action_chains import ActionChains

def hover_over_item(self):
    driver = webdriver_connection.connection
    element = driver.find_element_by_id(locator)
    hover = ActionChains(driver).move_to_element(element)
    hover.perform()

Reference





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.