All functions

as_har()

Turn a generic Splash HAR response into a HAR object

as_httr_req()

Create an httr verb request function from an HAR request

as_response()

Return a HAR entry response as an httr::response object

execute_lua()

Execute a custom rendering script and return a result.

get_content_size() get_body_size() get_headers_size()

Retrieve size of content | body | headers

get_content_type() is_content_type() is_json() is_xml() is_css() is_plain() is_binary() is_javascript() is_html() is_jpeg() is_png() is_svg() is_gif() is_xhr()

Retrieve or test content type of a HAR request object

get_har_entry()

Retrieve an entry by index from a HAR object

get_header_val()

Retrieve the value of a specific response header

get_headers()

Retrieve response headers as a data frame

get_request_type() is_get() is_post()

Retrieve or test request type

get_request_url()

Retrieve request URL

get_response_body()

Retrieve the body content of a HAR entry

get_response_url()

Retrieve response URL

har_entries()

Retrieve just the HAR entries from a splashr request

har_entry_count()

Retrieves number of HAR entries in a response

install_splash()

Retrieve the Docker image for Splash

json_fromb64()

Convert a Base64 encoded string into an R object

killall_splash()

Prune all dead and running Splash Docker containers

render_har()

Return information about Splash interaction with a website in HAR format.

render_html()

Return the HTML of the javascript-rendered page.

render_jpeg()

Return a image (in JPEG format) of the javascript-rendered page.

render_json()

Return a json-encoded dictionary with information about javascript-rendered webpage.

render_png()

Return an image (in PNG format) of the javascript-rendered page.

splash() splash_local

Configure parameters for connecting to a Splash server

splash_active()

Test if a Splash server is up

splash_add_lua()

Add raw lua code into DSL call chain

splash_click()

Trigger mouse click event in web page.

splash_enable_javascript()

Enable or disable execution of JavaSript code embedded in the page.

splash_focus()

Focus on a document element provided by a CSS selector

splash_go()

Go to an URL.

splash_har()

Return information about Splash interaction with a website in HAR format.

splash_har_reset()

Drops all internally stored HAR records.

splash_history()

Get information about requests/responses for the pages loaded

splash_html()

Return a HTML snapshot of a current page.

splash_images()

Enable/disable images

splash_perf_stats()

Get Splash performance-related statistics

splash_plugins()

Enable or disable browser plugins (e.g. Flash).

splash_png()

Return a screenshot of a current page in PNG format.

splash_press()

Trigger mouse press event in web page.

splash_private_mode()

Enable or disable execution of JavaSript code embedded in the page.

splash_release()

Trigger mouse release event in web page.

splash_response_body()

Enable or disable response content tracking.

splash_send_keys()

Send keyboard events to page context.

splash_send_text()

Send text as input to page context, literally, character by character.

splash_user_agent() ua_splashr ua_win10_chrome ua_win10_firefox ua_win10_ie11 ua_win7_chrome ua_win7_firefox ua_win7_ie11 ua_macos_chrome ua_macos_safari ua_linux_chrome ua_linux_firefox ua_ios_safari ua_android_samsung ua_kindle ua_ps4 ua_apple_tv ua_chromecast

Overwrite the User-Agent header for all further requests.

splash_version()

Get Splash version information

splash_wait()

Wait for a period time

splashr-exports

splashr exported operators

splashr

Tools to Work with the 'Splash' JavaScript Rendering Service

start_splash()

Start a Splash server Docker container

stop_splash()

Stop a running a Splash server Docker container

tidy_har()

Turn a gnHARly HAR object into a tidy data frame (tibble)