get_url: Page class: Get the current page URL

View source: R/page_utils.R

get_urlR Documentation

Page class: Get the current page URL

Description

The get_url function retrieves the current URL of the page object within a web browser session.

Usage

get_url(page_df)

Arguments

page_df

A data frame containing page information, including the page_id column. This data frame is used to identify the page object from which the URL should be retrieved.

Value

A character string representing the current URL of the page.

Examples

# Create a page_df data frame
page_df <- data.frame(page_id = "my_page")

# Get the current page URL using the page_df
get_url(page_df)



benjaminguinaudeau/playwrightr documentation built on Nov. 8, 2023, 8:36 p.m.