status: Get remote end status.

Description Usage Arguments Value See Also Examples

View source: R/sessions.R

Description

status The Status command returns information about whether a remote end is in a state in which it can create a new session. This is represented by the ready property of the response body, which has a value of false if attempting to create a session at the current time would fail.

Usage

1
status(remDr, ...)

Arguments

remDr

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

...

Additonal function arguments - Currently passes the retry argument.

Value

ret2 : res$value NEED TO FILL IN specifics for each function

See Also

Other sessions functions: deleteSession, getTimeouts, newSession, setTimeouts

Examples

 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)

johndharrison/seleniumPipes documentation built on May 19, 2019, 5:13 p.m.