Selenium scripts no working in Selenium Server and Selenium Html Runner

I’ve been trying to use Selenium to run some scripts recorded in Selenium IDE. I’ve followed every step of this blog, and I got stuck with this error:

Command :

  • Running Selenium tests in Jenkins
  • How to run QTP scripts from Jenkins installed on linux?
  • Jenkins: Gerrit & Git plugin - missing refspec field?
  • Are concurrent git pushes always safe if the second push only has fast-forwards from the first push?
  • How to Manage Databases in Continuous Integration with Jenkins
  • Jenkins 0 files published after build
  •  java -jar selenium-html-runner-3.0.1.jar -htmlSuite *firefox "testegglg/Suite.html" "testegglg/result.html"

    Unable to find the HTML runner. This is normally because you have not
    or made available the ‘selenium-leg-rc’ jar on the CLASSPATH. Your test will
    not be run.
    Download the Selenium HTML Runner from and
    use that in place of the selenium-server-standalone.jar for the simplest way of
    running your HTML suite.

    So, i tried with the html runner and got this:

    java -jar selenium-html-runner-3.0.1.jar -htmlSuite *firefox "testegglg/Suite.html" "testegglg/result.html"

    Multi-window mode is longer used as an option and will be ignored.
    Starting ChromeDriver 2.27.440175 (9bc1d90b8bfa4dd181fbbf769a5eb5e575574320) on port 20688
    Only local connections are allowed.
    Jan 27, 2017 9:37:03 AM org.openqa.selenium.remote.ProtocolHandshake createSession
    INFO: Attempting bi-dialect session, assuming Postel’s Law holds true on the remote end
    Jan 27, 2017 9:37:03 AM org.openqa.selenium.remote.ProtocolHandshake createSession
    INFO: Detected dialect: OSS
    2017-01-27 09:37:03.864:INFO::main: Logging initialized @787ms
    2017-01-27 09:37:03.908:INFO:osjs.Server:main: jetty-9.2.z-SNAPSHOT
    2017-01-27 09:37:03.916:INFO:osjsh.ContextHandler:main: Started o.s.j.s.h.ContextHandler@1d296da{/tests,null,AVAILABLE}
    2017-01-27 09:37:03.922:INFO:osjs.ServerConnector:main: Started ServerConnector@815b41f{HTTP/1.1}{}
    2017-01-27 09:37:03.923:INFO:osjs.Server:main: Started @846ms
    2017-01-27 09:37:03.924:INFO:osjs.ServerConnector:main: Stopped ServerConnector@815b41f{HTTP/1.1}{}
    2017-01-27 09:37:03.925:INFO:osjsh.ContextHandler:main: Stopped o.s.j.s.h.ContextHandler@1d296da{/tests,null,UNAVAILABLE}
    Jan 27, 2017 9:37:03 AM org.openqa.selenium.server.htmlrunner.HTMLLauncher mainInt
    WARNING: Test of browser failed: *googlechrome java.lang.RuntimeException: Address already in use (Bind failed)
    at org.openqa.selenium.server.htmlrunner.HTMLLauncher.determineSuiteUrl(
    at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(
    at org.openqa.selenium.server.htmlrunner.HTMLLauncher.mainInt(
    at org.openqa.selenium.server.htmlrunner.HTMLLauncher.main(
    Caused by: java.lang.RuntimeException: Address already in use (Bind failed)
    at org.openqa.selenium.server.htmlrunner.HTMLLauncher.determineSuiteUrl(
    … 3 more
    Caused by: Address already in use (Bind failed)
    at Method)
    … 5 more

    Note: -port [number of the port] doesn’t work.

    I just want to run the scripts i had recorded in the IDE so i can use it with Jenkins.

  • Pushing out smallest repo possible, and issues with git subtree on shallow clone
  • how to configure Gerrit trigger to trigger only when master or branches changes excluding (refs/for/*)?
  • Jenkins Git Plugin: Failed to connect to repository, returned status code 128
  • How to generate .ipa file from command line with watchkit app
  • What is the password for jenkins user during first installation?
  • Is there a way to trigger a Jenkins job based on the status of a JIRA ticket?
  • One Solution collect form web for “Selenium scripts no working in Selenium Server and Selenium Html Runner”

    If you are looking for the way to launch Selenium scripts, recorded in Selenium IDE, I would recommend using Taurus, that is able to execute Selenium actions and can be integrated with such CI tool as Jenkins. The step by step instructions are described in this post – .

    Git Baby is a git and github fan, let's start git clone.