back {selenider}R Documentation

Move back or forward in browsing history

Description

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.

Usage

back(timeout = 60, session = NULL)

forward(timeout = 60, session = NULL)

Arguments

timeout

The maximum time to wait for the page to load, in seconds.

session

A selenider_session object. If not specified, the global session object (the result of get_session()) is used.

Value

The session object, invisibly.

See Also

Other global actions: current_url(), execute_js_fn(), get_page_source(), open_url(), reload(), take_screenshot()

Examples


session <- selenider_session()

open_url("https://r-project.org")

open_url("https://www.tidyverse.org/")

back()

forward()


[Package selenider version 0.4.0 Index]