wc_inspect: Perform a "Developer Tools"-like Network Inspection of a URL

Description Usage Arguments

View source: R/wc-inspect.R

Description

Retrieves all content loaded

Usage

1
2
3
4
5
6
7
wc_inspect(
  url,
  js_delay = 5000L,
  timeout = 30000L,
  css = FALSE,
  images = FALSE
)

Arguments

url

URL to fetch

js_delay

(ms) How long to wait for JavaScript to execute/XHRs to load? (Default: 5000)

timeout

Sets the timeout (milliseconds) of the web connection. Set to zero for an infinite wait. Defaults to 30000. Note: The timeout is used twice. The first is for making the socket connection, the second is for data retrieval. If the time is critical you must allow for twice the time specified here.

css, images

enable CSS/download images? (default FALSE)


hrbrmstr/htmlunit documentation built on Aug. 19, 2020, 3:05 p.m.