10

Created a simple bot for an online game using puppeteer.

After an evening (and night) of dev and debugging (quite some rejected promise errors), it worked fine and was ready for a 10-minutely cron job.

Fixed a couple bugs in the first three hours. Then started playing minecraft, which lagged like hell.

Opened task manager and saw a list of about 25 headless chrome processes. They had not been closed because of unhandled errors before the close method call 😵

Now added some basic error handling ☺

Comments
  • 1
    Puppeteer is the best thing since sliced bread tho
  • 0
    @NGPixel so true. It works like a charm!

    At my side job, I once had to work with phantomjs. That was so much more code for the same result!
Add Comment