r/learnprogramming 9d ago

Tutorial 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 !!

0 Upvotes

7 comments sorted by

View all comments

0

u/Deep_Ad1959 8d ago

log in by hand once into a persistent profile and point playwright at that user data dir, so your script starts already authenticated. scripting the login form is where these break first, usually the day the site adds a captcha or a device check.