Description Usage Arguments Value See Also Examples
deleteSession
Delete the session.
1 | deleteSession(remDr, ...)
|
remDr |
An object of class "rDriver". A remote driver object see |
... |
Additonal function arguments - Currently passes the |
Returns an object of class "rDriver". The sessionId associated with this driver has been removed however and the associated browser should be closed by the server.
Other sessions functions: newSession
,
setTimeout
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# start a driver without opening a browser
remDr <- remoteDr(newSession = FALSE)
# open a broswer
remDr %>% newSession
# set timeout on waiting for elements
remDr %>% setTimeout(type = "implicit", 5000)
# close Session
remDr %>% deleteSession
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.