bt_load_site: An updated version of b_load_site

View source: R/bt_load_site.R

bt_load_siteR Documentation

An updated version of b_load_site

Description

Waits for the specified xpath node to be present in the HTML of webdriver's current page.

Usage

bt_load_site(
  xpath = NULL,
  wait = 30,
  abort = F,
  wait.interval = 1.5,
  assign.html = F
)

Arguments

xpath

Provide the XPATH for which the function should wait.

wait

Specify the number of seconds you want to wait. Default is 60.

abort

Specifiy whether to cause an error in case path is not find after waiting time. Default is FALSE.

Details

Requires webdriver to be in use, assigned to an object called 'remDr'.

Value

Pauses the algorithm until XPATH appears.

References

www.globaltradealert.org


global-trade-alert/gtabastiat documentation built on June 4, 2023, 6:40 a.m.