Sample source code for book "Using Node.js for UI testing"