Description Usage Arguments Value Examples
remoteDr
: Create a remote Driver object
1 2 3 4 |
remoteServerAddr |
Object of class |
port |
Object of class |
browserName |
Object of class |
version |
Object of class |
platform |
Object of class |
javascript |
Object of class |
nativeEvents |
Object of class |
extraCapabilities |
A list containing any os/platform/driver specific arguments. |
path |
Path on the server side to issue webdriver calls to. Normally use the default value. |
newSession |
Logical value whether to start an instance of the browser. If TRUE a browser will be opened using |
An object of class "rDriver" is returned. This is a remote Driver object that is used in many of the remote driver specific functions. Many functions that take a remote driver object as input also return the remote driver object. This allows chaining of commands. See the examples for chaining in action.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# assume a server is available at the default location.
remDr <- remoteDr()
remDR %>% go("http://www.google.com") %>%
findElement("name", "q") %>%
elementSendKeys("R project", key = "enter")
# close our browser
remDr %>% deleteSession
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.