tag:help.appveyor.com,2012-11-13:/discussions/questions/2093-using-seleniumAppVeyor: Discussion 2018-10-19T08:17:43Ztag:help.appveyor.com,2012-11-13:Comment/391215812016-02-08T21:34:31Z2016-02-08T21:34:31ZUsing selenium<div><p>There is no Selenium server installed on build workers, but
there are Selenium web drivers available which, actually, don't
require a Selenium server.</p>
<p>Take a look at this sample repository with Selenium tests:
<a href="https://github.com/FeodorFitsner/selenium-tests">https://github.com/FeodorFitsner/selenium-tests</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/391215812016-02-09T13:04:22Z2016-02-09T13:04:22ZUsing selenium<div><p>Thanks Feodor, but I'm looking into running webdriverio on node,
which requires a selenium server.<br>
I created a test repo at <a href="https://github.com/RainerAtSpirit/po">https://github.com/RainerAtSpirit/po</a>
that installs the npm <code>selenium-standalone</code> package and
runs it as background tasks.</p>
<p><a href="https://ci.appveyor.com/project/RainerAtSpirit/po">https://ci.appveyor.com/project/RainerAtSpirit/po</a></p>
<p>All tests pass, but there are some odd error at the end of each
test spec.<br></p>
<pre>
<code>ERROR: Can't obtain updateLastError method for class com.sun.jna.Native</code>
</pre>
<p>I found a similiar issue reported when using protractor
(<a href="https://appveyor.tenderapp.com/discussions/questions/1657-protractor-tests">https://appveyor.tenderapp.com/discussions/questions/1657-protracto...</a>),
but unfortunately there was no solution only a workaround (using
browserstack).</p></div>r.wittmanntag:help.appveyor.com,2012-11-13:Comment/391215812016-02-09T19:12:15Z2016-02-09T19:12:15ZUsing selenium<div><p>I've been able to run the tests by starting Selenium server with
<code>-Djna.nosys=true</code> option: <a href="https://github.com/FeodorFitsner/po/blob/master/appveyor.yml#L26">https://github.com/FeodorFitsner/po/blob/master/appveyor.yml#L26</a></p>
<p>Build results: <a href="https://ci.appveyor.com/project/FeodorFitsner/po">https://ci.appveyor.com/project/FeodorFitsner/po</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/391215812016-02-10T12:15:01Z2016-02-10T12:15:01ZUsing selenium<div><p>Very good finding. Thanks for figuring it out.</p></div>r.wittmann