splash_wait: Wait for a period time

Description Usage Arguments See Also Examples

Description

When script is waiting WebKit continues processing the webpage

Usage

1
splash_wait(splash_obj, time = 2)

Arguments

splash_obj

splashr object

time

number of seconds to wait

See Also

Other splash_dsl_functions: splash_add_lua, splash_click, splash_focus, splash_go, splash_har_reset, splash_har, splash_html, splash_png, splash_press, splash_release, splash_send_keys, splash_send_text

Examples

1
2
3
4
5
6
7
8
9
## 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

## End(Not run)

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