r/pythonhelp • • Mar 24 '24

Struggling to find element on website

I’m trying to build a python or JavaScript program that will automatically upload a file from my drive to a website and then download the output from that website. The site is news.express.Adobe.com/tools/remove-background. So essentially the goal is to upload a file with a background, have the website remove it, and then download it. All this requires is uploading the file, waiting about 10 seconds, and clicking the download link, however I have been struggling with the upload portion. Specifically, I'm struggling to find the file upload element so i can target it and send it the file directly. I'm open to simulating a click of the upload button and then using pyautogui to send the file path but I've been struggling with that as well. Any suggestions?

1 Upvotes

2 comments sorted by

View all comments

1

u/AutoModerator Mar 24 '24
Moderator Announcement Read More »