I'm looking for a way to loop through URL's based on a list of values in Python Selenium.
I have a list like:
1000
1200
1250
A website is structured like: https://example.com/1000/events. I'd be able to reach this by: driver.get(https://example.com/1000/events) However, I'd ideally define the list above, and then trace the URL based on the list values. Ideally, make the script go from https://example.com/1000/events, and after that script is done, go to https://example.com/1200/events etc.
Anyone that is able to help me with this? Thanks in advance