if (FALSE) {
selServ <- startServer()
# example of commandline passing
selServ <- startServer(
args = c("-port 4455"),
log = FALSE,
invisible = FALSE
)
remDr <- remoteDriver(browserName = "chrome", port = 4455)
remDr$open()
# get the process id of the selenium binary
selServ$getpid()
# stop the selenium binary
selServ$stop()
}
Run the code above in your browser using DataLab