Private mode is enabled by default unless you pass flag --disable-private-mode at Splash (server) startup. Note that if you disable private mode browsing data such as cookies or items kept in local storage may persist between requests.

splash_private_mode(splash_obj, enable = FALSE)

Arguments

splash_obj

splashr object

enable

logical

See also

Examples

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