deleteSession {seleniumPipes}R Documentation

Delete the session.

Description

deleteSession Delete the session.

Usage

deleteSession(remDr, ...)

Arguments

remDr

An object of class "rDriver". A remote driver object see remoteDr.

...

Additonal function arguments - Currently passes the retry argument.

Value

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.

See Also

Other sessions functions: newSession, setTimeout

Examples

## 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)


[Package seleniumPipes version 0.3.7 Index]