SeleniumHQ / selenium

A browser automation framework and ecosystem.
https://selenium.dev
Apache License 2.0
30.26k stars 8.15k forks source link

Basic Auth with invalid credentials hangs infinitely #1979

Closed nathanjohnson320 closed 7 years ago

nathanjohnson320 commented 8 years ago

Meta -

OS: Windows 10 Selenium Version: 2.53.0 Browser: Firefox Browser Version: 45.0.2 (64-bit)

Expected Behavior -

Invalid credentials should terminate when the browser timeout is passed or delete session is called.

Actual Behavior -

Invalid credentials hang infinitely.

Steps to reproduce -

  1. Send navigate request with invalid credentials in url.
  2. Send delete session call
  3. Wait infinitely

I'm using the standalone webdriver sending requests with JSONwire protocol.

Output is the following: 03:46:15.979 INFO - Executing: [get: http://user:invalidpass@test.localserver.com]) 03:47:15.976 INFO - Executing: [delete session: ae722ff5-111c-42f3-ad04-64062a27976f])

Neither completes since it's hung at the "get"

lukeis commented 7 years ago

duplicate of #453