Promises

by

Reading Time: 2 minutesSometimes I get stuck with a problem that I don’t really like: When I can’t execute my little bit of code until another bit of code executes, and there’s no events coming from that other code to tell me that it’s⠀run. When I find myself in the situation where I need something off of an

by

Reading Time: < 1 minuteIf you haven’t heard, headless Chrome is now A Thing™. A few days ago I wrote a post on how to use Headless Chrome to grab some screenshots from the command line, using a dab o’node and a healthy dose of Promises. Well, after a little more fiddling with it, I’ve got a version 2.0

by

Reading Time: 4 minutesVersion 59 of Chrome introduced something really cool for Mac developers: a Headless Chrome. It means that now we can run Chrome without using Chrome. How cool is that? In the past we’ve relied on phantom.js or Selenium Webdriver for browser automation and testing. But now, the Chrome team has provided us the ability to