code from doing tutorials in the book; "Using Node.js for UI Testing"