get_content: Page class: Get the page content

View source: R/page_utils.R

get_contentR Documentation

Page class: Get the page content

Description

The get_content function retrieves the content of the page object within a web browser session.

Usage

get_content(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 content should be retrieved.

Value

An XML document representing the content of the page.

Examples

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

# Get the page content using the page_df
get_content(page_df)


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