Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97793

Rselenium Unable to create session (Win10/Firefox)

$
0
0

I am trying to use Rselenium on a WIN10 PC, see the code.

library(stringr)
library(RSelenium)
rD <- rsDriver(browser = "firefox") 
remDr <- rD$client

This is running well on my current PC (win8.1) as well as on my laptop. However tried on another PC and this is the message:

[1] "Connecting to remote server"

Selenium message:Unable to create session from {
  "desiredCapabilities": {
    "browserName": "firefox",
    "javascriptEnabled": true,
    "nativeEvents": true,
    "version": "",
    "platform": "ANY"
  },
  "capabilities": {
    "firstMatch": [
      {
        "browserName": "firefox"
      }
    ]
  }
}
Build info: version: '4.0.0-alpha-2', revision: 'f148142cf8', time: '2019-07-01T21:30:10'
System info: host: 'xxx', ip: 'xxx', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_231'
Driver info: driver.version: unknown

Could not open firefox browser.
Client error message:
     Summary: SessionNotCreatedException
     Detail: A new session could not be created.
     Further Details: run errorDetails method
Check server log for further details.

What I tried:

  • Install latest version of R / Install Rtools
  • Latest version of Firefox
  • Latest version of Java
  • Run as admin
  • Changed ports

No success...


Viewing all articles
Browse latest Browse all 97793

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>