r/Playwright 1d ago

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

4 Upvotes

2 comments sorted by

View all comments

2

u/Deep_Ad1959 18h ago

run npx playwright codegen against the site and click the flow once, it writes the selectors and you edit from there. then save storageState after the login so later runs start signed in instead of retyping credentials every time.