Hi Devs,

I am trying to run Example selenium test cases on OS X, but getting following 
error - 


> 14:41:10.976 INFO - Command request: getNewBrowserSession[*firefox 
> /Applications/Firefox.app/Contents/MacOS/firefox-bin, http://localhost:8080/, 
> ] on session null
> 14:41:10.977 INFO - creating new remote session
> 14:41:11.169 INFO - Allocated session 916463330ef9405eb571feb3210dc3b5 for 
> http://localhost:8080/, launching...
> 14:41:11.200 INFO - Preparing Firefox profile...
> dyld: Library not loaded: /usr/lib/libsqlite3.dylib
>   Referenced from: 
> /System/Library/Frameworks/Security.framework/Versions/A/Security
>   Reason: Incompatible library version: Security requires version 9.0.0 or 
> later, but libsqlite3.dylib provides version 1.0.0
> 14:41:31.317 ERROR - Failed to start new browser session, shutdown browser an 
> clear all session data
> java.lang.RuntimeException: Timed out waiting for profile to be created!
>       at 
> org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.waitForFullProfileToBeCreated(FirefoxChromeLauncher.java:252)
>       at 
> org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.populateCustomProfileDirectory(FirefoxChromeLauncher.java:111)
>       at 
> org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launch(FirefoxChromeLauncher.java:88)
>       at 
> org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launchRemoteSession(FirefoxChromeLauncher.java:297)
>       at 
> org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(BrowserSessionFactory.java:323)
>       at 
> org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:118)
>       at 
> org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:81)
>       at 
> org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(SeleniumDriverResourceHandler.java:658)
>       at 
> org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:392)
>       at 
> org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:368)
>       at 
> org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:129)
>       at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>       at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>       at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>       at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>       at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>       at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>       at 
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>       at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>       at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>> 14:41:31.339 INFO - Got result: Failed to start new browser session: Error 
>> while launching browser on session null




Can you please let me know if I am missing anything ?

--
Thanks And Regards
Sumit Pandit



On Dec 15, 2009, at 4:13 AM, Scott Gray wrote:

> Turns out the webtools selenium setup helper had an old download url, when I 
> used the ant target instead everything worked fine.  Fixed in r890518.
> 
> Regards
> Scott
> 
> On 14/12/2009, at 11:29 PM, Scott Gray wrote:
> 
>> I downloaded the 1.0.1 server and client distribution and it seems to work 
>> fine now, which is strange since it looks like we're using a 1.0.2 snapshot. 
>>  I'll try a more recent 1.0.2 snapshot and see it how goes.
>> 
>> Regards
>> Scott
>> 
>> On 14/12/2009, at 8:47 PM, Scott Gray wrote:
>> 
>>> Hi Erwan,
>>> 
>>> I did have another instance running initially but tried again without and 
>>> had the same result both times.
>>> 
>>> Regards
>>> Scott
>>> 
>>> On 14/12/2009, at 8:40 PM, Erwan de FERRIERES wrote:
>>> 
>>>> Hi Scott,
>>>> 
>>>> Have you already a firefox running ?
>>>> Can you open two differents firefox on your mac ?
>>>> Have you tried with no firefox at all launched ?
>>>> 
>>>> 
>>>> Le 14/12/2009 06:00, Scott Gray a écrit :
>>>>> Thanks Akash, but I don't have a firefox executable under /usr/lib/, the
>>>>> only executable I've been able to locate is:
>>>>> /Applications/Firefox.app/Contents/MacOS/firefox-bin
>>>> ../..
>>>> -
>>>> Erwan de FERRIERES
>>>> www.nereide.biz
>>> 
>> 
> 

Reply via email to