Description Usage Arguments Value See Also Examples
back Navigate backwards in the browser history, if possible.
1 |
remDr |
An object of class "rDriver". A remote driver object see |
... |
Additonal function arguments - Currently passes the |
invisible(remDr): An object of class "rDriver" is invisibly returned.
A remote driver object see remoteDr. This allows for chaining from this function to
other functions that take such an object as an argument. See examples for further details.
Other navigation functions: forward,
getCurrentUrl, getTitle,
go, refresh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ## Not run:
remDr <- remoteDr()
remDr %>% go("http://www.google.com/ncr")
# get the title
remDr %>% getTitle
# get the current page url
remDr %>% getCurrentUrl
# navigate
remDr %>% go("http://www.bbc.co.uk")
# go back
remDr %>% (seleniumPipes::back)
# go forward
remDr %>% forward
# refresh page
remDr %>% refresh
# close browser
remDr %>% deleteSession
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.