Driver id is not registered
When i use remDr %>% go("https://cloud.r-project.org/") %>% getPageSource() ,I meet Driver id is not registered. Has the session been deleted? Alternatively no session exists: Run remoteRd with newSession = TRUE or run newSession() Error in queryDriver(verb = POST, url = build_url(pathURL), source = "go", : sessionId error
Hi John,
I like your project and using it. I hope you will continue to support it.
I encountered the same error as above. Below is the code to compare running using chrome vs firefox. The problem is with firefox. I tried other version of firefox also same problem.
library(seleniumPipes)
# Run Docker in windows 10
system("docker ps")
# Use the following commands when starting it first time with named container
# system("docker run --name chrome_server --detach --publish 4445:4444 --publish 5901:5900 selenium/standalone-chrome-debug")
# system("docker run --name firefox_server --detach --publish 4446:4444 --publish 5902:5900 selenium/standalone-firefox-debug")
# Use the commands below when starting it again
system("docker start chrome_server")
system("docker start firefox_server")
Sys.sleep(5)
chrome_dr <- remoteDr(
port = 4445L,
browserName = "chrome"
)
chrome_dr
#> Remote Ip Address: http://localhost:4445/wd/hub
#> Remote sessionId: 6fcaed1f49f40cbbd05616942d60279e
firefox_dr <- remoteDr(
port = 4446L,
browserName = "firefox"
)
firefox_dr
#> Remote Ip Address: http://localhost:4446/wd/hub
#> Remote sessionId: 622cb99e-4602-4776-af78-124bd3a90386
# SessionId is acquired for both servers
chrome_dr %>%
go("http://www.google.com/ncr")
chrome_dr
#> Remote Ip Address: http://localhost:4445/wd/hub
#> Remote sessionId: 6fcaed1f49f40cbbd05616942d60279e
# SessionId in chrome persisted
firefox_dr %>%
go("http://www.google.com/ncr")
firefox_dr
#> Remote Ip Address: http://localhost:4446/wd/hub
#> Remote sessionId:
# SessionId in firefox server disappears
system("docker stop chrome_server")
system("docker stop firefox_server")
Created on 2019-04-03 by the reprex package (v0.2.1)
Same issue here.. is there any update?
Same here. Does it seem there is no fix for now?
Same issue for Chrome on my Windows machine. Any update @johndharrison ?
I'm also having this issue.
Having the same issue. ANy update?