June 2017

by

Reading Time: < 1 minute If 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 minutes Version 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

by

Reading Time: 5 minutes Sometimes you may run into a challenging situation: You want some JavaScript to execute, but only if some other element has changed. At work, we’ve recently run into a situation with this kind of challenge. We’re using a library on videos, but how can we make sure that our JavaScript only runs after the video