RSelenium:连接到服务器
这是我第一次使用硒。RSelenium:连接到服务器,r,selenium,rselenium,R,Selenium,Rselenium,这是我第一次使用硒。checkForServer()命令不起作用 checkForServer() Error: checkForServer is now defunct. Users in future can find the function in file.path(find.package("RSelenium"), "examples/serverUtils"). The recommended way to run a selenium server is via
checkForServer()
命令不起作用
checkForServer()
Error: checkForServer is now defunct. Users in future can find the function
in file.path(find.package("RSelenium"), "examples/serverUtils"). The
recommended way to run a selenium server is via Docker. Alternatively
see the RSelenium::rsDriver function.
正如它所建议的,我已经尝试了rsDriver
:
library(RSelenium)
> rD1 <- rsDriver(browser = "chrome", port = 3987L)
checking Selenium Server versions:
BEGIN: PREDOWNLOAD
BEGIN: DOWNLOAD
BEGIN: POSTDOWNLOAD
checking chromedriver versions:
BEGIN: PREDOWNLOAD
BEGIN: DOWNLOAD
BEGIN: POSTDOWNLOAD
checking geckodriver versions:
BEGIN: PREDOWNLOAD
BEGIN: DOWNLOAD
BEGIN: POSTDOWNLOAD
checking phantomjs versions:
BEGIN: PREDOWNLOAD
BEGIN: DOWNLOAD
BEGIN: POSTDOWNLOAD
No encoding supplied: defaulting to UTF-8.
[1] "Connecting to remote server"
No encoding supplied: defaulting to UTF-8.
$id
[1] NA
库(RSelenium)
>rD1您应该尝试使用:library(RSelenium)驱动程序相同的问题,有解决方案吗?