I have rows of links contained in a dataframe.
df = pd.DataFrame()
I need to iterate over the rows of links in the dataframe one at a time so I can perform selenium tasks on each link separately. It should iterate over these rows in a loop until there are no more rows in the dataframe.
links
0 http://linkone
0 http://linktwo
0 http://linkthree
My logic is as follows
Loop
Get http://linkone in first row of dataframe
Use selenium to perform tasks, such as driver.get(http://linkone)
Gather data from HTML from http://linkone
Continue loop and get row 2, row 3, etc.