RSelenium Chrome网络驱动程序不';无法使用用户配置文件

RSelenium Chrome网络驱动程序不';无法使用用户配置文件,r,selenium-chromedriver,rselenium,R,Selenium Chromedriver,Rselenium,我有一些现有的RSelenium代码,我正在尝试使用Chrome配置文件。我正在使用以下代码打开浏览器: cprof <- getChromeProfile("C:/Users/Paul/AppData/Local/Google/Chrome/User Data", "Profile 1") driver <- rsDriver(browser=c("chrome"), chromever="80.0.3987.106", port=4451L, extraCapabilities

我有一些现有的RSelenium代码,我正在尝试使用Chrome配置文件。我正在使用以下代码打开浏览器:

cprof <- getChromeProfile("C:/Users/Paul/AppData/Local/Google/Chrome/User Data",  "Profile 1")
driver <- rsDriver(browser=c("chrome"), chromever="80.0.3987.106", port=4451L, extraCapabilities=cprof)
令人费解的是,它确实看起来像是在获得正确的配置文件,因为当我在
getChromeProfile
调用中在“配置文件1”、“配置文件2”甚至“默认”之间切换时,我会在打开的浏览器窗口中看到正确的用户图标。如果我不使用
extraCapabilities
,浏览器将毫无问题地打开(使用默认的“空”配置文件)


你知道我做错了什么吗?

你解决了这个问题吗?我也有同样的问题你解决了吗?我也有同样的问题
Could not open chrome 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.