Skip to content

Commit 9d157ae

Browse files
mtsmfmp0deje
authored andcommitted
chromewebdriver HEAD /shutdown return 404
``` $ 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 ```
1 parent da30e0c commit 9d157ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/lib/selenium/webdriver/chrome/service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def stop
7878
http.open_timeout = STOP_TIMEOUT / 2
7979
http.read_timeout = STOP_TIMEOUT / 2
8080

81-
http.head("/shutdown")
81+
http.get("/shutdown")
8282
end
8383

8484
@process.poll_for_exit STOP_TIMEOUT

0 commit comments

Comments
 (0)