Skip to content

Commit

Permalink
chromewebdriver HEAD /shutdown return 404
Browse files Browse the repository at this point in the history
```
$ chromedriver -v
ChromeDriver 2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b)

$ chromedriver --port=12345
Starting ChromeDriver 2.20.353124
(035346203162d32c80f1dce587c8154a1efa0c3b) on port 12345

$ ruby -r 'net/http' -e 'Net::HTTP.start("127.0.0.1", 12345) {|h| puts h.head("/shutdown").code }'
404
```
  • Loading branch information
mtsmfm authored and p0deje committed Nov 11, 2015
1 parent da30e0c commit 9d157ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/chrome/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def stop
http.open_timeout = STOP_TIMEOUT / 2
http.read_timeout = STOP_TIMEOUT / 2

http.head("/shutdown")
http.get("/shutdown")
end

@process.poll_for_exit STOP_TIMEOUT
Expand Down

0 comments on commit 9d157ae

Please sign in to comment.