Chromote is an R implementation of the Chrome DevTools Protocol. It works with Chrome, Chromium, Opera, Vivaldi, and other browsers based on Chromium. By default it uses Google Chrome (which must already be installed on the system). To use a different browser, see vignette("which-chrome")
.
Chromote is not the only R package that implements the Chrome DevTools Protocol. Here are some others:
The interface to Chromote is similar to chrome-remote-interface for node.js.
Install and use specific versions of Chrome from the Chrome for Testing service.
Offers a synchronous API for ease of use and an asynchronous API for more sophisticated tasks.
Full support for the Chrome DevTools Protocol for any version of Chrome or any Chrome-based browser.
Includes convenience methods, like $screenshot()
and $set_viewport_size()
, for common tasks.
Automatically reconnects to previous sessions if the connection from R to Chrome is lost, for example when restarting from sleep state.
Powers many higher-level packages and functions, like {shinytest2}
and rvest::read_html_live()
.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.