Skip to content

Could not download https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar #5741

@sikar

Description

@sikar

Hi,

I am facing issue with driver installation when i use selenium standalone for chrome, ie , edge ones. I do that with codecept config.
The below error happens for all driver installation not just for selenium server one.

Error i face:

app-component
"before all" hook: codeceptjs.beforeSuite for "Check App Component Header Title":
Could not download https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar: Error: connect ETIMEDOUT 216.58.196.176:443
rror: Could not download https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar: Error: connect ETIMEDOUT 216.58.196.176:443
at Request. (.\selenium-standalone\lib\install.js:387:12)
at Request.EventEmitter.emit (domain.js:482:12)
at Request.onRequestError (.\selenium-standalone\node_modules\request\request.js:877:8)
at ClientRequest.EventEmitter.emit (domain.js:482:12)
at TLSSocket.socketErrorListener (_http_client.js:426:9)
at TLSSocket.EventEmitter.emit (domain.js:482:12)

Config as in codecept.conf.js:

exports.config = {
  tests: '././*_test.ts',
  //output: './output',
  timeout: 10000,
  helpers: {
    WebDriver: {
      url: 'https://localhost:9000/checkmydata',
      browser: 'chrome',
      smartWait: 5000,
      windowSize: '1920x1680',
      desiredCapabilities: {
        chromeOptions: {
          useAutomationExtension: false,
          // args: [
          //   '--headless',
          //   '--disable-gpu',
          //   '--disable-web-security',
          //   '--window-size=1200,1000',
          //   '--no-sandbox'
          // ]
        }
      }
    }

  },
  plugins: {
    wdio: {
      enabled: true,
      services: ['selenium-standalone'],
      seleniumInstallArgs: {
        //Used by selenium-standalone to download dependencies
        drivers: {
          chrome: {},
          ie: {},
          edge: {},
          firefox: {}
        },
        ignoreExtraDrivers: true,
        proxy: 'http://mycompanyproxyhost:port',
      }
    }
  },
  include: {
  I: './steps_file.js'
  },
  bootstrap: null,
  //mocha: { },
  name: 'e2e'
}

Questions:

  1. What could be the issue?
  2. And can i do a local reference through config itself from my local path instead of downloading drivers each time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions