Procházet zdrojové kódy

Remove & rename mock recordings

Daniel Gempesaw před 9 roky
rodič
revize
b274280321

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 82
t/mock-recordings/01-driver-mock-MSWin32.json


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 11
t/mock-recordings/01-driver-mock-linux.json


+ 0 - 0
t/mock-recordings/01-driver-mock-darwin.json → t/mock-recordings/01-driver-mock.json


+ 0 - 98
t/mock-recordings/02-webelement-mock-MSWin32.json

@@ -1,98 +0,0 @@
-{
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element {\"using\":\"id\",\"value\":\"withText\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:56 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 165\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:57 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":{\"ELEMENT\":\"2\"},\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":20322}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/url {\"url\":\"http://localhost:63636/metakeys.html\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:35 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":30982875}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/url {\"url\":\"http://localhost:63636/dragAndDropTest.html\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":15081741}\n"
-   ],
-   "DELETE session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2 {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":28104970}\n"
-   ],
-   "GET session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/2/text {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:57 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 166\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:57 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":\"Example text\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":4139488}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element {\"using\":\"id\",\"value\":\"metainput\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 168\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":{\"ELEMENT\":\"5\"},\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":16603245}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element {\"using\":\"id\",\"value\":\"checky\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:57 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 168\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:57 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":{\"ELEMENT\":\"4\"},\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":21012826}\n"
-   ],
-   "GET session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/6/size {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 237\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":{\"height\":18,\"width\":18,\"class\":\"org.openqa.selenium.Dimension\",\"hCode\":-2147483648},\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":18641719}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element {\"using\":\"id\",\"value\":\"displayed\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 168\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":{\"ELEMENT\":\"7\"},\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":27542420}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/back {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:56 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:56 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":12474872}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/0/click {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:56 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:56 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":27144285}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/modifier {\"isdown\":1,\"value\":\"Alt\"}" : [
-      "HTTP/1.1 500 Internal Server Error\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 1234\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":null,\"status\":13,\"value\":{\"message\":\"POST /session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/modifier\\nBuild info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33'\\nSystem info: host: 'daren', ip: '192.168.1.200', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_51'\\nDriver info: driver.version: unknown\",\"localizedMessage\":\"POST /session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/modifier\\nBuild info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33'\\nSystem info: host: 'daren', ip: '192.168.1.200', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_51'\\nDriver info: driver.version: unknown\",\"suppressed\":[],\"cause\":null,\"systemInformation\":\"System info: host: 'daren', ip: '192.168.1.200', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_51'\",\"supportUrl\":null,\"class\":\"org.openqa.selenium.UnsupportedCommandException\",\"additionalInformation\":\"\\nDriver info: driver.version: unknown\",\"hCode\":12083383,\"stackTrace\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]},\"state\":\"unhandled error\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":14002014}\n"
-   ],
-   "GET session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/title {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:56 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 169\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:56 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":\"Hello WebDriver\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":4069214}\n"
-   ],
-   "GET session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/3/attribute/value {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:57 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:57 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":\"id\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":15902353}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:57 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:57 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":\"id\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":26067871}\n"
-   ],
-   "GET session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/7/displayed {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":true,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":14129547}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":true,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":19367721}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/active {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:56 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 168\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:56 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":{\"ELEMENT\":\"1\"},\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":27149182}\n"
-   ],
-   "GET session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/3/name {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:57 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 160\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:57 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":\"input\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":26580514}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/4/toggle {}" : [
-      "HTTP/1.1 500 Internal Server Error\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:57 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 1250\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:57 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":null,\"status\":13,\"value\":{\"message\":\"POST /session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/4/toggle\\nBuild info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33'\\nSystem info: host: 'daren', ip: '192.168.1.200', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_51'\\nDriver info: driver.version: unknown\",\"localizedMessage\":\"POST /session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/4/toggle\\nBuild info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33'\\nSystem info: host: 'daren', ip: '192.168.1.200', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_51'\\nDriver info: driver.version: unknown\",\"suppressed\":[],\"cause\":null,\"systemInformation\":\"System info: host: 'daren', ip: '192.168.1.200', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_51'\",\"supportUrl\":null,\"class\":\"org.openqa.selenium.UnsupportedCommandException\",\"additionalInformation\":\"\\nDriver info: driver.version: unknown\",\"hCode\":15685891,\"stackTrace\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]},\"state\":\"unhandled error\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":29168386}\n"
-   ],
-   "GET session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/3/attribute/missing-attribute {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:57 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:57 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":29050173}\n"
-   ],
-   "GET session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/6/location {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 217\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":{\"class\":\"org.openqa.selenium.Point\",\"hCode\":8388608,\"y\":8,\"x\":8},\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":5194611}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 218\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":{\"class\":\"org.openqa.selenium.Point\",\"hCode\":8388608,\"y\":8,\"x\":8},\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":10018609}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element {\"using\":\"id\",\"value\":\"test1\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 168\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":{\"ELEMENT\":\"6\"},\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":29347261}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/url {\"url\":\"http://localhost:63636/formPage.html\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:56 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:56 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":32071717}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element {\"using\":\"id\",\"value\":\"hidden\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 167\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":{\"ELEMENT\":\"8\"},\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":4325531}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/url {\"url\":\"http://localhost:63636/index.html\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":21952293}\n"
-   ],
-   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"javascriptEnabled\":true,\"platform\":\"ANY\",\"version\":\"\"}}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:50 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 579\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:56 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":{\"platform\":\"WINDOWS\",\"javascriptEnabled\":true,\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"rotatable\":false,\"locationContextEnabled\":true,\"webdriver.remote.sessionid\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"version\":\"27.0.1\",\"databaseEnabled\":true,\"cssSelectorsEnabled\":true,\"handlesAlerts\":true,\"browserConnectionEnabled\":true,\"webStorageEnabled\":true,\"nativeEvents\":false,\"applicationCacheEnabled\":true,\"takesScreenshot\":true},\"state\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":23401965}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element {\"using\":\"xpath\",\"value\":\"//a[@href='/index.html']\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:56 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 168\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:56 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":{\"ELEMENT\":\"0\"},\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":20863342}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/4/click {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:57 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 156\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:57 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1453272}\n"
-   ],
-   "GET session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/8/displayed {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":false,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":12870550}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:36 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:36 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":false,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":25378911}\n"
-   ],
-   "GET session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element/4/selected {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:57 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:57 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":false,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":22182430}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:57 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:57 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":true,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":29611676}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:57 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:57 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":true,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":12149377}\n"
-   ],
-   "POST session/a4b49f4c-7af7-40a8-8892-0eab12fed1c2/element {\"using\":\"id\",\"value\":\"id-name1\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:57 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 166\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:57 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"a4b49f4c-7af7-40a8-8892-0eab12fed1c2\",\"status\":0,\"value\":{\"ELEMENT\":\"3\"},\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":283157}\n"
-   ]
-}

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 20
t/mock-recordings/02-webelement-mock-linux.json


+ 0 - 0
t/mock-recordings/02-webelement-mock-darwin.json → t/mock-recordings/02-webelement-mock.json


+ 0 - 41
t/mock-recordings/10-switch-to-window-mock-MSWin32.json

@@ -1,41 +0,0 @@
-{
-   "GET session/8da6ff41-3545-452f-ae26-2ddcfb53ac7c/title {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:54 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 199\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:54 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":\"The Perl Programming Language - www.perl.org\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":19080386}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:54 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 199\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:54 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":\"The Perl Programming Language - www.perl.org\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":19850299}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:54 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 208\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:54 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":\"The Comprehensive Perl Archive Network - www.cpan.org\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":14841561}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:54 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 199\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:55 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":\"The Perl Programming Language - www.perl.org\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":28005080}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:55 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 208\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:55 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":\"The Comprehensive Perl Archive Network - www.cpan.org\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":30906257}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:55 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 198\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:55 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":\"The Perl Programming Language - www.perl.org\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":6272964}\n"
-   ],
-   "POST session/8da6ff41-3545-452f-ae26-2ddcfb53ac7c/execute {\"args\":[],\"script\":\"return window.name = 'perlorg';\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:54 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 162\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:54 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":\"perlorg\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":16658844}\n"
-   ],
-   "POST session/8da6ff41-3545-452f-ae26-2ddcfb53ac7c/execute {\"args\":[],\"script\":\"$(window.open('http://cpan.org/', 'cpanorg'))\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:54 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:54 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":11358733}\n"
-   ],
-   "POST session/8da6ff41-3545-452f-ae26-2ddcfb53ac7c/window {\"name\":\"cpanorg\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:55 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:55 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":16465740}\n"
-   ],
-   "POST session/8da6ff41-3545-452f-ae26-2ddcfb53ac7c/window {\"name\":\"perlorg\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:55 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:55 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":32854905}\n"
-   ],
-   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"javascriptEnabled\":true,\"platform\":\"ANY\",\"version\":null}}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:50 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 578\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:53 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":{\"platform\":\"WINDOWS\",\"javascriptEnabled\":true,\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"rotatable\":false,\"locationContextEnabled\":true,\"webdriver.remote.sessionid\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"version\":\"27.0.1\",\"databaseEnabled\":true,\"cssSelectorsEnabled\":true,\"handlesAlerts\":true,\"browserConnectionEnabled\":true,\"webStorageEnabled\":true,\"nativeEvents\":false,\"applicationCacheEnabled\":true,\"takesScreenshot\":true},\"state\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":8822059}\n"
-   ],
-   "GET session/8da6ff41-3545-452f-ae26-2ddcfb53ac7c/window_handles {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:54 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 195\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:54 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":[\"{9aa1b87e-f2c3-4f98-a9fa-abef5bacfe2b}\"],\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":21474032}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:54 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 236\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:54 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":[\"{9aa1b87e-f2c3-4f98-a9fa-abef5bacfe2b}\",\"{ac863a57-1b2e-466b-a7ef-eaa2cb0a4018}\"],\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":17128912}\n"
-   ],
-   "DELETE session/8da6ff41-3545-452f-ae26-2ddcfb53ac7c {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:55 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:55 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":12978545}\n"
-   ],
-   "POST session/8da6ff41-3545-452f-ae26-2ddcfb53ac7c/url {\"url\":\"http://perl.org/\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:53 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:53 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":16712269}\n"
-   ],
-   "POST session/8da6ff41-3545-452f-ae26-2ddcfb53ac7c/window {\"name\":\"{ac863a57-1b2e-466b-a7ef-eaa2cb0a4018}\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:54 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:54 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":18239711}\n"
-   ],
-   "POST session/8da6ff41-3545-452f-ae26-2ddcfb53ac7c/window {\"name\":\"{9aa1b87e-f2c3-4f98-a9fa-abef5bacfe2b}\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:54 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 156\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:30:54 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8da6ff41-3545-452f-ae26-2ddcfb53ac7c\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":7986717}\n"
-   ]
-}

+ 0 - 41
t/mock-recordings/10-switch-to-window-mock-linux.json

@@ -1,41 +0,0 @@
-{
-   "POST session/7636e703-b0ff-4853-9e8f-04cdcd197392/execute {\"args\":[],\"script\":\"return window.name = 'perlorg';\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:47 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 161\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:47 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":\"perlorg\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":2291165}\n"
-   ],
-   "POST session/7636e703-b0ff-4853-9e8f-04cdcd197392/window {\"name\":\"perlorg\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:48 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 156\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:48 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":8938795}\n"
-   ],
-   "POST session/7636e703-b0ff-4853-9e8f-04cdcd197392/execute {\"args\":[],\"script\":\"$(window.open('http://cpan.org/', 'cpanorg'))\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:47 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:47 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":26466764}\n"
-   ],
-   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"javascriptEnabled\":true,\"platform\":\"ANY\",\"version\":null}}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:43 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 577\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:45 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":null,\"value\":{\"platform\":\"LINUX\",\"javascriptEnabled\":true,\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"rotatable\":false,\"locationContextEnabled\":true,\"webdriver.remote.sessionid\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"version\":\"27.0.1\",\"databaseEnabled\":true,\"cssSelectorsEnabled\":true,\"handlesAlerts\":true,\"browserConnectionEnabled\":true,\"webStorageEnabled\":true,\"nativeEvents\":false,\"applicationCacheEnabled\":true,\"takesScreenshot\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":19471836}\n"
-   ],
-   "GET session/7636e703-b0ff-4853-9e8f-04cdcd197392/window_handles {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:47 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 193\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:47 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":[\"{6a65d322-dbf8-454a-9456-48e9825cdb7d}\"],\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":355015}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:47 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 236\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:47 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":[\"{6a65d322-dbf8-454a-9456-48e9825cdb7d}\",\"{df147381-f1a4-4322-87e1-48063cb40e37}\"],\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":21793902}\n"
-   ],
-   "POST session/7636e703-b0ff-4853-9e8f-04cdcd197392/window {\"name\":\"{df147381-f1a4-4322-87e1-48063cb40e37}\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:47 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 156\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:47 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1989637}\n"
-   ],
-   "POST session/7636e703-b0ff-4853-9e8f-04cdcd197392/window {\"name\":\"cpanorg\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:47 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 156\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:47 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":2083787}\n"
-   ],
-   "DELETE session/7636e703-b0ff-4853-9e8f-04cdcd197392 {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:48 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:48 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":24960974}\n"
-   ],
-   "POST session/7636e703-b0ff-4853-9e8f-04cdcd197392/window {\"name\":\"{6a65d322-dbf8-454a-9456-48e9825cdb7d}\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:47 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 156\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:47 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":2488371}\n"
-   ],
-   "GET session/7636e703-b0ff-4853-9e8f-04cdcd197392/title {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:47 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 199\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:47 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":\"The Perl Programming Language - www.perl.org\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":29125428}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:47 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 198\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:47 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":\"The Perl Programming Language - www.perl.org\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":6953343}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:47 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 208\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:47 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":\"The Comprehensive Perl Archive Network - www.cpan.org\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":31987789}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:47 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 199\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:47 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":\"The Perl Programming Language - www.perl.org\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":29357411}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:47 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 208\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:48 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":\"The Comprehensive Perl Archive Network - www.cpan.org\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":19292607}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:48 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 198\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:48 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":\"The Perl Programming Language - www.perl.org\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":5237134}\n"
-   ],
-   "POST session/7636e703-b0ff-4853-9e8f-04cdcd197392/url {\"url\":\"http://perl.org/\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:45 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:47 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"7636e703-b0ff-4853-9e8f-04cdcd197392\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":28723770}\n"
-   ]
-}

+ 0 - 0
t/mock-recordings/10-switch-to-window-mock-darwin.json → t/mock-recordings/10-switch-to-window-mock.json


+ 0 - 46
t/mock-recordings/11-action-chains-mock-MSWin32.json

@@ -1,46 +0,0 @@
-{
-   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"javascriptEnabled\":false,\"platform\":\"ANY\",\"version\":null}}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:30 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 581\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:40 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":null,\"sessionId\":\"10f77902-a32f-4438-950d-29f64f0b9d0f\",\"hCode\":1004900685,\"value\":{\"applicationCacheEnabled\":true,\"rotatable\":false,\"handlesAlerts\":true,\"databaseEnabled\":true,\"version\":\"27.0.1\",\"platform\":\"WINDOWS\",\"browserConnectionEnabled\":true,\"nativeEvents\":false,\"acceptSslCerts\":true,\"webdriver.remote.sessionid\":\"10f77902-a32f-4438-950d-29f64f0b9d0f\",\"webStorageEnabled\":true,\"locationContextEnabled\":true,\"browserName\":\"firefox\",\"takesScreenshot\":true,\"javascriptEnabled\":true,\"cssSelectorsEnabled\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:42 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 580\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:45 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":null,\"sessionId\":\"afba4697-fecf-4405-b7e6-094b50b6817b\",\"hCode\":284820248,\"value\":{\"applicationCacheEnabled\":true,\"rotatable\":false,\"handlesAlerts\":true,\"databaseEnabled\":true,\"version\":\"27.0.1\",\"platform\":\"WINDOWS\",\"browserConnectionEnabled\":true,\"nativeEvents\":false,\"acceptSslCerts\":true,\"webdriver.remote.sessionid\":\"afba4697-fecf-4405-b7e6-094b50b6817b\",\"webStorageEnabled\":true,\"locationContextEnabled\":true,\"browserName\":\"firefox\",\"takesScreenshot\":true,\"javascriptEnabled\":true,\"cssSelectorsEnabled\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "POST session/10f77902-a32f-4438-950d-29f64f0b9d0f/elements {\"using\":\"xpath\",\"value\":\"//*[@class='hdtb-mitem']\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:41 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 156\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:42 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"10f77902-a32f-4438-950d-29f64f0b9d0f\",\"hCode\":826539780,\"value\":[],\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "GET session/afba4697-fecf-4405-b7e6-094b50b6817b/element/1/displayed {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:48 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:48 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"afba4697-fecf-4405-b7e6-094b50b6817b\",\"hCode\":65530616,\"value\":true,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "POST session/afba4697-fecf-4405-b7e6-094b50b6817b/moveto {\"element\":\"0\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:48 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:48 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"afba4697-fecf-4405-b7e6-094b50b6817b\",\"hCode\":1650602365,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "POST session/10f77902-a32f-4438-950d-29f64f0b9d0f/element {\"using\":\"xpath\",\"value\":\"//input[@type='text']\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:41 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 170\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:41 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"10f77902-a32f-4438-950d-29f64f0b9d0f\",\"hCode\":2036970995,\"value\":{\"ELEMENT\":\"0\"},\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "DELETE session/10f77902-a32f-4438-950d-29f64f0b9d0f {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:42 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:42 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"10f77902-a32f-4438-950d-29f64f0b9d0f\",\"hCode\":1361847628,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "POST session/afba4697-fecf-4405-b7e6-094b50b6817b/element {\"using\":\"xpath\",\"value\":\"//*[contains(text(),'right click me')]\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:48 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 170\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:48 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"afba4697-fecf-4405-b7e6-094b50b6817b\",\"hCode\":1735026461,\"value\":{\"ELEMENT\":\"0\"},\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "DELETE session/afba4697-fecf-4405-b7e6-094b50b6817b {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:48 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:48 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"afba4697-fecf-4405-b7e6-094b50b6817b\",\"hCode\":1701199990,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "POST session/afba4697-fecf-4405-b7e6-094b50b6817b/click {\"button\":2}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:48 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:48 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"afba4697-fecf-4405-b7e6-094b50b6817b\",\"hCode\":337250944,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "POST session/10f77902-a32f-4438-950d-29f64f0b9d0f/url {\"url\":\"https://www.google.com\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:40 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:41 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"10f77902-a32f-4438-950d-29f64f0b9d0f\",\"hCode\":1079278796,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "POST session/afba4697-fecf-4405-b7e6-094b50b6817b/element {\"using\":\"xpath\",\"value\":\"//*[text()='Paste']\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:48 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 169\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:48 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"afba4697-fecf-4405-b7e6-094b50b6817b\",\"hCode\":920587161,\"value\":{\"ELEMENT\":\"1\"},\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "POST session/10f77902-a32f-4438-950d-29f64f0b9d0f/element/0/value {\"value\":[\"test\"]}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:41 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:41 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"10f77902-a32f-4438-950d-29f64f0b9d0f\",\"hCode\":1072790976,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "POST session/afba4697-fecf-4405-b7e6-094b50b6817b/url {\"url\":\"http://medialize.github.io/jQuery-contextMenu/demo.html\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:45 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:48 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"afba4697-fecf-4405-b7e6-094b50b6817b\",\"hCode\":550257166,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "POST session/10f77902-a32f-4438-950d-29f64f0b9d0f/keys {\"value\":[\"\"]}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:41 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:41 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"10f77902-a32f-4438-950d-29f64f0b9d0f\",\"hCode\":1917995955,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sun, 17 May 2015 00:19:41 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sun, 17 May 2015 00:19:41 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"10f77902-a32f-4438-950d-29f64f0b9d0f\",\"hCode\":317953629,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ]
-}

+ 0 - 46
t/mock-recordings/11-action-chains-mock-linux.json

@@ -1,46 +0,0 @@
-{
-   "POST session/3931ba86-e2dc-4dcb-b0b8-ff2974c59db8/url {\"url\":\"https://www.google.com\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:17 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:18 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3931ba86-e2dc-4dcb-b0b8-ff2974c59db8\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":23829224}\n"
-   ],
-   "POST session/3931ba86-e2dc-4dcb-b0b8-ff2974c59db8/elements {\"using\":\"xpath\",\"value\":\"//*[@class='hdtb-mitem']\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:18 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:18 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3931ba86-e2dc-4dcb-b0b8-ff2974c59db8\",\"status\":0,\"state\":\"success\",\"value\":[],\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1717827636}\n"
-   ],
-   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"javascriptEnabled\":false,\"platform\":\"ANY\",\"version\":null}}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:16 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 547\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:17 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3931ba86-e2dc-4dcb-b0b8-ff2974c59db8\",\"status\":0,\"state\":null,\"value\":{\"platform\":\"LINUX\",\"javascriptEnabled\":true,\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"rotatable\":false,\"locationContextEnabled\":true,\"webdriver.remote.sessionid\":\"3931ba86-e2dc-4dcb-b0b8-ff2974c59db8\",\"version\":\"37.0.2\",\"databaseEnabled\":true,\"cssSelectorsEnabled\":true,\"handlesAlerts\":true,\"webStorageEnabled\":true,\"nativeEvents\":false,\"applicationCacheEnabled\":true,\"takesScreenshot\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1923882051}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:18 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 546\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:20 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"22a948eb-4101-45dd-92a5-7181b7b03240\",\"status\":0,\"state\":null,\"value\":{\"platform\":\"LINUX\",\"javascriptEnabled\":true,\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"rotatable\":false,\"locationContextEnabled\":true,\"webdriver.remote.sessionid\":\"22a948eb-4101-45dd-92a5-7181b7b03240\",\"version\":\"37.0.2\",\"databaseEnabled\":true,\"cssSelectorsEnabled\":true,\"handlesAlerts\":true,\"webStorageEnabled\":true,\"nativeEvents\":false,\"applicationCacheEnabled\":true,\"takesScreenshot\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":898359747}\n"
-   ],
-   "POST session/22a948eb-4101-45dd-92a5-7181b7b03240/url {\"url\":\"http://medialize.github.io/jQuery-contextMenu/demo.html\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:20 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:21 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"22a948eb-4101-45dd-92a5-7181b7b03240\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":169615849}\n"
-   ],
-   "POST session/22a948eb-4101-45dd-92a5-7181b7b03240/click {\"button\":2}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:21 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:21 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"22a948eb-4101-45dd-92a5-7181b7b03240\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1285538535}\n"
-   ],
-   "POST session/22a948eb-4101-45dd-92a5-7181b7b03240/moveto {\"element\":\"0\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:21 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:21 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"22a948eb-4101-45dd-92a5-7181b7b03240\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":612866572}\n"
-   ],
-   "DELETE session/22a948eb-4101-45dd-92a5-7181b7b03240 {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:22 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:22 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"22a948eb-4101-45dd-92a5-7181b7b03240\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":2134262868}\n"
-   ],
-   "POST session/3931ba86-e2dc-4dcb-b0b8-ff2974c59db8/keys {\"value\":[\"\"]}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:18 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:18 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3931ba86-e2dc-4dcb-b0b8-ff2974c59db8\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1952000828}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:18 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:18 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3931ba86-e2dc-4dcb-b0b8-ff2974c59db8\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":916855601}\n"
-   ],
-   "POST session/22a948eb-4101-45dd-92a5-7181b7b03240/element {\"using\":\"xpath\",\"value\":\"//*[contains(text(),'right click me')]\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:21 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 169\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:21 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"22a948eb-4101-45dd-92a5-7181b7b03240\",\"status\":0,\"state\":\"success\",\"value\":{\"ELEMENT\":\"0\"},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":500426191}\n"
-   ],
-   "POST session/3931ba86-e2dc-4dcb-b0b8-ff2974c59db8/element/0/value {\"value\":[\"test\"]}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:18 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:18 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3931ba86-e2dc-4dcb-b0b8-ff2974c59db8\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1498447564}\n"
-   ],
-   "GET session/22a948eb-4101-45dd-92a5-7181b7b03240/element/1/displayed {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:22 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:22 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"22a948eb-4101-45dd-92a5-7181b7b03240\",\"status\":0,\"state\":\"success\",\"value\":true,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1325008783}\n"
-   ],
-   "DELETE session/3931ba86-e2dc-4dcb-b0b8-ff2974c59db8 {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:18 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:18 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3931ba86-e2dc-4dcb-b0b8-ff2974c59db8\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1760992235}\n"
-   ],
-   "POST session/3931ba86-e2dc-4dcb-b0b8-ff2974c59db8/element {\"using\":\"xpath\",\"value\":\"//input[@type='text']\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:18 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 170\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:18 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3931ba86-e2dc-4dcb-b0b8-ff2974c59db8\",\"status\":0,\"state\":\"success\",\"value\":{\"ELEMENT\":\"0\"},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1026878616}\n"
-   ],
-   "POST session/22a948eb-4101-45dd-92a5-7181b7b03240/element {\"using\":\"xpath\",\"value\":\"//*[text()='Paste']\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 13 May 2015 13:41:21 GMT\nServer: Jetty/5.1.x (Linux/3.13.0-52-generic amd64 java/1.7.0_79\nContent-Length: 170\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 13 May 2015 13:41:22 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"22a948eb-4101-45dd-92a5-7181b7b03240\",\"status\":0,\"state\":\"success\",\"value\":{\"ELEMENT\":\"1\"},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":2003185629}\n"
-   ]
-}

+ 0 - 0
t/mock-recordings/11-action-chains-mock-darwin.json → t/mock-recordings/11-action-chains-mock.json


+ 0 - 20
t/mock-recordings/convenience-mock-MSWin32.json

@@ -1,20 +0,0 @@
-{
-   "DELETE session/281c1464-e8df-46d3-8ff2-7f0c80ff0541 {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 18 Feb 2015 13:52:39 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 18 Feb 2015 13:52:39 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"281c1464-e8df-46d3-8ff2-7f0c80ff0541\",\"hCode\":881303524,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"internet_explorer\",\"javascriptEnabled\":true,\"platform\":\"WINDOWS\",\"version\":\"\"}}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 18 Feb 2015 13:52:42 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 818\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 18 Feb 2015 13:52:44 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":null,\"sessionId\":\"45d7a89f-b0db-488b-a2d0-09bfa606a79d\",\"hCode\":1696048499,\"value\":{\"browserAttachTimeout\":0,\"enablePersistentHover\":true,\"ie.forceCreateProcessApi\":false,\"ie.usePerProcessProxy\":false,\"ignoreZoomSetting\":false,\"handlesAlerts\":true,\"version\":\"11\",\"platform\":\"WINDOWS\",\"nativeEvents\":true,\"ie.ensureCleanSession\":false,\"elementScrollBehavior\":0,\"ie.browserCommandLineSwitches\":\"\",\"webdriver.remote.sessionid\":\"45d7a89f-b0db-488b-a2d0-09bfa606a79d\",\"requireWindowFocus\":false,\"browserName\":\"internet explorer\",\"initialBrowserUrl\":\"http://localhost:42913/\",\"takesScreenshot\":true,\"javascriptEnabled\":true,\"ignoreProtectedModeSettings\":false,\"enableElementCacheCleanup\":true,\"cssSelectorsEnabled\":true,\"unexpectedAlertBehaviour\":\"dismiss\"},\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"chrome\",\"javascriptEnabled\":true,\"platform\":\"ANY\",\"version\":\"\"}}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 18 Feb 2015 13:52:39 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 726\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 18 Feb 2015 13:52:41 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":null,\"sessionId\":\"3bf9fe23-aa6c-4a4f-968b-b04f56b59464\",\"hCode\":204950963,\"value\":{\"applicationCacheEnabled\":false,\"rotatable\":false,\"mobileEmulationEnabled\":false,\"chrome\":{\"userDataDir\":\"C:\\\\Users\\\\Daniel\\\\AppData\\\\Local\\\\Temp\\\\scoped_dir3696_7705\"},\"takesHeapSnapshot\":true,\"databaseEnabled\":false,\"handlesAlerts\":true,\"version\":\"40.0.2214.94\",\"platform\":\"XP\",\"browserConnectionEnabled\":false,\"nativeEvents\":true,\"acceptSslCerts\":true,\"webdriver.remote.sessionid\":\"3bf9fe23-aa6c-4a4f-968b-b04f56b59464\",\"locationContextEnabled\":true,\"webStorageEnabled\":true,\"browserName\":\"chrome\",\"takesScreenshot\":true,\"javascriptEnabled\":true,\"cssSelectorsEnabled\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "DELETE session/3bf9fe23-aa6c-4a4f-968b-b04f56b59464 {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 18 Feb 2015 13:52:41 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 18 Feb 2015 13:52:42 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"3bf9fe23-aa6c-4a4f-968b-b04f56b59464\",\"hCode\":80186222,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "DELETE session/45d7a89f-b0db-488b-a2d0-09bfa606a79d {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 18 Feb 2015 13:52:44 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 18 Feb 2015 13:52:45 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"45d7a89f-b0db-488b-a2d0-09bfa606a79d\",\"hCode\":1563676228,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ],
-   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"javascriptEnabled\":true,\"platform\":\"ANY\",\"version\":\"\"}}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 18 Feb 2015 13:52:37 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 amd64 java/1.8.0_31\nContent-Length: 580\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 18 Feb 2015 13:52:39 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":null,\"sessionId\":\"281c1464-e8df-46d3-8ff2-7f0c80ff0541\",\"hCode\":482940564,\"value\":{\"applicationCacheEnabled\":true,\"rotatable\":false,\"handlesAlerts\":true,\"databaseEnabled\":true,\"version\":\"27.0.1\",\"platform\":\"WINDOWS\",\"browserConnectionEnabled\":true,\"nativeEvents\":false,\"acceptSslCerts\":true,\"webdriver.remote.sessionid\":\"281c1464-e8df-46d3-8ff2-7f0c80ff0541\",\"webStorageEnabled\":true,\"locationContextEnabled\":true,\"browserName\":\"firefox\",\"takesScreenshot\":true,\"javascriptEnabled\":true,\"cssSelectorsEnabled\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
-   ]
-}

+ 0 - 41
t/mock-recordings/convenience-mock-linux.json

@@ -1,41 +0,0 @@
-{
-   "DELETE session/cdd01748-70e4-40a1-8d89-b05da140f44f {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:20 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:20 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"cdd01748-70e4-40a1-8d89-b05da140f44f\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1274292338}\n"
-   ],
-   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"phantomjs\",\"javascriptEnabled\":true,\"platform\":\"ANY\",\"version\":\"\"}}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:14 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 668\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:15 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"f0dba23c-9a25-4e41-8d4a-effac8a7ce90\",\"status\":0,\"state\":null,\"value\":{\"platform\":\"LINUX\",\"acceptSslCerts\":false,\"javascriptEnabled\":true,\"browserName\":\"phantomjs\",\"rotatable\":false,\"driverVersion\":\"1.2.0\",\"locationContextEnabled\":false,\"webdriver.remote.sessionid\":\"f0dba23c-9a25-4e41-8d4a-effac8a7ce90\",\"version\":\"2.1.1\",\"cssSelectorsEnabled\":true,\"databaseEnabled\":false,\"handlesAlerts\":false,\"browserConnectionEnabled\":false,\"webStorageEnabled\":false,\"nativeEvents\":true,\"proxy\":{\"proxyType\":\"direct\"},\"applicationCacheEnabled\":false,\"driverName\":\"ghostdriver\",\"takesScreenshot\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1420193766}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:17 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 668\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:17 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"01987f81-cdcb-410b-8f17-60a8d1d96161\",\"status\":0,\"state\":null,\"value\":{\"platform\":\"LINUX\",\"acceptSslCerts\":false,\"javascriptEnabled\":true,\"browserName\":\"phantomjs\",\"rotatable\":false,\"driverVersion\":\"1.2.0\",\"locationContextEnabled\":false,\"webdriver.remote.sessionid\":\"01987f81-cdcb-410b-8f17-60a8d1d96161\",\"version\":\"2.1.1\",\"cssSelectorsEnabled\":true,\"databaseEnabled\":false,\"handlesAlerts\":false,\"browserConnectionEnabled\":false,\"webStorageEnabled\":false,\"nativeEvents\":true,\"proxy\":{\"proxyType\":\"direct\"},\"applicationCacheEnabled\":false,\"driverName\":\"ghostdriver\",\"takesScreenshot\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1314342046}\n"
-   ],
-   "POST session/8a9f9652-3ba6-494e-a0dd-a30d5815de57/url {\"url\":\"about:config\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:19 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:19 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8a9f9652-3ba6-494e-a0dd-a30d5815de57\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1294632660}\n"
-   ],
-   "DELETE session/f0dba23c-9a25-4e41-8d4a-effac8a7ce90 {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:15 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:15 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"f0dba23c-9a25-4e41-8d4a-effac8a7ce90\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1599035612}\n"
-   ],
-   "POST session/01987f81-cdcb-410b-8f17-60a8d1d96161/url {\"url\":\"about:config\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:17 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:18 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"01987f81-cdcb-410b-8f17-60a8d1d96161\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":276236125}\n"
-   ],
-   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"javascriptEnabled\":true,\"platform\":\"ANY\",\"version\":\"\"}}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:15 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 547\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:16 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"17815b1b-75d4-414b-99b4-0ea0e8f42a27\",\"status\":0,\"state\":null,\"value\":{\"platform\":\"LINUX\",\"javascriptEnabled\":true,\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"rotatable\":false,\"locationContextEnabled\":true,\"webdriver.remote.sessionid\":\"17815b1b-75d4-414b-99b4-0ea0e8f42a27\",\"version\":\"45.1.1\",\"databaseEnabled\":true,\"cssSelectorsEnabled\":true,\"handlesAlerts\":true,\"webStorageEnabled\":true,\"nativeEvents\":false,\"applicationCacheEnabled\":true,\"takesScreenshot\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1656404914}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:18 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 547\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:19 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8a9f9652-3ba6-494e-a0dd-a30d5815de57\",\"status\":0,\"state\":null,\"value\":{\"platform\":\"LINUX\",\"javascriptEnabled\":true,\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"rotatable\":false,\"locationContextEnabled\":true,\"webdriver.remote.sessionid\":\"8a9f9652-3ba6-494e-a0dd-a30d5815de57\",\"version\":\"45.1.1\",\"databaseEnabled\":true,\"cssSelectorsEnabled\":true,\"handlesAlerts\":true,\"webStorageEnabled\":true,\"nativeEvents\":false,\"applicationCacheEnabled\":true,\"takesScreenshot\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1391442623}\n"
-   ],
-   "DELETE session/17815b1b-75d4-414b-99b4-0ea0e8f42a27 {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:16 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:16 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"17815b1b-75d4-414b-99b4-0ea0e8f42a27\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":401822801}\n"
-   ],
-   "DELETE session/8a9f9652-3ba6-494e-a0dd-a30d5815de57 {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:19 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:19 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"8a9f9652-3ba6-494e-a0dd-a30d5815de57\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":385212682}\n"
-   ],
-   "POST session/cdd01748-70e4-40a1-8d89-b05da140f44f/url {\"url\":\"about:config\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:20 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:20 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"cdd01748-70e4-40a1-8d89-b05da140f44f\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1212862835}\n"
-   ],
-   "DELETE session/01987f81-cdcb-410b-8f17-60a8d1d96161 {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:18 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:18 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"01987f81-cdcb-410b-8f17-60a8d1d96161\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":126522200}\n"
-   ],
-   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"chrome\",\"javascriptEnabled\":true,\"platform\":\"ANY\",\"version\":\"\"}}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:17 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 802\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:17 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"f1604c5e-6513-4c5c-8a10-1fa723f27ef8\",\"status\":0,\"state\":null,\"value\":{\"platform\":\"LINUX\",\"acceptSslCerts\":true,\"javascriptEnabled\":true,\"browserName\":\"chrome\",\"chrome\":{\"userDataDir\":\"/tmp/.com.google.Chrome.1jmKJv\",\"chromedriverVersion\":\"2.21.371461 (633e689b520b25f3e264a2ede6b74ccc23cb636a)\"},\"rotatable\":false,\"locationContextEnabled\":true,\"mobileEmulationEnabled\":false,\"webdriver.remote.sessionid\":\"f1604c5e-6513-4c5c-8a10-1fa723f27ef8\",\"version\":\"51.0.2704.79\",\"takesHeapSnapshot\":true,\"cssSelectorsEnabled\":true,\"databaseEnabled\":false,\"handlesAlerts\":true,\"browserConnectionEnabled\":false,\"nativeEvents\":true,\"webStorageEnabled\":true,\"hasTouchScreen\":false,\"applicationCacheEnabled\":false,\"takesScreenshot\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1312629976}\n",
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:19 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 802\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:20 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"cdd01748-70e4-40a1-8d89-b05da140f44f\",\"status\":0,\"state\":null,\"value\":{\"platform\":\"LINUX\",\"acceptSslCerts\":true,\"javascriptEnabled\":true,\"browserName\":\"chrome\",\"chrome\":{\"userDataDir\":\"/tmp/.com.google.Chrome.7cwAFE\",\"chromedriverVersion\":\"2.21.371461 (633e689b520b25f3e264a2ede6b74ccc23cb636a)\"},\"rotatable\":false,\"locationContextEnabled\":true,\"mobileEmulationEnabled\":false,\"webdriver.remote.sessionid\":\"cdd01748-70e4-40a1-8d89-b05da140f44f\",\"version\":\"51.0.2704.79\",\"takesHeapSnapshot\":true,\"cssSelectorsEnabled\":true,\"databaseEnabled\":false,\"handlesAlerts\":true,\"browserConnectionEnabled\":false,\"nativeEvents\":true,\"webStorageEnabled\":true,\"hasTouchScreen\":false,\"applicationCacheEnabled\":false,\"takesScreenshot\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1971981169}\n"
-   ],
-   "DELETE session/f1604c5e-6513-4c5c-8a10-1fa723f27ef8 {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Sat, 04 Jun 2016 22:22:17 GMT\nServer: Jetty/5.1.x (Linux/4.4.11-moby amd64 java/1.7.0_101\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Sat, 04 Jun 2016 22:22:17 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"f1604c5e-6513-4c5c-8a10-1fa723f27ef8\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":1962210199}\n"
-   ]
-}

+ 20 - 0
t/mock-recordings/convenience-mock.json

@@ -0,0 +1,20 @@
+{
+   "DELETE session/2888ae54-8edf-4547-b8fe-abd44488cff7 {}" : [
+      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Thu, 25 Aug 2016 05:54:23 GMT\nServer: Jetty/5.1.x (Windows 10/10.0 amd64 java/1.8.0_101\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Thu, 25 Aug 2016 05:54:24 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"2888ae54-8edf-4547-b8fe-abd44488cff7\",\"hCode\":157100316,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
+   ],
+   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"phantomjs\",\"javascriptEnabled\":true,\"platform\":\"ANY\",\"version\":\"\"}}" : [
+      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Thu, 25 Aug 2016 05:54:10 GMT\nServer: Jetty/5.1.x (Windows 10/10.0 amd64 java/1.8.0_101\nContent-Length: 665\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Thu, 25 Aug 2016 05:54:16 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":null,\"sessionId\":\"1646a050-7dd7-4b2f-8cf5-ef0460333c5d\",\"hCode\":1951370281,\"value\":{\"applicationCacheEnabled\":false,\"rotatable\":false,\"handlesAlerts\":false,\"databaseEnabled\":false,\"version\":\"2.1.1\",\"platform\":\"XP\",\"browserConnectionEnabled\":false,\"proxy\":{\"proxyType\":\"direct\"},\"nativeEvents\":true,\"acceptSslCerts\":false,\"driverVersion\":\"1.2.0\",\"webdriver.remote.sessionid\":\"1646a050-7dd7-4b2f-8cf5-ef0460333c5d\",\"locationContextEnabled\":false,\"webStorageEnabled\":false,\"browserName\":\"phantomjs\",\"takesScreenshot\":true,\"driverName\":\"ghostdriver\",\"javascriptEnabled\":true,\"cssSelectorsEnabled\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
+   ],
+   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"chrome\",\"javascriptEnabled\":true,\"platform\":\"ANY\",\"version\":\"\"}}" : [
+      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Thu, 25 Aug 2016 05:54:21 GMT\nServer: Jetty/5.1.x (Windows 10/10.0 amd64 java/1.8.0_101\nContent-Length: 830\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Thu, 25 Aug 2016 05:54:23 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":null,\"sessionId\":\"2888ae54-8edf-4547-b8fe-abd44488cff7\",\"hCode\":1679356165,\"value\":{\"applicationCacheEnabled\":false,\"rotatable\":false,\"mobileEmulationEnabled\":false,\"chrome\":{\"chromedriverVersion\":\"2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc1b)\",\"userDataDir\":\"C:\\\\Users\\\\Daniel\\\\AppData\\\\Local\\\\Temp\\\\scoped_dir3944_3327\"},\"takesHeapSnapshot\":true,\"databaseEnabled\":false,\"handlesAlerts\":true,\"hasTouchScreen\":false,\"version\":\"52.0.2743.116\",\"platform\":\"XP\",\"browserConnectionEnabled\":false,\"nativeEvents\":true,\"acceptSslCerts\":true,\"webdriver.remote.sessionid\":\"2888ae54-8edf-4547-b8fe-abd44488cff7\",\"locationContextEnabled\":true,\"webStorageEnabled\":true,\"browserName\":\"chrome\",\"takesScreenshot\":true,\"javascriptEnabled\":true,\"cssSelectorsEnabled\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
+   ],
+   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"javascriptEnabled\":true,\"platform\":\"ANY\",\"version\":\"\"}}" : [
+      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Thu, 25 Aug 2016 05:54:17 GMT\nServer: Jetty/5.1.x (Windows 10/10.0 amd64 java/1.8.0_101\nContent-Length: 548\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Thu, 25 Aug 2016 05:54:21 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":null,\"sessionId\":\"bac282aa-dbbe-4311-9f7c-593724b5fc58\",\"hCode\":520389511,\"value\":{\"applicationCacheEnabled\":true,\"rotatable\":false,\"handlesAlerts\":true,\"databaseEnabled\":true,\"version\":\"46.0.1\",\"platform\":\"WINDOWS\",\"nativeEvents\":false,\"acceptSslCerts\":true,\"webdriver.remote.sessionid\":\"bac282aa-dbbe-4311-9f7c-593724b5fc58\",\"webStorageEnabled\":true,\"locationContextEnabled\":true,\"browserName\":\"firefox\",\"takesScreenshot\":true,\"javascriptEnabled\":true,\"cssSelectorsEnabled\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
+   ],
+   "DELETE session/bac282aa-dbbe-4311-9f7c-593724b5fc58 {}" : [
+      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Thu, 25 Aug 2016 05:54:21 GMT\nServer: Jetty/5.1.x (Windows 10/10.0 amd64 java/1.8.0_101\nContent-Length: 158\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Thu, 25 Aug 2016 05:54:21 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"bac282aa-dbbe-4311-9f7c-593724b5fc58\",\"hCode\":324001014,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
+   ],
+   "DELETE session/1646a050-7dd7-4b2f-8cf5-ef0460333c5d {}" : [
+      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Thu, 25 Aug 2016 05:54:16 GMT\nServer: Jetty/5.1.x (Windows 10/10.0 amd64 java/1.8.0_101\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Thu, 25 Aug 2016 05:54:17 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"state\":\"success\",\"sessionId\":\"1646a050-7dd7-4b2f-8cf5-ef0460333c5d\",\"hCode\":1385946010,\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"status\":0}\n"
+   ]
+}

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 8
t/mock-recordings/finders-mock-MSWin32.json


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 2
t/mock-recordings/finders-mock-linux.json


+ 0 - 0
t/mock-recordings/finders-mock-darwin.json → t/mock-recordings/finders-mock.json


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 7
t/mock-recordings/firefox-profile-mock-MSWin32.json


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 10
t/mock-recordings/firefox-profile-mock-linux.json


+ 0 - 0
t/mock-recordings/firefox-profile-mock-darwin.json → t/mock-recordings/firefox-profile-mock.json


+ 0 - 20
t/mock-recordings/test-selenium-remote-driver-google-mock-MSWin32.json

@@ -1,20 +0,0 @@
-{
-   "DELETE session/ba034a6b-15dd-4066-b65c-cc8ea62c4e61 {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:20 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:20 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"ba034a6b-15dd-4066-b65c-cc8ea62c4e61\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":14758965}\n"
-   ],
-   "POST session/ba034a6b-15dd-4066-b65c-cc8ea62c4e61/url {\"url\":\"http://www.google.com\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:19 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:20 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"ba034a6b-15dd-4066-b65c-cc8ea62c4e61\",\"status\":0,\"value\":null,\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":29722688}\n"
-   ],
-   "GET session/ba034a6b-15dd-4066-b65c-cc8ea62c4e61/element/0/text {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:20 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 269\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:20 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"ba034a6b-15dd-4066-b65c-cc8ea62c4e61\",\"status\":0,\"value\":\"+You\\nGmail\\nImages\\nSign in\\nGoogle SearchI'm Feeling Lucky\\nPrivacy & Terms Settings\\nAdvertising Business About\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":13908256}\n"
-   ],
-   "POST session/ba034a6b-15dd-4066-b65c-cc8ea62c4e61/element {\"using\":\"xpath\",\"value\":\"//body\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:20 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 168\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:20 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"ba034a6b-15dd-4066-b65c-cc8ea62c4e61\",\"status\":0,\"value\":{\"ELEMENT\":\"0\"},\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":31753661}\n"
-   ],
-   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"javascriptEnabled\":false,\"platform\":\"ANY\",\"version\":null}}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:30:51 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 579\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:19 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"ba034a6b-15dd-4066-b65c-cc8ea62c4e61\",\"status\":0,\"value\":{\"platform\":\"WINDOWS\",\"javascriptEnabled\":true,\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"rotatable\":false,\"locationContextEnabled\":true,\"webdriver.remote.sessionid\":\"ba034a6b-15dd-4066-b65c-cc8ea62c4e61\",\"version\":\"27.0.1\",\"databaseEnabled\":true,\"cssSelectorsEnabled\":true,\"handlesAlerts\":true,\"browserConnectionEnabled\":true,\"webStorageEnabled\":true,\"nativeEvents\":false,\"applicationCacheEnabled\":true,\"takesScreenshot\":true},\"state\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":19881910}\n"
-   ],
-   "GET session/ba034a6b-15dd-4066-b65c-cc8ea62c4e61/title {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Wed, 05 Nov 2014 05:31:20 GMT\nServer: Jetty/5.1.x (Windows 7/6.1 x86 java/1.7.0_51\nContent-Length: 159\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Wed, 05 Nov 2014 05:31:20 GMT\nClient-Peer: ::1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"ba034a6b-15dd-4066-b65c-cc8ea62c4e61\",\"status\":0,\"value\":\"Google\",\"state\":\"success\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":501665}\n"
-   ]
-}

+ 0 - 20
t/mock-recordings/test-selenium-remote-driver-google-mock-linux.json

@@ -1,20 +0,0 @@
-{
-   "GET session/3f90768c-7a6b-426a-9453-94612bc1b5fe/title {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:54 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 161\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:54 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3f90768c-7a6b-426a-9453-94612bc1b5fe\",\"status\":0,\"state\":\"success\",\"value\":\"Google\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":28986901}\n"
-   ],
-   "POST session/3f90768c-7a6b-426a-9453-94612bc1b5fe/element {\"using\":\"xpath\",\"value\":\"//body\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:54 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 167\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:54 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3f90768c-7a6b-426a-9453-94612bc1b5fe\",\"status\":0,\"state\":\"success\",\"value\":{\"ELEMENT\":\"0\"},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":7348436}\n"
-   ],
-   "POST session {\"desiredCapabilities\":{\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"javascriptEnabled\":false,\"platform\":\"ANY\",\"version\":null}}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:43 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 577\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:53 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3f90768c-7a6b-426a-9453-94612bc1b5fe\",\"status\":0,\"state\":null,\"value\":{\"platform\":\"LINUX\",\"javascriptEnabled\":true,\"acceptSslCerts\":true,\"browserName\":\"firefox\",\"rotatable\":false,\"locationContextEnabled\":true,\"webdriver.remote.sessionid\":\"3f90768c-7a6b-426a-9453-94612bc1b5fe\",\"version\":\"27.0.1\",\"databaseEnabled\":true,\"cssSelectorsEnabled\":true,\"handlesAlerts\":true,\"browserConnectionEnabled\":true,\"webStorageEnabled\":true,\"nativeEvents\":false,\"applicationCacheEnabled\":true,\"takesScreenshot\":true},\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":19003540}\n"
-   ],
-   "GET session/3f90768c-7a6b-426a-9453-94612bc1b5fe/element/0/text {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:54 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 363\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:55 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3f90768c-7a6b-426a-9453-94612bc1b5fe\",\"status\":0,\"state\":\"success\",\"value\":\"+You\\nGmail\\nImages\\nSign in\\nGoogle SearchI\\u0027m Feeling Lucky\\nLive! Watch President Obama\\u0027s State of the Union address. Tonight on YouTube at 9p ET\\nPrivacy Terms Settings\\nAdvertising Business About\",\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":5194611}\n"
-   ],
-   "DELETE session/3f90768c-7a6b-426a-9453-94612bc1b5fe {}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:55 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:55 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3f90768c-7a6b-426a-9453-94612bc1b5fe\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":13293943}\n"
-   ],
-   "POST session/3f90768c-7a6b-426a-9453-94612bc1b5fe/url {\"url\":\"http://www.google.com\"}" : [
-      "HTTP/1.1 200 OK\nCache-Control: no-cache\nCache-Control: no-cache\nConnection: close\nDate: Tue, 20 Jan 2015 21:32:53 GMT\nServer: Jetty/5.1.x (Linux/3.2.0-23-generic-pae i386 java/1.7.0_51\nContent-Length: 157\nContent-Type: application/json; charset=utf-8\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nClient-Date: Tue, 20 Jan 2015 21:32:54 GMT\nClient-Peer: 127.0.0.1:4444\nClient-Response-Num: 1\n\n{\"sessionId\":\"3f90768c-7a6b-426a-9453-94612bc1b5fe\",\"status\":0,\"state\":\"success\",\"value\":null,\"class\":\"org.openqa.selenium.remote.Response\",\"hCode\":25525711}\n"
-   ]
-}

+ 0 - 0
t/mock-recordings/test-selenium-remote-driver-google-mock-darwin.json → t/mock-recordings/test-selenium-remote-driver-google-mock.json


Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů