Learn R Programming

splashr (version 0.6.0)

splash_response_body: Enable or disable response content tracking.

Description

By default Splash doesn<U+2019>t keep bodies of each response in memory, for efficiency reasons.

Usage

splash_response_body(splash_obj, enable = FALSE)

Arguments

splash_obj

splashr object

enable

logical

See Also

Other splash_dsl_attributes: splash_enable_javascript, splash_images, splash_plugins, splash_private_mode

Examples

Run this code
# NOT RUN {
splash_local %>%
  splash_response_body(TRUE) %>%
  splash_user_agent(ua_macos_chrome) %>%
  splash_go("https://rud.is/b") %>%
  splash_wait(2) %>%
  splash_har() -> rud_har
# }

Run the code above in your browser using DataLab