Visit All URLs with selenium python

Deborah Swanson python at deborahswanson.net
Thu Apr 13 02:45:53 EDT 2017


Nicole wrote, on Wednesday, April 12, 2017 11:05 PM
> 
> Hi Deborah,
>    I checked again selecting css there found 11 URLS and I 
> printed it is printing all urls but it visits the first url not all..

I'm just guessing again, but 

	time.sleep(4)

could be too long a time to sleep, especially if you're on a fast
network and you don't have many browser windows open before you run your
code. It might be opening the first url and printing all the others and
exiting the for loop  before time.sleep(4) expires.



More information about the Python-list mailing list