a character string defining 'RSelenium' clicking instructions that can be pasted into a scraping function.
Arguments
using
character string specifying locator scheme to use to search elements. Available schemes: "class name", "css selector", "id", "name", "link text", "partial link text", "tag name", "xpath".
value
character string specifying the search target.
name
character string specifying the object name the RSelenium "wElement" class object should be saved to.
new_page
logical indicating if clickElement() action will result in a change in url.
prev
a placeholder for the output of functions being piped into click(). Defaults to NULL and should not be altered.
if (FALSE) {
#navigate to wikipedia, click random articleparsel::go("https://www.wikipedia.org/") %>>%
parsel::click(using = "id", value = "'n-randompage'") %>>%
show()
}