Please open this website- https://mobikwik.com/
There is a form for Mobile with 2nd item as Select Operator.
I want to select - "Idea" from this drop down using selenium webdriver.
Please help.
Also, after selecting idea, i get a new drop down for select circle. Need to select Mumbai for it.
My attempt:
driver.find_element_by_css_selector("li > span.ng-binding").click()
driver.find_element_by_xpath("//label[3]/i").click()
driver.find_element_by_css_selector("font > label > i").click()
driver.find_element_by_xpath("//section[@id='mainunit']/div/div[2]/div/div[2]/div/div/div/form/div[4]/p/dl/dd/ul/li[9]/span").click()
driver.find_element_by_xpath("//font/label[2]/i").click()
driver.find_element_by_xpath("//li[@class='ng-scope'][9]").click().driver.find_element_by_xpath("//span[@class='ng-binding']").click()To make the options visible, and the click the option:driver.find_element_by_xpath("//li[@class='ng-scope'][9]").click()driver.find_element_by_xpath("//span[@class='ng-binding' and text()='Idea'][1]").click(). Let me know if any of them work.selenium.common.exceptions.ElementNotVisibleException: Message: Element is not currently visible and so may not be interacted withLooks like first you have to unfold the options and afterwards select it.ng-bindingspan). Anyways, upvoted your answer.