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 :

  • What do I have to do so that assertions won't block automated tests anymore?
  • Jenkins 0 files published after build
  • How to automate non-interactive tests on Microsoft Surface
  • Xvfb, Jenkins, Selenium tests - Capture Screenshots of all pages
  • How to run QTP scripts from Jenkins installed on linux?
  • Running Selenium tests in Jenkins
  •  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.

  • How to trigger Jenkins Multi-Branch Pipeline with Gitlab Webhook
  • How to keep only red builds in jenkins
  • Jenkins build failed on OSX
  • Trigger build in Jenkins when git branches are created or deleted
  • How to convince jenkins to share a build number for several jobs?
  • Why is Jenkins Android Emulator Plugin recreating my Emulator Snapshots in every build?
  • 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.