reload {selenider}R Documentation

Reload the current page

Description

reload() and refresh() both reload the current page.

Usage

reload(timeout = 60, session = NULL)

refresh(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: back(), current_url(), execute_js_fn(), get_page_source(), open_url(), take_screenshot()

Examples


session <- selenider_session()

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

reload()


[Package selenider version 0.4.0 Index]