# NOT RUN {
library(rvest)
URL <- "https://httpbin.org/user-agent"
splash_local %>%
splash_response_body(TRUE) %>%
splash_user_agent(ua_macos_chrome) %>%
splash_go(URL) %>%
splash_html() %>%
html_text("body") %>%
jsonlite::fromJSON()
# }
Run the code above in your browser using DataLab