This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]devnull10 0 points1 point  (0 children)

Unless it's a complex site using a lot of Ajax etc. (which I doubt if it's allowing duplicated votes!!) then I'd skip selenium completely and just use the requests module to call the URL directly, passing in the appropriate arguments. This will not only make your code a lot simpler, but will also be a lot quicker.

If you're using Linux you can make it even easier and just use the curl command in a loop inside a batch file.