When script is waiting WebKit continues processing the webpage

splash_wait(splash_obj, time = 2)

Arguments

splash_obj

splashr object

time

number of seconds to wait

See also

Examples

# 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
# }