For this recipe we also need to have the driver for Firefox in the directory (it's named geckodriver). This file is operating system specific. I've included the file for Mac in the folder. To get other versions, visit https://github.com/mozilla/geckodriver/releases.
Still, when running this sample you may get the following error:
FileNotFoundError: [Errno 2] No such file or directory: 'geckodriver'
If you do, put the geckodriver file somewhere on your systems PATH, or add the 01 folder to your path. Oh, and you will need to have Firefox installed.
Finally, it is required to have PhantomJS installed. You can download and find installation instructions at: http://phantomjs.org/