Learn R Programming

splashr (version 0.6.0)

splash_go: Go to an URL.

Description

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

Usage

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

Run this code
# 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
# }

Run the code above in your browser using DataLab