A chrome extension to record your actions into a nightmare script.When you activate Daydream, it will begin monitoring your activity (clicks, typing, screenshots, url changes, etc). When you're finished, it will generate a nightmare script with your activity automatically populated, allowing you to easily automate common browser tasks.
Here's a link to Daydream's code: https://github.com/segmentio/daydream
Note: Remember to press tab after typing in input elements