Skip to content

Instantly share code, notes, and snippets.

@brettscott
Created February 7, 2014 10:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brettscott/8860047 to your computer and use it in GitHub Desktop.
Save brettscott/8860047 to your computer and use it in GitHub Desktop.
Output of test_ghostdriver.sh
[root@pal bin]# ./test_ghostdriver.sh
/session :
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 536 100 536 0 0 8638 0 --:--:-- --:--:-- --:--:-- 0
Response:
HTTP/1.1 200 OK
Cache: no-cache
Content-Length: 536
Content-Type: application/json;charset=UTF-8
{"sessionId":"fae79e60-8fdb-11e3-b36b-f90baa4ce030","status":0,"value":{"browserName":"phantomjs","version":"1.9.2","driverName":"ghostdriver","driverVersion":"1.0.4","platform":"linux-unknown-64bit","javascriptEnabled":true,"takesScreenshot":true,"handlesAlerts":false,"databaseEnabled":false,"locationContextEnabled":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"cssSelectorsEnabled":true,"webStorageEnabled":false,"rotatable":false,"acceptSslCerts":false,"nativeEvents":true,"proxy":{"proxyType":"direct"}}}
SessionId: fae79e60-8fdb-11e3-b36b-f90baa4ce030
/url :
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 74 0 74 0 0 65 0 --:--:-- 0:00:01 --:--:-- 1027
Response:
HTTP/1.1 200 OK
Cache: no-cache
Content-Length: 74
Content-Type: application/json;charset=UTF-8
{"sessionId":"fae79e60-8fdb-11e3-b36b-f90baa4ce030","status":0,"value":{}}
/element :
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 104 100 104 0 0 1351 0 --:--:-- --:--:-- --:--:-- 0
Response:
HTTP/1.1 200 OK
Cache: no-cache
Content-Length: 104
Content-Type: application/json;charset=UTF-8
{"sessionId":"fae79e60-8fdb-11e3-b36b-f90baa4ce030","status":0,"value":{"ELEMENT":":wdc:1391766073393"}}
/element :
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 104 100 104 0 0 1247 0 --:--:-- --:--:-- --:--:-- 0
Response:
HTTP/1.1 200 OK
Cache: no-cache
Content-Length: 104
Content-Type: application/json;charset=UTF-8
{"sessionId":"fae79e60-8fdb-11e3-b36b-f90baa4ce030","status":0,"value":{"ELEMENT":":wdc:1391766073393"}}
ElementId: :wdc:1391766073393
/element/:wdc:1391766073393/text :
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 74 0 74 0 0 857 0 --:--:-- --:--:-- --:--:-- 0
Response:
HTTP/1.1 200 OK
Cache: no-cache
Content-Length: 74
Content-Type: application/json;charset=UTF-8
{"sessionId":"fae79e60-8fdb-11e3-b36b-f90baa4ce030","status":0,"value":""}
[root@pal bin]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment