selenium-standalone icon indicating copy to clipboard operation
selenium-standalone copied to clipboard

expectedRequests is incorrect when less than 3 opts.drivers is provided

Open johnelm opened this issue 10 years ago • 1 comments

In install.js, expectedRequests is incorrect when less than 3 opts.drivers is provided via the API.

Prevents the progress bar from ever showing, due to the if statement on line 329:

  function updateProgressPercentage(chunk) {
    if (expectedRequests === startedRequests) {
      opts.progressCb(total, progress, chunk);
    }
  }

johnelm avatar Sep 20 '16 22:09 johnelm

Closed via #229

stephenash avatar Sep 23 '16 18:09 stephenash