go_back: Page class: Go back in browser history

View source: R/nav_utils.R

go_backR Documentation

Page class: Go back in browser history

Description

The go_back function navigates the page object within a web browser session to the previous page in the browser history.

Usage

go_back(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 for which the navigation should occur.

Value

The updated page_df data frame.

Examples

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

# Go back in browser history using the page_df
go_back(page_df)



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