I'll take a look when I have time and help improve the docs/wiki, but
just wanted to mention this for the time being:
as far as I can recall when I built a basic Safari extension, you can
build Safari browser extensions using Safari browser itself (on
Windows, assume same for Mac), unless this one is a special one that
is more complex to build. Even the Apple developer docs show you how
to build with Safari browser, the docs are pretty good.
So at some point, perhaps we should enhance the wiki page with more
user friendly and/or alternate instructions on how to compile through
Safari browser (in dev mode).
And as I recall the "*.safari" file extension is just special use of a
zip file with different file extension.
The extension should be compilable on both Windows and Mac and can run/
install on either platform once compiled.
On Apr 12, 6:17 pm, Krishnan Mahadevan
<
krishnan.mahadevan1...@gmail.com> wrote:
> Mike
> I agree with you that not everyone is set up to build selenium. But then
> again SafariDriver is just now into Selenium. Moreover this involves
> Apple:). So I wouldnt be too surprised. If you remember IPhoneDriver which
> has been there for quite sometime still needs you to build the webdriver
> app from the selenium codebase before you can put it into the device or
> simulator and work with it (atleast that is how it was the last time Luke
> helped me work with it).
>
> We also need to be a bit more flexible in terms of learning how to build
> all this stuff and then use it. Atleast in my opinion its a good learning
> excercise :)
>
>
>
>
>
>
>
>
>
> On Friday, April 13, 2012, Mike Riley wrote:
> > This may come as a shock to you, but not everyone is set up to build
> > Selenium. They download it and use it for the most part. Where is the
> > downloadable result of that build?
>
> > Mike
>
> > On Thursday, April 12, 2012 4:16:24 PM UTC-7, KenCK wrote:
>
> > Did you build and install the corresponding Safari extension?
> >
http://code.google.**com/p/selenium/wiki/**SafariDriver<
http://code.google.com/p/selenium/wiki/SafariDriver>
>
> > On Thursday, April 12, 2012 3:11:18 PM UTC-7, AnthonyK wrote:
>
> > Folks,
>
> > just downloaded WebDriver v2.21.0 and added support for Safari to
> > my web driver manager code. When i try and start Safari e.g. driver =
> > new SafariDriver(), the Safari browser launches with the following
> > e.g......
>
> > SafariDriver requesting connection at ws://localhost:47992/wd
>
> > but then i get the following stack trace.....
>
> > Connected to the target VM, address: '
127.0.0.1:50484', transport:
> > 'socket'
> > browser : SAFARI
> > 12-Apr-2012 22:59:43 org.openqa.selenium.safari.**SafariDriverServer
> > start
> > INFO: Server started athttp://anthony-PC:47992/
> > 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.21.0', revision: '16552', time: '2012-04-11
> > 19:08:45'
> > System info:
os.name: 'Windows 7', os.arch: 'amd64', os.version:
> > '6.1', java.version: '1.6.0_23'
> > Driver info: driver.version: SafariDriver
> > at
> > org.openqa.selenium.remote.**RemoteWebDriver.execute(**RemoteWebDriver.java :
>
> > 454)
> > at
> > org.openqa.selenium.remote.**RemoteWebDriver.startSession(**RemoteWebDriver .java:
>
> > 140)
> > at
> > org.openqa.selenium.remote.**RemoteWebDriver.<init>(**RemoteWebDriver.java:
>
> > 95)
> > at org.openqa.selenium.safari.**SafariDriver.<init>(**SafariDriver.java:
>
> > 33)
> > at WebDriverManager.startDriver(**WebDriverManager.java:233)
> > at
> > AdministratorSignInPageTests.**setUp(**AdministratorSignInPageTests.**java:
>
> > 60)
> > 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.testng.internal.**MethodInvocationHelper.**invokeMethod(**MethodInvocat ionHelper.java:
>
> > 76)
> > at org.testng.internal.Invoker.**invokeConfigurationMethod(**Invoker.java:
>
> > 525)
> > at org.testng.internal.Invoker.**invokeConfigurations(Invoker.**java:202)
>
> > at org.testng.internal.Invoker.**invokeConfigurations(Invoker.**java:130)
>
> > at
> > org.testng.internal.**TestMethodWorker.**invokeBeforeClassMethods(**TestMet hodWorker.java:
>
> > 173)
> > at org.testng.internal.**TestMethodWorker.run(**TestMethodWorker.java:
>
> > 105)
> > at org.testng.TestRunner.**runWorkers(TestRunner.java:**1147)
> > at org.testng.TestRunner.**privateRun(TestRunner.java:**749)
> > at org.testng.TestRunner.run(**TestRunner.java:600)
> > at org.testng.SuiteRunner.**runTest(SuiteRunner.java:317)
> > at org.testng.SuiteRunner.**runSequentially(SuiteRunner.**java:312)
>
> > at org.testng.SuiteRunner.**privateRun(SuiteRunner.java:**274)
> > at org.testng.SuiteRunner.run(**SuiteRunner.java:223)
> > at org.testng.SuiteRunnerWorker.**runSuite(SuiteRunnerWorker.**java:52)
>
> > at org.testng.SuiteRunnerWorker.**run(SuiteRunnerWorker.java:86)
> > at org.testng.TestNG.**runSuitesSequentially(TestNG.**java:1039)
> > at org.testng.TestNG.**runSuitesLocally(TestNG.java:**964)
> > at org.testng.TestNG.run(TestNG.**java:900)
> > at org.testng.remote.**RemoteTestNG.run(RemoteTestNG.**java:110)
> > at org.testng.remote.**RemoteTestNG.initAndRun(**RemoteTestNG.java:205)
>
> > at org.testng.remote.**RemoteTestNG.main(**RemoteTestNG.java:174)
> > at org.testng.**Remot
> > To post to this group, send email to
seleniu...@googlegroups.com<javascript:_e({}, 'cvml', '
seleniu...@googlegroups.com');>
> > .
> > To unsubscribe from this group, send email to
> >
selenium-user...@googlegroups.com <javascript:_e({}, 'cvml',
> > '
selenium-users%2Bunsu...@googlegroups.com');>.