splash_enable_javascript: Enable or disable execution of JavaSript code embedded in the...

Description Usage Arguments See Also Examples

Description

JavaScript execution is enabled by default.

Usage

1
splash_enable_javascript(splash_obj, enable = TRUE)

Arguments

splash_obj

splashr object

enable

logical

See Also

Other splash_dsl_attributes: splash_images, splash_plugins, splash_private_mode, splash_response_body

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
splash_local %>%
  splash_response_body(TRUE) %>%
  splash_private_mode(TRUE) %>%
  splash_enable_javascript(FALSE) %>%
  splash_user_agent(ua_macos_chrome) %>%
  splash_go("https://rud.is/b") %>%
  splash_wait(2) %>%
  splash_har() -> rud_har

## End(Not run)

splashr documentation built on May 2, 2019, 2:22 p.m.