get_title: Page class: Get the page title

View source: R/page_utils.R

get_titleR Documentation

Page class: Get the page title

Description

The get_title function retrieves the title of the page object within a web browser session.

Usage

get_title(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 title should be retrieved.

Value

A character string representing the title of the page.

Examples

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

# Get the page title using the page_df
get_title(page_df)



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