Permalink
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (16 sloc) 474 Bytes

Make sure to configure Hound first, or you will get an error.

Simple browser automation using Hound

Application.start :hound

defmodule Example do
  use Hound.Helpers

  def run do
    Hound.start_session

    navigate_to "http://akash.im"
    IO.inspect page_title()

    # Automatically invoked if the session owner process crashes
    Hound.end_session
  end
end

Example.run