Description Usage Arguments Details Value Examples
View source: R/web-take_screenshot.R
Takes screenshots of all URLs passed to the function arguments and saves them in a new folder
screenshots in the working directory. The filename is the url modified by the function
link{url_to_filename}
.
1 | take_screenshot(urls = "http://www.google.de", width = 1000)
|
width |
a numeric; width of screenshots in pixel. The width must be the width of the browser viewport during the experiment! |
URLs |
a character vector; URLs must be full qualified containing schema (http or https) |
To get precise heatmaps with the function link{plot_brownie}
it is indispensable to
set the width of the screenshots right. It's recommended to evalualte the max.pos in the data
before taking screenshots. Moreover, when executing the funciton link{plot_brownie}
will
use the files saved in the folder screenshots.
vector of screenshot file names that where taken and saved in ./screenshots/
1 | take_screenshot(c("https://www.visualvest.de/", "https://www.visualvest.de/angebot/", "https://www.visualvest.de/team/"), width = 1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.