-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Operating System
Windows
Please describe Expected behaviour
parallel execution
Please describe Actual behaviour
one sequential execution
Steps to reproduce the behaviour
parallelize
Hi,
I would like to know is it possible to ran RSelenium via wdman in parallel.
For example, usual way to run phantom through wdman:
pjs <- wdman::phantomjs()
remDr <- remoteDriver(browserName = "phantomjs", port = 4567L)
remDr$open()
....
....
Is it possible to runa code in parallel in a way that I can have multiple tests?
For example something like:
(cl <- (detectCores() - 1) %>% makeCluster) %>% registerDoParallel
clusterEvalQ(cl, {
library(RSelenium)
library(XML)
library(rvest)
library(imager)
library(reticulate)
remDr <- remoteDriver(remoteServerAddr = "xxxxx", port = xxxxL,
browserName = "firefox")
remDr$open()
})
Reactions are currently unavailable