←back to thread

18 points pcdoodle | 3 comments | | HN request time: 0.457s | source

Been spending a lot of time just buying and printing labels through an e-commerce platform and it got me wondering: is there anything to run on a local PC that could automate this?
1. nicbou ◴[] No.45417350[source]
Playwright is a great tool for this. There is a helper for writing automations. It's commonly used for automated testing but it's good for controlling a browser with Python scripts in general.
replies(2): >>45418483 #>>45418767 #
2. darkvertex ◴[] No.45418483[source]
Playwright is great. Take a look at Stagehand, it's an AI layer built on top of Playwright: https://www.stagehand.dev (It can run locally.)
3. busymom0 ◴[] No.45418767[source]
If one owns a Mac and knows swift or objective c, they can just use WKWebView with user scripts too.