Skip to content

Instantly share code, notes, and snippets.

@krzysdb
Created January 11, 2012 17:50
Show Gist options
  • Save krzysdb/1595837 to your computer and use it in GitHub Desktop.
Save krzysdb/1595837 to your computer and use it in GitHub Desktop.
Selenium 2 exxcessive console output
Jan 11, 2012 5:49:00 PM org.openqa.selenium.remote.RemoteWebDriver execute
INFO: Executing: [null, newSession {"desiredCapabilities":"Capabilities [{platform=ANY, browserName=firefox, version=}]"}]
Get connection: HttpRoute[{}->http://10.149.0.254:4444], timeout = 120000
[HttpRoute[{}->http://10.149.0.254:4444]] total kept alive: 0, total issued: 0, total allocated: 0 out of 2000
No free connections [HttpRoute[{}->http://10.149.0.254:4444]][null]
Available capacity: 2000 out of 2000 [HttpRoute[{}->http://10.149.0.254:4444]][null]
Creating new connection [HttpRoute[{}->http://10.149.0.254:4444]]
Connecting to 10.149.0.254:4444
CookieSpec selected: best-match
Auth cache not set in the context
Attempt 1 to execute request
Sending request: POST /wd/hub/session HTTP/1.1
>> "POST /wd/hub/session HTTP/1.1[\r][\n]"
>> "Accept: application/json, image/png[\r][\n]"
>> "Content-Type: application/json; charset=utf-8[\r][\n]"
>> "Content-Length: 79[\r][\n]"
>> "Host: 10.149.0.254:4444[\r][\n]"
>> "Connection: Keep-Alive[\r][\n]"
>> "[\r][\n]"
>> POST /wd/hub/session HTTP/1.1
>> Accept: application/json, image/png
>> Content-Type: application/json; charset=utf-8
>> Content-Length: 79
>> Host: 10.149.0.254:4444
>> Connection: Keep-Alive
>> "{"desiredCapabilities":{"platform":"ANY","browserName":"firefox","version":""}}"
<< "HTTP/1.1 302 Moved Temporarily[\r][\n]"
<< "Date: Wed, 11 Jan 2012 17:49:00 GMT[\r][\n]"
<< "Server: Jetty/5.1.x (Windows 7/6.1 x86 java/1.6.0_30[\r][\n]"
<< "Location: http://10.149.0.254:4444/wd/hub/session/1326295918266[\r][\n]"
<< "Content-Length: 0[\r][\n]"
<< "[\r][\n]"
Receiving response: HTTP/1.1 302 Moved Temporarily
<< HTTP/1.1 302 Moved Temporarily
<< Date: Wed, 11 Jan 2012 17:49:00 GMT
<< Server: Jetty/5.1.x (Windows 7/6.1 x86 java/1.6.0_30
<< Location: http://10.149.0.254:4444/wd/hub/session/1326295918266
<< Content-Length: 0
Connection can be kept alive indefinitely
Released connection is reusable.
Releasing connection [HttpRoute[{}->http://10.149.0.254:4444]][null]
Pooling connection [HttpRoute[{}->http://10.149.0.254:4444]][null]; keep alive indefinitely
Notifying no-one, there are no waiting threads
Get connection: HttpRoute[{}->http://10.149.0.254:4444], timeout = 120000
[HttpRoute[{}->http://10.149.0.254:4444]] total kept alive: 1, total issued: 0, total allocated: 1 out of 2000
Getting free connection [HttpRoute[{}->http://10.149.0.254:4444]][null]
Stale connection check
CookieSpec selected: best-match
Auth cache not set in the context
Attempt 1 to execute request
Sending request: GET /wd/hub/session/1326295918266 HTTP/1.1
>> "GET /wd/hub/session/1326295918266 HTTP/1.1[\r][\n]"
>> "Accept: application/json, image/png[\r][\n]"
>> "Host: 10.149.0.254:4444[\r][\n]"
>> "Connection: Keep-Alive[\r][\n]"
>> "[\r][\n]"
>> GET /wd/hub/session/1326295918266 HTTP/1.1
>> Accept: application/json, image/png
>> Host: 10.149.0.254:4444
>> Connection: Keep-Alive
<< "HTTP/1.1 200 OK[\r][\n]"
<< "Date: Wed, 11 Jan 2012 17:49:04 GMT[\r][\n]"
<< "Server: Jetty/5.1.x (Windows 7/6.1 x86 java/1.6.0_30[\r][\n]"
<< "Content-Length: 315[\r][\n]"
<< "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
<< "Cache-Control: no-cache[\r][\n]"
<< "Content-Type: application/json;charset=UTF-8[\r][\n]"
<< "[\r][\n]"
Receiving response: HTTP/1.1 200 OK
<< HTTP/1.1 200 OK
<< Date: Wed, 11 Jan 2012 17:49:04 GMT
<< Server: Jetty/5.1.x (Windows 7/6.1 x86 java/1.6.0_30
<< Content-Length: 315
<< Expires: Thu, 01 Jan 1970 00:00:00 GMT
<< Cache-Control: no-cache
<< Content-Type: application/json;charset=UTF-8
Connection can be kept alive indefinitely
<< "{"sessionId":"1326295918266","status":0,"value":{"platform":"XP","javascriptEnabled":true,"cssSelectorsEnabled":true,"handlesAlerts":true,"browserName":"firefox","nativeEvents":true,"takesScreenshot":true,"version":"3.6.25"},"class":"org.openqa.selenium.remote.Response","hCode":5407977}[0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0]"
Released connection is reusable.
Releasing connection [HttpRoute[{}->http://10.149.0.254:4444]][null]
Pooling connection [HttpRoute[{}->http://10.149.0.254:4444]][null]; keep alive indefinitely
Notifying no-one, there are no waiting threads
Jan 11, 2012 5:49:04 PM org.openqa.selenium.remote.RemoteWebDriver execute
INFO: Executing: [1326295918266, getCurrentWindowHandle {}]
Get connection: HttpRoute[{}->http://10.149.0.254:4444], timeout = 120000
[HttpRoute[{}->http://10.149.0.254:4444]] total kept alive: 1, total issued: 0, total allocated: 1 out of 2000
Getting free connection [HttpRoute[{}->http://10.149.0.254:4444]][null]
Stale connection check
CookieSpec selected: best-match
Auth cache not set in the context
Attempt 1 to execute request
Sending request: GET /wd/hub/session/1326295918266/window_handle HTTP/1.1
>> "GET /wd/hub/session/1326295918266/window_handle HTTP/1.1[\r][\n]"
>> "Accept: application/json, image/png[\r][\n]"
>> "Host: 10.149.0.254:4444[\r][\n]"
>> "Connection: Keep-Alive[\r][\n]"
>> "[\r][\n]"
>> GET /wd/hub/session/1326295918266/window_handle HTTP/1.1
>> Accept: application/json, image/png
>> Host: 10.149.0.254:4444
>> Connection: Keep-Alive
<< "HTTP/1.1 200 OK[\r][\n]"
<< "Date: Wed, 11 Jan 2012 17:49:04 GMT[\r][\n]"
<< "Server: Jetty/5.1.x (Windows 7/6.1 x86 java/1.6.0_30[\r][\n]"
<< "Content-Length: 166[\r][\n]"
<< "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
<< "Cache-Control: no-cache[\r][\n]"
<< "Content-Type: application/json;charset=UTF-8[\r][\n]"
<< "[\r][\n]"
Receiving response: HTTP/1.1 200 OK
<< HTTP/1.1 200 OK
<< Date: Wed, 11 Jan 2012 17:49:04 GMT
<< Server: Jetty/5.1.x (Windows 7/6.1 x86 java/1.6.0_30
<< Content-Length: 166
<< Expires: Thu, 01 Jan 1970 00:00:00 GMT
<< Cache-Control: no-cache
<< Content-Type: application/json;charset=UTF-8
Connection can be kept alive indefinitely
<< "{"sessionId":"1326295918266","status":0,"value":"{4b8626c6-1306-4ceb-b1b7-f9944495a0c7}","class":"org.openqa.selenium.remote.Response","hCode":7457573}[0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0]"
Released connection is reusable.
Releasing connection [HttpRoute[{}->http://10.149.0.254:4444]][null]
Pooling connection [HttpRoute[{}->http://10.149.0.254:4444]][null]; keep alive indefinitely
Notifying no-one, there are no waiting threads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment