I am working on selenium and python. I am unable to select the radio button. I want to add the values in a list. and iterate and click on the specific radio button.
def test_search_in_python_org(self):
driver = self.driver
driver.get("https://www.makemytrip.com")
driver.find_element_by_xpath("//a[normalize-space()='ROUND TRIP']").click()
error
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//a[normalize-space()='ROUND TRIP']"}