roypenso5/my-automation-project ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple JavaScript web automation project that acts like a basic end to end test bot. I want it to open a chosen website in a headless browser, wait for the page to fully load, confirm the page title or a visible bit of content is what we expect, and then save a full page screenshot.
Please set it up so I can run the test locally with one command, and also have it run automatically in GitHub Actions every time code is pushed to the main branch. The main point is to show a clean CI and CD style workflow where the test runs in the cloud without me doing anything manually.
Keep it straightforward and easy to change later, especially the target URL and the expected title or text. If it makes sense, include a basic test file and the workflow file so the project works right away. You can look up current docs online if you need to.
Have a live product UI? Try website reverse