I wanted to select and click one of the options as shown in this image.
https://i.sstatic.net/SWxAQ.jpg
from selenium import webdriver driver = webdriver.Chrome("C:/Users/bunai/PycharmProjects/chromedriver.exe") driver.get("https://www.tppcrpg.net/login.php") # identify username, password and signin elements driver.find_element_by_name("LoginID").send_keys("3480199") driver.find_element_by_name("NewPass").send_keys("12") driver.find_element_by_class_name("submit").click() time.sleep(1.0) driver.get("https://www.tppcrpg.net/configure_roster.php") time.sleep(0.1) driver.find_element_by_xpath("/html/body/div[@id='body']/div[@id='inner']/form/ul[@id='configure']/li[1]/p[2]/input[@id='tMoves_102787072_1']").click() time.sleep(0.1) driver.find_element_by_xpath("/html/body/div[@id='cBox']/p[@class='center'][1]/select[@id='MoveA']").click()
I only mange to click the option but i was not able to go down and select other option. Any idea which code should be used there? Thanks