Simple browser automation example #723
Answered
by
mhanberg
bhougland18
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Mix.install([:wallaby])
Application.ensure_all_started(:wallaby)
defmodule Example do
use Wallaby.DSL
def run do
{:ok, session} = Wallaby.start_session()
session
|> visit("http://akash.im")
|> page_title()
|> IO.inspect()
Wallaby.end_session(session)
end
end
Example.run() |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mhanberg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can Wallaby be used as a tool for simple browser automation similar to the following?
https://github.com/HashNuke/hound/blob/master/notes/simple-browser-automation.md
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions