Skip to content

Tag: selenium

Python and Selenium download 0 KB excel files

I have already been to this link with same question, but I cannot find an answer to it: Although my question is the same as the other question, I posted a new one with my code as well. The code successfully downloads the file but the file is 0 KB. both on the website and on my local; however, the

How to click all of the same text span by using selenium?

I try the code but only first element been clicked so I edit like this but won’t work website is http://211.21.63.217:81/ticket_online.aspx How to click all of the span text is 08/28 ? Answer See, when you did this : you must have got web element is not iterabel error. that is due to you are using find_…

Selenium Instagram Bot – Clicking the “Like” Button

I have written a program to go on the Instagram explore page, and like the first six photos. Right now, I am using this rather convoluted method to find the “Like” button. I would much rather have it formatted like I did the “click the login button” section. So far, I have tried inspec…

Python selenium wait until button clickable

I have a python selenium code that upload a local video and click the button, the button can be clicked when video successfully uploaded so I try with EC.element_to_be_clickable and EC.visibility_of_element_located and when the button is clickable print a simple message, but always I got the message before vi…