Ubuntu-linux- maven command doesnot open firefox | Selenium Forum
M
Posted on 12/05/2016
Can anyone help me on this?
I have a ubuntu box where FF is installed.
I have scheduled a job through crontab(Added all maven commads in .sh file) which will run my maven command.

Job is running but firefox is not opening so all my testcases are failing.

While executing the same .sh file directly runs the maven command and opens firefox executes all the testcases.


Please help its urgent!!

M
Replied on 12/05/2016

any error is showing?


M
Replied on 13/05/2016

org.openqa.selenium.firefox.notconnectedException:unable to connect to host 127.0.0.1 on port


M
Replied on 13/05/2016

Firefox version is incompatible try changing it.


M
Replied on 15/05/2016

I am using ubuntu box, so FF version is 30. and my selenium version is 2.45.0

So in a .sh file I have the command to running the script(mvn commands).the same code works fine when I am running from cmd,
but when I put that in crontab to schedule it then its givving me this error.
so I think its not FF version problem as it runs perfectly from command line.


M
Replied on 16/05/2016

use the latest selenium and use FF42