Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 474 Bytes

simple-browser-automation.md

File metadata and controls

23 lines (16 loc) · 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