back() navigates to the previously opened URL, or the previously opened
page in your browsing history.
forward() reverses the action of back(), going to the next page in your
browsing history.
Arguments
- timeout
The maximum time to wait for the page to load, in seconds. This defaults to 60, unless in a Github Action, in which case it defaults to 5 minutes.
- session
A
selenider_sessionobject. If not specified, the global session object (the result ofget_session()) is used.
See also
Other global actions:
current_url(),
execute_js_fn(),
get_page_source(),
open_url(),
reload(),
scroll_to(),
take_screenshot()
Examples
session <- selenider_session()
open_url("https://r-project.org")
open_url("https://www.tidyverse.org/")
back()
forward()