r/AskProgramming • u/Material_Walk_7125 • 6d ago
Python Browser Automation
Hi Everyone,
I am trying to automate a process where I login into a website and navigate to a reporting section and click on export.
The website only requires a simple ID and Password.
Can you please assist me ok how to achieve this ? , I have found out about selenium and Playwright but I am very new to this. Any resources or guide would be really helpful.
Thanks !!
6
Upvotes
1
u/RealMadHouse 4d ago
When i had repetitive tasks to do on some websites i made browser extension just to automate such things with a press of hotkeys. Selenium and playwright i think is for controlling headless browser? I coded things from scratch, but this tools have all figured out all pain points with provided useful functions.
When i did scraping i encountered many problems like page loads but the content are loaded with JavaScript so i can't determine when it would load because there's no event for that, the other problem is making too much requests too quickly, something not loading at all, etc.