splash_html.Rd
Similar to render_html()
but used in a script context. Should be the LAST element in
a DSL script chain as this will execute the script and return the HTML content
splash_html(splash_obj, raw_html = FALSE)
splash_obj | splashr object |
---|---|
raw_html | if |
Other splash_dsl_functions:
splash_add_lua()
,
splash_click()
,
splash_focus()
,
splash_go()
,
splash_har_reset()
,
splash_har()
,
splash_png()
,
splash_press()
,
splash_release()
,
splash_send_keys()
,
splash_send_text()
,
splash_wait()
# NOT RUN { splash_local %>% splash_response_body(TRUE) %>% splash_user_agent(ua_macos_chrome) %>% splash_go("https://rud.is/b") %>% splash_wait(2) %>% splash_html() -> rud_pg # }