我是Rselenium和Phantomjs的新手,我似乎无法在R中打开浏览器。我已经安装了Phantomjs,所以我不知道为什么它无法打开。
Selenium message:Unable to create session from {
"desiredCapabilities": {
"browserName": "phantomjs",
"javascriptEnabled": true,
"nativeEvents": true,
"version": "",
"platform": "ANY"
},
"capabilities": {
"firstMatch": [
{
"browserName": "phantomjs"
}
]
}
}
Build info: version: '4.0.0-alpha-2', revision: 'f148142cf8', time: '2019-07-01T21:30:10'
System info: host: 'application-1005104-deployment-3272410-7j6h7', ip: '172.16.56.211', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-1044-aws', java.version: '1.8.0_212'
Driver info: driver.version: unknown
Could not open phantomjs 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.