Hound.Helpers.Navigation

Provides 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

refresh_page()

Refreshes the current page

Functions

current_url()

Specs:

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:

Navigates to a url.


navigate_to("http://example.com")


refresh_page()

Specs:

  • refresh_page :: :ok

Refreshes the current page.