I am trying to execute selenium scripts on CentOS by providing java-jar command in rc.local file but it throws error as:
- "Chrome not started, exited abnormally"
and the process started from chrome location /usr/bin/google-chrome
is no longer running, so ChromeDriver is assuming that Chrome has crashed.
Whereas it works if the same command is executed by opening the terminal manually and without specifying in rc.local
file
Please help me with this issue.