I have installed the RSelenium package in my Ubuntu server hosted in AWS. However whenever I try to access any webpage with it I get error saying "DevToolsActivePort file doesn't exist".
Below is the complete message:
> library(RSelenium)
> rD = rsDriver()
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
[1] "Connecting to remote server"
Selenium message:unknown error: DevToolsActivePort file doesn't exist
(Driver info: chromedriver=2.40.565383 (76257d1ab79276b2d53ee976b2c3e3b9f335cde7),platform=Linux 4.4.0-128-generic x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 60.16 seconds
Build info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T15:15:08.936Z'
System info: host: 'ubuntu-s-2vcpu-4gb-blr1-01', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-128-generic', java.version: '9-internal'
Driver info: driver.version: unknown
Could not open chrome browser.
Client error message:
Summary: UnknownError
Detail: An unknown server-side error occurred while processing the command.
Further Details: run errorDetails method
Check server log for further details.
Hi,
I have installed the RSelenium package in my Ubuntu server hosted in AWS. However whenever I try to access any webpage with it I get error saying "DevToolsActivePort file doesn't exist".
Below is the complete message:
And Session-info :
I have searched over net for solution (e.g. http://withr.me/set-up-selenium-headless-on-ubuntu-16.04/) however couldnt succeed.
Can someone help me to get it running in Ubuntu server.
However running RSelenium in local Laptop is working completely fine.
Appreciate your insightful help.