I want to create a simple scraper in https://github.com/keathley/wallaby
Where does the function “visit” come from? In the examples it’s called without a module as it were imported or used. But it’s not imported from anywhere.
{:ok, user1} = Wallaby.start_session
{:ok, %Wallaby.Session{driver: Wallaby.Phantom..............}}
And:
Wallaby.visit(user1, "http://example.com")
** (UndefinedFunctionError) function Wallaby.visit/2 is undefined or private
Or just:
iex(79)> visit(user1, "http://example.com")
** (CompileError) iex:79: undefined function visit/2