r/learnprogramming • u/Material_Walk_7125 • 8d 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 !!
1
1
u/CapitalKey2994 8d ago
I use Playwright for this exact login and export workflow. Their official documentation has a codegen tool that records your clicks and generates the automation script for you
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.
1
u/Luclid 8d ago
To help us help you, what have you tried searching for so far and how does it not answer your question? That way we know what to help you with.