hound
hound copied to clipboard
Using Firefox Profile
Hello,
I'm attempting to use a custom Firefox Profile (to specify proxy settings), and having trouble understanding how I should implement this. I'm using the default selenium-server, here's my config.exs:
config :hound, browser: "firefox",
http: [ recv_timeout: 20_000]
Should I be using make_capabilities
in the browser module?
Should I be building a Firefox Browser in Hound.Browser.Firefox.Profile? If I'm reading this correctly, I can use dump to create a b64 encoded string that needs to be passed to Selenium.
In either case, do I then pass a result to Hound.start_session? I am using Hound to crawl sites, rather than for testing, so I call Hound.start_session explicitly.
Thank you very much for the library, I use it all the time.