Experiments with Behat (Part 1: Mink+Sahi+PhantomJS)

May 30th · posted in Behat, PHP, Sahi · 1 Comment

PhantomJS is a great new headless WebKit browser with javascript and network proxy support. Sounds like just the ingredients to work well with Behat and Sahi, right? You're damned right! Read on to find out how to set it up, and also a nice little extra at the end: How to leverage Behat to save screenshots of failed steps from PhantomJS too!{...}