trying to do this on Instagram. there is code before it like importing the libraries and chrome driver path and logging in..so below is the loop that is failing...what's your suggestion? it works when I put in a list of exact URLs..so there is definitely something wrong in the loop
users=['instagramuser1','instagramuser2','instagramuser3']
user=-1
for user in users:
user+=1
webdriver.get('https://www.instagram.com/'+str(users)+'/')
sleep(5)
webdriver.find_element_by_css_selector('the_amazing_css_path').click()