#!/usr/bin/env Rscript
update_protocol <- function() {
writeLines(readLines("https://raw.githubusercontent.com/ChromeDevTools/devtools-protocol/master/json/js_protocol.json"),
here::here("inst/protocol/js_protocol.json"))
writeLines(readLines("https://raw.githubusercontent.com/ChromeDevTools/devtools-protocol/master/json/browser_protocol.json"),
here::here("inst/protocol/browser_protocol.json"))
}
update_protocol()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.