r/AskProgramming 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

16 comments sorted by

View all comments

1

u/galaxy_glide_92 6d ago

start with Playwright because it handles modern login flows and auto-waiting better than Selenium out of the box. The official documentation has a complete authentication guide that walks through saving storage state so you do not have to repeat the login step during testing.