Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

Error: Firefox already running Empty Error: Firefox already running

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","http://www.google.com");
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","http://www.google.com");
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
[General]
StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=Profiles/iy1toh5d.default

[Profile1]
Name=Eclipse_Selenium
IsRelative=1
Path=Profiles/xxbfylba.Eclipse_Selenium
Default=1

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,
Venkat
avatar
ivsureshiv
Posts : 3
Join date : 2011-04-15

Error: Firefox already running Empty Re: Error: Firefox already running

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.

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