Go down
Posts : 3
Join date : 2011-04-15

Error: Firefox already running

on Fri Apr 15, 2011 3:09 pm
When I tried to run a code(that is perfectly working in IE) in Firefox 3.5, using the code below,
selenium = new DefaultSelenium("localhost",4444,"*firefox","");
firefox displays 'Server not found' error. But when we try to access any page like google, manually, we are able to access the same, as the proxy is rightly configured. The firefox instance opened by selenium alone doesn't have the right proxy. Somehow it gets reset to 'No Proxy' in the instance opened by Selenium.

When I tried to force a proxy as the code below,
selenium = new DefaultSelenium("localhost",4444,"*custom C:\\Program Files\\Mozilla Firefox\\firefox.exe -profile C:\\Documents and Settings\\382974\\Application Data\\Mozilla\\Firefox\\Profiles\\xxbfylba.Eclipse_Selenium","");
Firefox displays the error msg 'Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.'

Tried solutions
1) Profiles.ini is rightly configured as below



2) Parent.lock file isn't corrupted and working as expected. It is created when we open a firefox session and it is killed when firefox is closed.
3) We tried providing proxy through Selenium Server commandline as well. Server accepted it and started running using the provided proxy. But it dint help us resolve our problem from the Selenium client end.

Can somebody help us resolve this issue?

Thanks and Regards,
Posts : 3
Join date : 2011-04-15

Re: Error: Firefox already running

on Fri Apr 15, 2011 3:18 pm
Juz to add one more to tried solutions
4) Tried searching if there is any firefox.exe process in task manager. There was practically no process already existing that is preventing Selenium in creating its own firefox process for execution

Any resolutions are appreciated.

Back to top
Permissions in this forum:
You cannot reply to topics in this forum