My OP is Windows.
I have installed RSelenium and I want to open the chrome browser (default browser in RSelenium is Firefox)
I have download the google chrome driver from here and latest version of selenium standalone server and I run it from command line using this java -jar selenium-server-standalone-3.3.1.jar
in command line
after that in RStudio I run this:
startServer()
checkForServer()
mybrowser <- remoteDriver(browserName = "chrome")
mybrowser$open()
but it stacks in this:
[1] "Connecting to remote server"
it doesn't give any error. Any idea how can I open and use chrome browser? Could be possible to use the chrome of my system?
try this one this should be work add selenium-server-standalone-3.3.1.jar as external jar file,**Right click on project->properties->java build path->libraries->add external jar.**and update project and add in setup
WebDriver driver=new ChromeDriver();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.