FAQ
Hello

I tried to install safari extension and driver as referred at
http://code.google.com/p/selenium/wiki/SafariDriver

But when i am trying to run it its showing me this error and its opening a
blank safari page with

SafariDriver requesting connection at ws://localhost:35454/wd

org.openqa.selenium.remote.UnreachableBrowserException: Could not start a
new session. Possible causes are invalid address of the remote server or
browser start-up failure.
Bu*ild info: version: '2.2.1', revision: '16551', time: '2012-04-11
21:42:35'*
System info: os.name: '*Mac OS X'*, os.ar*ch: 'x86_64', os.version:
'10.7.3', java.version: '1.6.0_31'*
Driver info: driver.version: SafariDriver
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:435)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:139)
at
org.openqa.selenium.remote.RemoteWebDriver.(SafariDriver.java:33)
at com.proferi.uitests.Safaritest.createDriver(Safaritest.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.IllegalStateException: Executor has not been started
yet
at
com.google.common.base.Preconditions.checkState(Preconditions.java:145)
at
org.openqa.selenium.safari.SafariDriverCommandExecutor.execute(SafariDriverCommandExecutor.java:123)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:415)
... 28 more


Please help .
Thanks

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/kI1Hol8iZVIJ.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.

Search Discussions

  • Shoaib at Nov 22, 2012 at 10:56 am
    I am getting the same error can anyone help us out ?
    On Wednesday, May 2, 2012 12:11:08 PM UTC-7, Web User wrote:

    Hello

    I tried to install safari extension and driver as referred at
    http://code.google.com/p/selenium/wiki/SafariDriver

    But when i am trying to run it its showing me this error and its opening
    a blank safari page with

    SafariDriver requesting connection at ws://localhost:35454/wd

    org.openqa.selenium.remote.UnreachableBrowserException: Could not start a
    new session. Possible causes are invalid address of the remote server or
    browser start-up failure.
    Bu*ild info: version: '2.2.1', revision: '16551', time: '2012-04-11
    21:42:35'*
    System info: os.name: '*Mac OS X'*, os.ar*ch: 'x86_64', os.version:
    '10.7.3', java.version: '1.6.0_31'*
    Driver info: driver.version: SafariDriver
    at
    org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:435)
    at
    org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:139)
    at
    org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:94)
    at org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:33)
    at com.proferi.uitests.Safaritest.createDriver(Safaritest.java:30)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at
    org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at
    org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at
    org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
    at
    org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    at
    org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
    at
    org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
    at
    org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at
    org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    at
    org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    Caused by: java.lang.IllegalStateException: Executor has not been started
    yet
    at
    com.google.common.base.Preconditions.checkState(Preconditions.java:145)
    at
    org.openqa.selenium.safari.SafariDriverCommandExecutor.execute(SafariDriverCommandExecutor.java:123)
    at
    org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:415)
    ... 28 more


    Please help .
    Thanks
    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/lTa5REYxJWUJ.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Mark Collin at Nov 22, 2012 at 9:17 pm
    Sounds like you don't have the extension installed.



    Can you post a screenshot of your Develop -> Show Extension Builder dialogue
    in Safari.



    You are also using an old version of Selenium, try upgrading to 2.26.0.



    From: selenium-users@googlegroups.com
    On Behalf Of Shoaib
    Sent: 22 November 2012 10:50
    To: selenium-users@googlegroups.com
    Subject: [selenium-users] Re: Safari driver error .. Am i am missing
    something ????




    I am getting the same error can anyone help us out ?
    On Wednesday, May 2, 2012 12:11:08 PM UTC-7, Web User wrote:

    Hello

    I tried to install safari extension and driver as referred at
    http://code.google.com/p/selenium/wiki/SafariDriver

    But when i am trying to run it its showing me this error and its opening a
    blank safari page with

    SafariDriver requesting connection at ws://localhost:35454/wd

    org.openqa.selenium.remote.UnreachableBrowserException: Could not start a
    new session. Possible causes are invalid address of the remote server or
    browser start-up failure.
    Build info: version: '2.2.1', revision: '16551', time: '2012-04-11 21:42:35'
    System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.7.3',
    java.version: '1.6.0_31'
    Driver info: driver.version: SafariDriver
    at
    org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:435)
    at
    org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java
    :139)
    at
    org.openqa.selenium.remote.RemoteWebDriver.(SafariDriver.java:33)
    at com.proferi.uitests.Safaritest.createDriver(Safaritest.java:30)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
    )
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.
    java:44)
    at
    org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.j
    ava:15)
    at
    org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.ja
    va:41)
    at
    org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27
    )
    at
    org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    at
    org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunne
    r.java:79)
    at
    org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.jav
    a:71)
    at
    org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.jav
    a:49)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at
    org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestRef
    erence.java:50)
    at
    org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:3
    8)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu
    nner.java:467)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu
    nner.java:683)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
    java:390)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner
    .java:197)
    Caused by: java.lang.IllegalStateException: Executor has not been started
    yet
    at
    com.google.common.base.Preconditions.checkState(Preconditions.java:145)
    at
    org.openqa.selenium.safari.SafariDriverCommandExecutor.execute(SafariDriverC
    ommandExecutor.java:123)
    at
    org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:415)
    ... 28 more


    Please help .
    Thanks

    --
    You received this message because you are subscribed to the Google Groups
    "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to
    selenium-users+unsubscribe@googlegroups.com.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/selenium-users/-/lTa5REYxJWUJ.
    For more options, visit https://groups.google.com/groups/opt_out.



    --
    You received this message because you are subscribed to the Google Groups "Selenium Users" group.
    To post to this group, send email to selenium-users@googlegroups.com.
    To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupselenium-users @
categoriesselenium
postedMay 2, '12 at 7:11p
activeNov 22, '12 at 9:17p
posts3
users3
websiteseleniumhq.org

3 users in discussion

Shoaib: 1 post Web User: 1 post Mark Collin: 1 post

People

Translate

site design / logo © 2022 Grokbase