running Rselenium with rsDriver

后端 未结 1 440
一生所求
一生所求 2021-01-25 05:19

I\'m trying to run RSelenium using the WDMAN package.

library(RSelenium)
library(wdman)
rd <-rsDriver(verbose =TRUE, browser = \'phantomjs\')
<
相关标签:
1条回答
  • 2021-01-25 06:12

    This seems to be an issue with the latest version of selenium server (3.1.0). If you try the previous version the error doesn't appear:

    rd <-rsDriver(verbose =TRUE, browser = 'phantomjs', version = "3.0.1")
    
    > rd
    $client
      browserName                                   id
    1   phantomjs 7775b5b8-25de-4699-a171-7fd58c5c5a2a
    
    $server
    Process Handle
    command   : /tmp/RtmptPZSvk/file2e132997bdf7.sh 
    system id : 12240
    state     : running
    

    UPDATE:

    This is now fixed as of Selenium Server version 3.2.0

    0 讨论(0)
提交回复
热议问题