schickling/chromeless ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Chrome automation tool that I can use from Node to control a real browser like a script.

I want to be able to open pages, click elements, type into fields, wait for things to load, scroll, take screenshots, and maybe save PDFs. It should work both on my computer with normal Chrome and in a headless setup on AWS Lambda, with the same kind of API in both cases.

Please make it easy to use in a few lines of code, something like create an instance, go to a URL, do a few actions, then end the session. If you need to check current docs for Chrome headless or Lambda setup, go ahead and look them up.

Also include a few example scripts so I can see how to use it for simple testing, scraping, and screenshot capture.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab