ropensci / RSelenium

An R client for Selenium Remote WebDriver
https://docs.ropensci.org/RSelenium
343 stars 81 forks source link

Set up Selenium grid using Rselenium and Docker on one machine #163

Open MislavSag opened 6 years ago

MislavSag commented 6 years ago

I have run one docker hub and 2 docker nodes:

docker run -d -p 4446:4444 --name selenium-hub -P selenium/hub
 docker run -d -P --link selenium-hub:hub selenium/node-chrome-debug
 docker run -d -P --link selenium-hub:hub selenium/node-firefox-debug

If I run remote drive usual way:

remDr <- remoteDriver(remoteServerAddr = "192.168.99.100", port = 4446L, browserName = "chrome")

it just start one chrome driver.

How can I run one more browser in parallel?

Please help. I am using R 3.4.3, Win 7.