Skip to content

Instantly share code, notes, and snippets.

@freynaud
Created March 1, 2012 15:44
Show Gist options
  • Save freynaud/1950613 to your computer and use it in GitHub Desktop.
Save freynaud/1950613 to your computer and use it in GitHub Desktop.
{
"commands": [
{
"command": "new session",
"duration": 27113,
"inactivity": 0,
"method": "POST",
"parameter": "{\"desiredCapabilities\":{\"platform\":\"ANY\",\"browserName\":\"firefox\",\"version\":\"\"}}",
"response": "",
"start": 1330426853842,
"url": "/session"
},
{
"command": "get capabilities",
"duration": 21,
"inactivity": 9,
"method": "GET",
"parameter": "",
"response": "{\"sessionId\":\"1330426853243\",\"status\":0,\"value\":{\"platform\":\"LINUX\",\"cssSelectorsEnabled\":true,\"javascriptEnabled\":true,\"browserName\":\"firefox\",\"handlesAlerts\":true,\"nativeEvents\":false,\"webdriver.remote.sessionid\":\"1330426853243\",\"takesScreenshot\":true,\"version\":\"7.0.1\"},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":21928017}\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
"start": 1330426880963,
"url": "/session/1330426853243"
},
{
"command": "set url",
"duration": 236,
"inactivity": 3,
"method": "POST",
"parameter": "{\"url\":\"http://192.168.216.128:5463/grid/console\"}",
"start": 1330426880987,
"url": "/session/1330426853243/url"
},
{
"command": "get title",
"duration": 52,
"inactivity": 10,
"method": "GET",
"parameter": "",
"response": "{\"sessionId\":\"1330426853243\",\"status\":0,\"value\":\"Grid overview\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":21690871}\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
"start": 1330426881233,
"url": "/session/1330426853243/title"
},
{
"command": "get page source",
"duration": 46,
"inactivity": 3,
"method": "GET",
"parameter": "",
"response": "truncated:{\"sessionId\":\"1330426853243\",\"status\":0,\"value\":\"<html xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><head><title>Grid overview<\\/title><style>.busy { opacity : 0.4;filter: alpha(opacity=40);}<\\/style><\\/head><body><h1>Grid Hub 2.20.0<\\/h1><fieldset><legend>LoggingProxy<\\/legend>listening on http://192.168.216.128:8268<br />Supports up to <b>10<\\/b> concurrent tests from: <br /><img title=\\\"POST - /session executed.\\\" class=\\\"busy\\\" src=\\\"/grid/resources/images/firefox.png\\\" /><img title=\\\"POST - /session executed.\\\" class=\\\"busy\\\" src=\\\"/grid/resources/images/firefox.png\\\" /><img title=\\\"POST - /session executed.\\\" class=\\\"busy\\\" src=\\\"/grid/resources/images/firefox.png\\\" /><img title=\\\"POST - /session executed.\\\" class=\\\"busy\\\" src=\\\"/grid/resources/images/firefox.png\\\" /><img title=\\\"POST - /session executed.\\\" class=\\\"busy\\\" src=\\\"/grid/resources/images/firefox.png\\\" /><img title=\\\"{platform=LINUX, browserName=firefox, maxInstances=10, version=}type=WebDriver\\\" src=\\\"/grid/resources/image",
"start": 1330426881288,
"url": "/session/1330426853243/source"
},
{
"command": "delete session",
"duration": 222,
"inactivity": 3,
"method": "DELETE",
"parameter": "",
"start": 1330426881337,
"url": "/session/1330426853243"
}
],
"duration": 27713,
"proxyId": "http://192.168.216.128:8268",
"proxyIndex": "1330426853612",
"start": 1330426853859
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment