Hound.Helpers.Navigation
Navigation functions
Summary↑
current_url() | Gets url of the current page |
navigate_back() | Navigates back in browser history |
navigate_forward() | Navigates forward in browser history |
navigate_to(url) | Navigates to a url or relative path |
refresh_page() | Refreshes the current page |
Functions
Specs:
- current_url :: String.t
Gets url of the current page.
Specs:
- navigate_back :: :ok
Navigates back in browser history.
Specs:
- navigate_forward :: :ok
Navigates forward in browser history.
Specs:
- navigate_to(String.t) :: :ok
Navigates to a url or relative path.
navigate_to("http://example.com/page1")
navigate_to("/page1")
Specs:
- refresh_page :: :ok
Refreshes the current page.