Skip to contents

Get the full URL of the current page.

Usage

current_url(session = NULL)

Arguments

session

Optionally, a selenider_session object.

Value

A string: the current URL.

See also

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

Examples

session <- selenider_session()

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

current_url()