I have a text file that generates bunch of urls in text file every hour and the number of urls links varies each time. I want to feed those urls to a python/selenium script one at a time check if those urls can be logged in. This is a testcase that I am creating using python/selenium as part of automated webapp login testcase. . I get the selenium/python part of the script working for single url.
driver.get("https://www.example.com")
print(driver.title)
print(driver.current_url)
userName = driver.find_element_by_name("name")
userName.send_keys("someguy")
How would i feed driver.get() one by one from a text file that has all the Urls.