Giter Club home page Giter Club logo

Comments (3)

jason0x43 avatar jason0x43 commented on June 28, 2024

Possible causes:

  1. For null tunnel, did you manually start Selenium or chromedriver on the Jenkins server? null tunnel only works with an already-running webdriver server.
  2. For selenium tunnel, does the Jenkins server have Java? Selenium requires Java.

When null tunnel is initialized it simply attempts to connect to an already running webdriver server or Selenium.

Selenium tunnel handles more of the webdriver startup process. When the Selenium tunnel is initialized it downloads Selenium and any necessary webdrivers (this is why you see the 'downloading' message), and then starts Selenium. Note that Java is required to run Selenium.

from digdug.

AmirTugi avatar AmirTugi commented on June 28, 2024

About the null tunnel, I had a bug in my config loader, so I accidentally loaded config with a selenium tunnel. So null tunnel works fine.

For the selenium tunnel I manage to extract the error message, which would be nice to have without meddling with the Tunnel.js.

The problem is that my docker container is missing Java. I tried installing it using wget, but it still didn't work.

Any idea how to install java for my selenium tunnel in my dockerfile?

from digdug.

jason0x43 avatar jason0x43 commented on June 28, 2024

I agree, the error message could definitely be better; there's actually an open issue for that.

Regarding how to install java in your docker container, it depends on your setup, but there are numerous examples online.

from digdug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.