Software engineer, data guy, Open Source enthusiast, New Hampshire resident, husband, father. Fan of guitars, hiking, photography, homebrewing, sarcasm.
Authenticate via Selenium/PhantomJS and pass cookies to Net::HTTP for subsequent requests
In this code snippet, I’ll share some code that allows you to authenticate to a website using Selenium/PhantomJS, and then pass the generated cookies to Net::HTTP for subsequent requests, for example to download a file.