Protocol stability test. It is dumping request/response pairs of RuntimeAgent functions. ----------------------------------------------------------- RuntimeAgent.evaluate("testObject","test",false) request: { seq : domain : "Runtime" command : "evaluate" arguments : { expression : "testObject" objectGroup : "test" includeCommandLineAPI : false } } response: { seq : body : { result : { objectId : { injectedScriptId : id : groupName : "test" } type : "object" description : "TestObject" hasChildren : true } } } ----------------------------------------------------------- RuntimeAgent.evaluateOn({"injectedScriptId":,"id":,"groupName":"test"},"this.assignedByEvaluateOn = \"evaluateOn function works fine\";") request: { seq : domain : "Runtime" command : "evaluateOn" arguments : { objectId : { injectedScriptId : id : groupName : "test" } expression : "this.assignedByEvaluateOn = "evaluateOn function works fine";" } } response: { seq : body : { result : { objectId : null type : "undefined" description : "undefined" hasChildren : false } } } ----------------------------------------------------------- RuntimeAgent.setPropertyValue({"injectedScriptId":,"id":,"groupName":"test"},"assignedBySetPropertyValue","true") request: { seq : domain : "Runtime" command : "setPropertyValue" arguments : { objectId : { injectedScriptId : id : groupName : "test" } propertyName : "assignedBySetPropertyValue" expression : "true" } } response: { seq : body : { result : true } } ----------------------------------------------------------- RuntimeAgent.setPropertyValue({"injectedScriptId":,"id":,"groupName":"test"},"removedBySetPropertyValue","") request: { seq : domain : "Runtime" command : "setPropertyValue" arguments : { objectId : { injectedScriptId : id : groupName : "test" } propertyName : "removedBySetPropertyValue" expression : "" } } response: { seq : body : { result : true } } ----------------------------------------------------------- RuntimeAgent.getProperties({"injectedScriptId":,"id":,"groupName":"test"},false,false) request: { seq : domain : "Runtime" command : "getProperties" arguments : { objectId : { injectedScriptId : id : groupName : "test" } ignoreHasOwnProperty : false abbreviate : false } } response: { seq : body : { result : { 0 : { name : "assignedByEvaluateOn" value : { objectId : null type : "string" description : "evaluateOn function works fine" hasChildren : false } } 1 : { name : "assignedBySetPropertyValue" value : { objectId : null type : "boolean" description : "true" hasChildren : false } } 2 : { name : "__proto__" value : { objectId : { injectedScriptId : id : groupName : "test" } type : "object" description : "TestObject" hasChildren : true } } } } } ----------------------------------------------------------- RuntimeAgent.releaseObject({"injectedScriptId":,"id":,"groupName":"test"}) request: { seq : domain : "Runtime" command : "releaseObject" arguments : { objectId : { injectedScriptId : id : groupName : "test" } } } response: { seq : } ----------------------------------------------------------- RuntimeAgent.releaseObjectGroup(,"test") request: { seq : domain : "Runtime" command : "releaseObjectGroup" arguments : { injectedScriptId : objectGroup : "test" } } response: { seq : } =========================================================== Coverage for RuntimeAgent { evaluate : "checked" evaluateOn : "checked" getProperties : "checked" setPropertyValue : "checked" releaseObject : "checked" releaseObjectGroup : "checked" }