Selenium With Python, PyCharm IDE, Login and select Drop Down and Open the link in the drop Down Menu. Click See More for Code :
Code Starts Hear - - - - - - - - - - - - - - - - )
from selenium import webdriver
from selenium.webdriver import ActionChains
import time
driver = webdriver.Chrome(executable_path="C:/Program Files (x86)/Google/Chrome/Application/chromedriver.exe")
driver.get("https://opensource-demo.orangehrmlive...")
driver.maximize_window()
time.sleep(2)
driver.find_element_by_xpath("//*[@id='txtUsername']").send_keys("Admin")
time.sleep(2)
driver.find_element_by_xpath("//*[@id='txtPassword']").send_keys("admin123")
time.sleep(2)
driver.find_element_by_xpath("//*[@id='btnLogin']").click()
time.sleep(2)
admin = driver.find_element_by_xpath("//*[@id='menu_admin_viewAdminModule']/b")
usermgnt = driver.find_element_by_xpath("//*[@id='menu_admin_UserManagement']")
users = driver.find_element_by_xpath("//*[@id='menu_admin_viewSystemUsers']")
actions = ActionChains(driver)
actions.move_to_element(admin) .move_to_element(usermgnt).move_to_element(users).click().perform()