Simple tutorial about emulating headless web-browser in ruby on OS X