splash_go: Go to an URL.

Description Usage Arguments See Also Examples

View source: R/dsl.r

Description

This is similar to entering an URL in a browser address bar, pressing Enter and waiting until page loads.

Usage

1
splash_go(splash_obj, url)

Arguments

splash_obj

splashr object

url

- URL to load;

See Also

Other splash_dsl_functions: splash_add_lua(), splash_click(), splash_focus(), splash_har_reset(), splash_har(), splash_html(), splash_png(), splash_press(), splash_release(), splash_send_keys(), splash_send_text(), splash_wait()

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)

hrbrmstr/splashr documentation built on Feb. 23, 2020, 2:13 p.m.