current_url {selenider}R Documentation

Get the URL of the current page

Description

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()


[Package selenider version 0.4.0 Index]