IDK if this will be useful to you because it has been so long.But to anyone who needs it here is the full tutorial,įrom _chains import ActionChainsįrom import Optionsįrom import Keys Since it's not an html input does that mean it is JSON? How do I figure out how the data (image) is being sent to the next page ( )? I think what's stopping me from solving this is that I don't understand how the data is being sent and received. Is there a way to 'open' (upload) a file through a file selector gui using python?īetter, can I bypass opening the file selector at all? Here's the span the post button lives in: I read some other posts about using autoit and that working, but I'm on a Mac. The trouble, I think, with this method is there is not input field to send the string to. Post_btn.send_keys(r'/Path/To/image.jpg') Once I click the create new post button the gui file selector opens and I cannot figure out how to interact with it to select the file. Using Python I have automated everything up to the part where I need to select the file. My goal is to create a script to automate posting an image to an account. I'm using Selenium (chrome webdriver) to access the mobile version of Instagram from the desktop. I've been trying to solve this for a while now.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |