RSelenium icon indicating copy to clipboard operation
RSelenium copied to clipboard

RSelenium parallel tests using Gridlastic

Open MislavSag opened this issue 6 years ago • 0 comments

I have discovered cool Selenium tool today: Gridlastic: https://www.gridlastic.com/

I registered for free and have tried their service. Following you instructions for SauceLabs, I successfully start driver in Gridlasticcloud:

extraCapabilities <- list(
  # browserName = "chrome",
  version = "latest",
  video = "True",
  platform = "VISTA",
  platformName = "windows"
)
ip <- "m33H33TFUCsAnj21BpRyQZVwnrWTGmnS:[email protected]"
driver <- remoteDriver$new(
  remoteServerAddr = ip,
  port = 80L,
  browserName = 'firefox',
  extraCapabilities = extraCapabilities
)
driver$open()

Everything worked fine. But I want to use their service because of parallel execution. They offer 5 concurrent nodes (sessions) for free. They have example how to use 2 parallel tests for python: https://www.gridlastic.com/python-code-example.html.

My question is, how to apply that in R? Usually, I use foreach package, but not sure how to apply it here since it backends not on local machine. Is this even related to RSelenium, or should I ask somewhere else?

MislavSag avatar Jan 29 '19 17:01 MislavSag