Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

dropdown menu with selenium python

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()
Source by www.toolsqa.com #
 
PREVIOUS NEXT
Tagged: #dropdown #menu #selenium #python
ADD COMMENT
Topic
Name
3+7 =