2022/04/28 16:22:33:464 HTTPServer: POST http://127.0.0.1:52975/session 2022/04/28 16:22:33:464 HTTPServer: {"desiredCapabilities":{"browserName":"safari","platformName":"mac","safari:diagnose":true},"capabilities":{"alwaysMatch":{"browserName":"safari","platformName":"mac","safari:diagnose":true}}} 2022/04/28 16:22:33:509 AutomationProtocol: SEND {"method":"Automation.createBrowsingContext","params":{"presentationHint":"Window"},"id":1} 2022/04/28 16:22:33:826 AutomationProtocol: RECV {"result":{"handle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","presentation":"Window"},"id":1} 2022/04/28 16:22:33:826 AutomationProtocol: SEND {"method":"Automation.switchToBrowsingContext","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","frameHandle":""},"id":2} 2022/04/28 16:22:33:897 AutomationProtocol: RECV {"result":{},"id":2} 2022/04/28 16:22:33:897 HTTPServer: --> HTTP 200 2022/04/28 16:22:33:897 HTTPServer: --> {"value":{"sessionId":"022D0281-21A0-48D8-8C5B-9CC0727BEA22","capabilities":{"safari:platformVersion":"12.3.1","safari:automaticInspection":false,"webkit:WebRTC":{"DisableICECandidateFiltering":false,"DisableInsecureMediaCapture":false},"browserVersion":"15.4","strictFileInteractability":false,"browserName":"Safari","safari:useSimulator":false,"safari:platformBuildVersion":"21E258","setWindowRect":true,"acceptInsecureCerts":false,"safari:automaticProfiling":false,"platformName":"macOS","safari:diagnose":true}}} 2022/04/28 16:22:33:904 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/timeouts 2022/04/28 16:22:33:904 HTTPServer: {"pageLoad":300000,"script":120000} 2022/04/28 16:22:33:905 HTTPServer: --> HTTP 200 2022/04/28 16:22:33:905 HTTPServer: --> {"value":null} 2022/04/28 16:22:33:907 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/window/rect 2022/04/28 16:22:33:907 HTTPServer: {"x":0,"y":0,"width":800,"height":600} 2022/04/28 16:22:33:908 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":3} 2022/04/28 16:22:33:954 AutomationProtocol: RECV {"result":{"result":false},"id":3} 2022/04/28 16:22:33:954 AutomationProtocol: SEND {"method":"Automation.getBrowsingContext","params":{"handle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":4} 2022/04/28 16:22:33:955 AutomationProtocol: RECV {"result":{"context":{"handle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","active":false,"url":"","windowOrigin":{"x":29,"y":670},"windowSize":{"width":800,"height":600}}},"id":4} 2022/04/28 16:22:33:959 AutomationProtocol: SEND {"method":"Automation.setWindowFrameOfBrowsingContext","params":{"handle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","origin":{"x":0,"y":0},"size":{"width":800,"height":600}},"id":5} 2022/04/28 16:22:33:967 AutomationProtocol: RECV {"result":{},"id":5} 2022/04/28 16:22:33:967 AutomationProtocol: SEND {"method":"Automation.getBrowsingContext","params":{"handle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":6} 2022/04/28 16:22:33:968 AutomationProtocol: RECV {"result":{"context":{"handle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","active":false,"url":"","windowOrigin":{"x":0,"y":25},"windowSize":{"width":800,"height":600}}},"id":6} 2022/04/28 16:22:33:968 HTTPServer: --> HTTP 200 2022/04/28 16:22:33:968 HTTPServer: --> {"value":{"y":25,"x":0,"width":800,"height":600}} 2022/04/28 16:22:34:003 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/url 2022/04/28 16:22:34:004 HTTPServer: {"url":"data:text/html;charset=utf-8,
"} 2022/04/28 16:22:34:004 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":7} 2022/04/28 16:22:34:004 AutomationProtocol: RECV {"result":{"result":false},"id":7} 2022/04/28 16:22:34:004 AutomationProtocol: SEND {"method":"Automation.navigateBrowsingContext","params":{"pageLoadTimeout":300000,"url":"data:text/html;charset=utf-8,\u003Chtml\u003E\u003Cbody\u003E\u003C/body\u003E\u003C/html\u003E","pageLoadStrategy":"Normal","handle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":8} 2022/04/28 16:22:34:062 AutomationProtocol: RECV {"result":{},"id":8} 2022/04/28 16:22:34:062 HTTPServer: --> HTTP 200 2022/04/28 16:22:34:062 HTTPServer: --> {"value":null} 2022/04/28 16:22:34:062 AutomationProtocol: RECV {"method":"Automation.browsingContextCleared","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"}} 2022/04/28 16:22:35:053 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:35:053 HTTPServer: {"script":"\n (function() {\n const orange = document.createElement('div');\n orange.id = 'browsertime-orange';\n orange.style.position = 'absolute';\n orange.style.top = '0';\n orange.style.left = '0';\n orange.style.width = Math.max(document.documentElement.clientWidth, document.body.clientWidth) + 'px';\n orange.style.height = Math.max(document.documentElement.clientHeight,document.body.clientHeight) + 'px';\n orange.style.backgroundColor = '#DE640D';\n orange.style.zIndex = '2147483647';\n\t\t orange.style.pointerEvents = 'none';\n document.body.appendChild(orange);\n document.body.style.display = '';\n })();","args":[]} 2022/04/28 16:22:35:054 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":9} 2022/04/28 16:22:35:055 AutomationProtocol: RECV {"result":{"result":false},"id":9} 2022/04/28 16:22:35:055 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":[],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {\n (function() {\n const orange = document.createElement('div');\n orange.id = 'browsertime-orange';\n orange.style.position = 'absolute';\n orange.style.top = '0';\n orange.style.left = '0';\n orange.style.width = Math.max(document.documentElement.clientWidth, document.body.clientWidth) + 'px';\n orange.style.height = Math.max(document.documentElement.clientHeight,document.body.clientHeight) + 'px';\n orange.style.backgroundColor = '#DE640D';\n orange.style.zIndex = '2147483647';\n\t\t orange.style.pointerEvents = 'none';\n document.body.appendChild(orange);\n document.body.style.display = '';\n })();}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":10} 2022/04/28 16:22:35:062 AutomationProtocol: RECV {"result":{"result":"null"},"id":10} 2022/04/28 16:22:35:062 HTTPServer: --> HTTP 200 2022/04/28 16:22:35:062 HTTPServer: --> {"value":null} 2022/04/28 16:22:35:066 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/elements 2022/04/28 16:22:35:066 HTTPServer: {"using":"css selector","value":"*[id=\"browsertime-orange\"]"} 2022/04/28 16:22:35:066 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":11} 2022/04/28 16:22:35:067 AutomationProtocol: RECV {"result":{"result":false},"id":11} 2022/04/28 16:22:35:068 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["\"css selector\"","null","\"*[id=\\\"browsertime-orange\\\"]\"","false","0"],"frameHandle":"","expectsImplicitCallbackArgument":true,"function":"function(strategy,ancestorElement,query,firstResultOnly,timeoutDuration,callback){ancestorElement=ancestorElement||document;switch(strategy){case\"id\":strategy=\"css selector\";query=\"[id=\\\"\"+escape(query)+\"\\\"]\";break;case\"name\":strategy=\"css selector\";query=\"[name=\\\"\"+escape(query)+\"\\\"]\";break;}\nswitch(strategy){case\"css selector\":case\"link text\":case\"partial link text\":case\"tag name\":case\"class name\":case\"xpath\":break;default:\n throw{name:\"InvalidParameter\",message:(\"Unsupported locator strategy: \"+strategy+\".\")};}\nfunction escape(string){return string.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g,\"\\\\\\\"\");}\nfunction tryToFindNode(){try{switch(strategy){case\"css selector\":if(firstResultOnly)\nreturn ancestorElement.querySelector(query)||null;return Array.from(ancestorElement.querySelectorAll(query));case\"link text\":let linkTextResult=[];for(let link of ancestorElement.getElementsByTagName(\"a\")){if(link.text.trim()==query){linkTextResult.push(link);if(firstResultOnly)\nbreak;}}\nif(firstResultOnly)\nreturn linkTextResult[0]||null;return linkTextResult;case\"partial link text\":let partialLinkResult=[];for(let link of ancestorElement.getElementsByTagName(\"a\")){if(link.text.includes(query)){partialLinkResult.push(link);if(firstResultOnly)\nbreak;}}\nif(firstResultOnly)\nreturn partialLinkResult[0]||null;return partialLinkResult;case\"tag name\":let tagNameResult=ancestorElement.getElementsByTagName(query);if(firstResultOnly)\nreturn tagNameResult[0]||null;return Array.from(tagNameResult);case\"class name\":let classNameResult=ancestorElement.getElementsByClassName(query);if(firstResultOnly)\nreturn classNameResult[0]||null;return Array.from(classNameResult);case\"xpath\":if(firstResultOnly){let xpathResult=document.evaluate(query,ancestorElement,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null);if(!xpathResult)\nreturn null;return xpathResult.singleNodeValue;}\nlet xpathResult=document.evaluate(query,ancestorElement,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);if(!xpathResult||!xpathResult.snapshotLength)\nreturn[];let arrayResult=[];for(let i=0;i\u003CxpathResult.snapshotLength;++i)\narrayResult.push(xpathResult.snapshotItem(i));return arrayResult;}}catch(error){\n throw{name:\"InvalidSelector\",message:error.message};}}\nconst pollInterval=50;let pollUntil=performance.now()+timeoutDuration;function pollForNode(){let result=tryToFindNode();if(typeof result===\"string\"||result instanceof Node||(result instanceof Array&&result.length)){callback(result);return;}\nlet durationRemaining=pollUntil-performance.now();if(durationRemaining\u003CpollInterval){callback(firstResultOnly?null:[]);return;}\nsetTimeout(pollForNode,pollInterval);}\npollForNode();}\n//# sourceURL=__InjectedScript_WDFindNodes.js\n","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":0},"id":12} 2022/04/28 16:22:35:103 AutomationProtocol: RECV {"result":{"result":"[{\"session-node-022D0281-21A0-48D8-8C5B-9CC0727BEA22\":\"node-10CE6351-9D51-4907-97A2-A42892CE8F7A\"}]"},"id":12} 2022/04/28 16:22:35:103 HTTPServer: --> HTTP 200 2022/04/28 16:22:35:103 HTTPServer: --> {"value":[{"element-6066-11e4-a52e-4f735466cecf":"node-10CE6351-9D51-4907-97A2-A42892CE8F7A"}]} 2022/04/28 16:22:36:866 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:36:866 HTTPServer: {"script":"return document.documentURI;","args":[]} 2022/04/28 16:22:36:866 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":13} 2022/04/28 16:22:36:867 AutomationProtocol: RECV {"result":{"result":false},"id":13} 2022/04/28 16:22:36:867 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":[],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return document.documentURI;}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":14} 2022/04/28 16:22:36:868 AutomationProtocol: RECV {"result":{"result":"\"data:text/html;charset=utf-8,\u003Chtml\u003E\u003Cbody\u003E\u003C/body\u003E\u003C/html\u003E\""},"id":14} 2022/04/28 16:22:36:869 HTTPServer: --> HTTP 200 2022/04/28 16:22:36:869 HTTPServer: --> {"value":"data:text\/html;charset=utf-8,<\/body><\/html>"} 2022/04/28 16:22:36:904 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:36:904 HTTPServer: {"script":"(function() {\n const orange = document.getElementById('browsertime-orange');\n if (orange) {\n orange.parentNode.removeChild(orange);\n }\n window.requestAnimationFrame(function(){\n window.requestAnimationFrame(function(){\n window.location=\"https://www.google.com\";\n });\n });\n })();","args":[]} 2022/04/28 16:22:36:904 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":15} 2022/04/28 16:22:36:905 AutomationProtocol: RECV {"result":{"result":false},"id":15} 2022/04/28 16:22:36:905 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":[],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {(function() {\n const orange = document.getElementById('browsertime-orange');\n if (orange) {\n orange.parentNode.removeChild(orange);\n }\n window.requestAnimationFrame(function(){\n window.requestAnimationFrame(function(){\n window.location=\"https://www.google.com\";\n });\n });\n })();}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":16} 2022/04/28 16:22:36:906 AutomationProtocol: RECV {"result":{"result":"null"},"id":16} 2022/04/28 16:22:36:907 HTTPServer: --> HTTP 200 2022/04/28 16:22:36:907 HTTPServer: --> {"value":null} 2022/04/28 16:22:37:310 AutomationProtocol: RECV {"method":"Automation.browsingContextCleared","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"}} 2022/04/28 16:22:41:909 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:41:909 HTTPServer: {"script":"\nreturn (function(waitTime) {\n try { \n var end = window.performance.timing.loadEventEnd;\n var start= window.performance.timing.navigationStart;\n return (end > 0) && (performance.now() > end - start + waitTime);\n } \n catch(e) {\n return true;\n }\n})(arguments[arguments.length - 1]);\n","args":[8000]} 2022/04/28 16:22:41:909 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":17} 2022/04/28 16:22:41:910 AutomationProtocol: RECV {"result":{"result":false},"id":17} 2022/04/28 16:22:41:910 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["8000"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {\nreturn (function(waitTime) {\n try { \n var end = window.performance.timing.loadEventEnd;\n var start= window.performance.timing.navigationStart;\n return (end \u003E 0) && (performance.now() \u003E end - start + waitTime);\n } \n catch(e) {\n return true;\n }\n})(arguments[arguments.length - 1]);\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":18} 2022/04/28 16:22:41:911 AutomationProtocol: RECV {"result":{"result":"false"},"id":18} 2022/04/28 16:22:41:911 HTTPServer: --> HTTP 200 2022/04/28 16:22:41:911 HTTPServer: --> {"value":false} 2022/04/28 16:22:43:414 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:43:414 HTTPServer: {"script":"\nreturn (function(waitTime) {\n try { \n var end = window.performance.timing.loadEventEnd;\n var start= window.performance.timing.navigationStart;\n return (end > 0) && (performance.now() > end - start + waitTime);\n } \n catch(e) {\n return true;\n }\n})(arguments[arguments.length - 1]);\n","args":[8000]} 2022/04/28 16:22:43:415 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":19} 2022/04/28 16:22:43:415 AutomationProtocol: RECV {"result":{"result":false},"id":19} 2022/04/28 16:22:43:415 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["8000"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {\nreturn (function(waitTime) {\n try { \n var end = window.performance.timing.loadEventEnd;\n var start= window.performance.timing.navigationStart;\n return (end \u003E 0) && (performance.now() \u003E end - start + waitTime);\n } \n catch(e) {\n return true;\n }\n})(arguments[arguments.length - 1]);\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":20} 2022/04/28 16:22:43:416 AutomationProtocol: RECV {"result":{"result":"false"},"id":20} 2022/04/28 16:22:43:416 HTTPServer: --> HTTP 200 2022/04/28 16:22:43:416 HTTPServer: --> {"value":false} 2022/04/28 16:22:44:919 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:44:919 HTTPServer: {"script":"\nreturn (function(waitTime) {\n try { \n var end = window.performance.timing.loadEventEnd;\n var start= window.performance.timing.navigationStart;\n return (end > 0) && (performance.now() > end - start + waitTime);\n } \n catch(e) {\n return true;\n }\n})(arguments[arguments.length - 1]);\n","args":[8000]} 2022/04/28 16:22:44:953 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":21} 2022/04/28 16:22:44:954 AutomationProtocol: RECV {"result":{"result":false},"id":21} 2022/04/28 16:22:44:954 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["8000"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {\nreturn (function(waitTime) {\n try { \n var end = window.performance.timing.loadEventEnd;\n var start= window.performance.timing.navigationStart;\n return (end \u003E 0) && (performance.now() \u003E end - start + waitTime);\n } \n catch(e) {\n return true;\n }\n})(arguments[arguments.length - 1]);\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":22} 2022/04/28 16:22:44:955 AutomationProtocol: RECV {"result":{"result":"false"},"id":22} 2022/04/28 16:22:44:955 HTTPServer: --> HTTP 200 2022/04/28 16:22:44:955 HTTPServer: --> {"value":false} 2022/04/28 16:22:46:458 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:46:458 HTTPServer: {"script":"\nreturn (function(waitTime) {\n try { \n var end = window.performance.timing.loadEventEnd;\n var start= window.performance.timing.navigationStart;\n return (end > 0) && (performance.now() > end - start + waitTime);\n } \n catch(e) {\n return true;\n }\n})(arguments[arguments.length - 1]);\n","args":[8000]} 2022/04/28 16:22:46:458 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":23} 2022/04/28 16:22:46:459 AutomationProtocol: RECV {"result":{"result":false},"id":23} 2022/04/28 16:22:46:459 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["8000"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {\nreturn (function(waitTime) {\n try { \n var end = window.performance.timing.loadEventEnd;\n var start= window.performance.timing.navigationStart;\n return (end \u003E 0) && (performance.now() \u003E end - start + waitTime);\n } \n catch(e) {\n return true;\n }\n})(arguments[arguments.length - 1]);\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":24} 2022/04/28 16:22:46:460 AutomationProtocol: RECV {"result":{"result":"true"},"id":24} 2022/04/28 16:22:46:460 HTTPServer: --> HTTP 200 2022/04/28 16:22:46:460 HTTPServer: --> {"value":true} 2022/04/28 16:22:46:462 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:46:462 HTTPServer: {"script":"return document.documentURI;","args":[]} 2022/04/28 16:22:46:463 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":25} 2022/04/28 16:22:46:463 AutomationProtocol: RECV {"result":{"result":false},"id":25} 2022/04/28 16:22:46:463 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":[],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return document.documentURI;}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":26} 2022/04/28 16:22:46:464 AutomationProtocol: RECV {"result":{"result":"\"https://www.google.com/\""},"id":26} 2022/04/28 16:22:46:464 HTTPServer: --> HTTP 200 2022/04/28 16:22:46:464 HTTPServer: --> {"value":"https:\/\/www.google.com\/"} 2022/04/28 16:22:49:958 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:49:958 HTTPServer: {"script":"return performance.getEntriesByType(\"resource\");","args":[null]} 2022/04/28 16:22:49:959 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":27} 2022/04/28 16:22:49:959 AutomationProtocol: RECV {"result":{"result":false},"id":27} 2022/04/28 16:22:49:959 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return performance.getEntriesByType(\"resource\");}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":28} 2022/04/28 16:22:49:961 AutomationProtocol: RECV {"result":{"result":"[{\"name\":\"https://www.google.com/manifest?pwa=webhp\",\"entryType\":\"resource\",\"startTime\":147,\"duration\":66,\"initiatorType\":\"other\",\"nextHopProtocol\":\"h2\",\"workerStart\":0,\"redirectStart\":0,\"redirectEnd\":0,\"fetchStart\":147,\"domainLookupStart\":147,\"domainLookupEnd\":148,\"connectStart\":149,\"connectEnd\":177,\"secureConnectionStart\":153,\"requestStart\":179,\"responseStart\":213,\"responseEnd\":213},{\"name\":\"https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png\",\"entryType\":\"resource\",\"startTime\":159,\"duration\":24,\"initiatorType\":\"img\",\"nextHopProtocol\":\"h2\",\"workerStart\":0,\"redirectStart\":0,\"redirectEnd\":0,\"fetchStart\":159,\"domainLookupStart\":159,\"domainLookupEnd\":159,\"connectStart\":159,\"connectEnd\":159,\"secureConnectionStart\":159,\"requestStart\":159,\"responseStart\":182,\"responseEnd\":183},{\"name\":\"https://fonts.gstatic.com/s/i/productlogos/googleg/v6/24px.svg\",\"entryType\":\"resource\",\"startTime\":162,\"duration\":59,\"initiatorType\":\"img\",\"nextHopProtocol\":\"h2\",\"workerStart\":0,\"redirectStart\":0,\"redirectEnd\":0,\"fetchStart\":162,\"domainLookupStart\":0,\"domainLookupEnd\":0,\"connectStart\":0,\"connectEnd\":0,\"secureConnectionStart\":0,\"requestStart\":0,\"responseStart\":0,\"responseEnd\":221},{\"name\":\"https://www.google.com/images/searchbox/desktop_searchbox_sprites318_hr.png\",\"entryType\":\"resource\",\"startTime\":184,\"duration\":21.00000000000003,\"initiatorType\":\"css\",\"nextHopProtocol\":\"h2\",\"workerStart\":0,\"redirectStart\":0,\"redirectEnd\":0,\"fetchStart\":184,\"domainLookupStart\":184,\"domainLookupEnd\":184,\"connectStart\":184,\"connectEnd\":184,\"secureConnectionStart\":184,\"requestStart\":184,\"responseStart\":205.00000000000003,\"responseEnd\":205.00000000000003},{\"name\":\"https://www.google.com/gen_204?atyp=i&ct=bxjs&cad=&b=0&ei=LaNqYrqBC8iYlwS6gL-gCg&zx=1651155757155\",\"entryType\":\"resource\",\"startTime\":209,\"duration\":31,\"initiatorType\":\"img\",\"nextHopProtocol\":\"h2\",\"workerStart\":0,\"redirectStart\":0,\"redirectEnd\":0,\"fetchStart\":209,\"domainLookupStart\":209,\"domainLookupEnd\":209,\"connectStart\":209,\"connectEnd\":209,\"secureConnectionStart\":209,\"requestStart\":210,\"responseStart\":240,\"responseEnd\":240},{\"name\":\"https://www.google.com/gen_204?ei=LaNqYrqBC8iYlwS6gL-gCg&vet=10ahUKEwj6y4DD-rb3AhVIzIUKHTrAD6QQhJAHCBY..s&gl=IT&pc=SEARCH_HOMEPAGE&isMobile=false\",\"entryType\":\"resource\",\"startTime\":214,\"duration\":26,\"initiatorType\":\"other\",\"nextHopProtocol\":\"h2\",\"workerStart\":0,\"redirectStart\":0,\"redirectEnd\":0,\"fetchStart\":214,\"domainLookupStart\":214,\"domainLookupEnd\":214,\"connectStart\":214,\"connectEnd\":214,\"secureConnectionStart\":214,\"requestStart\":214,\"responseStart\":240,\"responseEnd\":240},{\"name\":\"https://www.gstatic.com/og/_/js/k=og.qtm.en_US.XzJ0ONUNIso.O/rt=j/m=qabr,q_dnp,qcwid,qapid,qald/exm=qaaw,qadd,qaid,qein,qhaw,qhbr,qhch,qhga,qhid,qhin,qhpr/d=1/ed=1/rs=AA2YrTuxcq54HDP2gjPFC5ABnSWGsNBFIw\",\"entryType\":\"resource\",\"startTime\":214,\"duration\":47,\"initiatorType\":\"script\",\"nextHopProtocol\":\"h2\",\"workerStart\":0,\"redirectStart\":0,\"redirectEnd\":0,\"fetchStart\":214,\"domainLookupStart\":0,\"domainLookupEnd\":0,\"connectStart\":0,\"connectEnd\":0,\"secureConnectionStart\":0,\"requestStart\":0,\"responseStart\":0,\"responseEnd\":261},{\"name\":\"https://www.gstatic.com/og/_/ss/k=og.qtm.s8z_WABIpKU.L.W.O/m=qcwid/excm=qaaw,qadd,qaid,qein,qhaw,qhbr,qhch,qhga,qhid,qhin,qhpr/d=1/ed=1/ct=zgms/rs=AA2YrTsr8JKcUtp4d1o1g_QePGd_f5S_uQ\",\"entryType\":\"resource\",\"startTime\":215,\"duration\":41,\"initiatorType\":\"link\",\"nextHopProtocol\":\"h2\",\"workerStart\":0,\"redirectStart\":0,\"redirectEnd\":0,\"fetchStart\":215,\"domainLookupStart\":0,\"domainLookupEnd\":0,\"connectStart\":0,\"connectEnd\":0,\"secureConnectionStart\":0,\"requestStart\":0,\"responseStart\":0,\"responseEnd\":256},{\"name\":\"https://www.google.com/gen_204?s=webhp&t=aft&atyp=csi&ei=LaNqYrqBC8iYlwS6gL-gCg&rt=wsrt.140,aft.94,afti.94&wh=548&imn=3&ima=3&imad=0&aftp=-1&bl=-Z7O\",\"entryType\":\"resource\",\"startTime\":261,\"duration\":30,\"initiatorType\":\"other\",\"nextHopProtocol\":\"h2\",\"workerStart\":0,\"redirectStart\":0,\"redirectEnd\":0,\"fetchStart\":261,\"domainLookupStart\":261,\"domainLookupEnd\":261,\"connectStart\":261,\"connectEnd\":261,\"secureConnectionStart\":261,\"requestStart\":261,\"responseStart\":291,\"responseEnd\":291},{\"name\":\"https://apis.google.com/_/scs/abc-static/_/js/k=gapi.gapi.en.Yozr9QYVVr4.O/m=gapi_iframes,googleapis_client/rt=j/sv=1/d=1/ed=1/rs=AHpOoo8ePFN_mLj5L9BxNRnarRImlQEt0w/cb=gapi.loaded_0\",\"entryType\":\"resource\",\"startTime\":281,\"duration\":67.00000000000006,\"initiatorType\":\"script\",\"nextHopProtocol\":\"h2\",\"workerStart\":0,\"redirectStart\":0,\"redirectEnd\":0,\"fetchStart\":281,\"domainLookupStart\":0,\"domainLookupEnd\":0,\"connectStart\":0,\"connectEnd\":0,\"secureConnectionStart\":0,\"requestStart\":0,\"responseStart\":0,\"responseEnd\":348.00000000000006}]"},"id":28} 2022/04/28 16:22:49:961 HTTPServer: --> HTTP 200 2022/04/28 16:22:49:962 HTTPServer: --> {"value":[{"fetchStart":147,"startTime":147,"name":"https:\/\/www.google.com\/manifest?pwa=webhp","requestStart":179,"entryType":"resource","initiatorType":"other","nextHopProtocol":"h2","connectEnd":177,"connectStart":149,"redirectEnd":0,"domainLookupStart":147,"redirectStart":0,"workerStart":0,"domainLookupEnd":148,"secureConnectionStart":153,"responseStart":213,"responseEnd":213,"duration":66},{"fetchStart":159,"startTime":159,"name":"https:\/\/www.google.com\/images\/branding\/googlelogo\/1x\/googlelogo_color_272x92dp.png","requestStart":159,"entryType":"resource","initiatorType":"img","nextHopProtocol":"h2","connectEnd":159,"connectStart":159,"redirectEnd":0,"domainLookupStart":159,"redirectStart":0,"workerStart":0,"domainLookupEnd":159,"secureConnectionStart":159,"responseStart":182,"responseEnd":183,"duration":24},{"fetchStart":162,"startTime":162,"name":"https:\/\/fonts.gstatic.com\/s\/i\/productlogos\/googleg\/v6\/24px.svg","requestStart":0,"entryType":"resource","initiatorType":"img","nextHopProtocol":"h2","connectEnd":0,"connectStart":0,"redirectEnd":0,"domainLookupStart":0,"redirectStart":0,"workerStart":0,"domainLookupEnd":0,"secureConnectionStart":0,"responseStart":0,"responseEnd":221,"duration":59},{"fetchStart":184,"startTime":184,"name":"https:\/\/www.google.com\/images\/searchbox\/desktop_searchbox_sprites318_hr.png","requestStart":184,"entryType":"resource","initiatorType":"css","nextHopProtocol":"h2","connectEnd":184,"connectStart":184,"redirectEnd":0,"domainLookupStart":184,"redirectStart":0,"workerStart":0,"domainLookupEnd":184,"secureConnectionStart":184,"responseStart":205.00000000000003,"responseEnd":205.00000000000003,"duration":21.000000000000028},{"fetchStart":209,"startTime":209,"name":"https:\/\/www.google.com\/gen_204?atyp=i&ct=bxjs&cad=&b=0&ei=LaNqYrqBC8iYlwS6gL-gCg&zx=1651155757155","requestStart":210,"entryType":"resource","initiatorType":"img","nextHopProtocol":"h2","connectEnd":209,"connectStart":209,"redirectEnd":0,"domainLookupStart":209,"redirectStart":0,"workerStart":0,"domainLookupEnd":209,"secureConnectionStart":209,"responseStart":240,"responseEnd":240,"duration":31},{"fetchStart":214,"startTime":214,"name":"https:\/\/www.google.com\/gen_204?ei=LaNqYrqBC8iYlwS6gL-gCg&vet=10ahUKEwj6y4DD-rb3AhVIzIUKHTrAD6QQhJAHCBY..s&gl=IT&pc=SEARCH_HOMEPAGE&isMobile=false","requestStart":214,"entryType":"resource","initiatorType":"other","nextHopProtocol":"h2","connectEnd":214,"connectStart":214,"redirectEnd":0,"domainLookupStart":214,"redirectStart":0,"workerStart":0,"domainLookupEnd":214,"secureConnectionStart":214,"responseStart":240,"responseEnd":240,"duration":26},{"fetchStart":214,"startTime":214,"name":"https:\/\/www.gstatic.com\/og\/_\/js\/k=og.qtm.en_US.XzJ0ONUNIso.O\/rt=j\/m=qabr,q_dnp,qcwid,qapid,qald\/exm=qaaw,qadd,qaid,qein,qhaw,qhbr,qhch,qhga,qhid,qhin,qhpr\/d=1\/ed=1\/rs=AA2YrTuxcq54HDP2gjPFC5ABnSWGsNBFIw","requestStart":0,"entryType":"resource","initiatorType":"script","nextHopProtocol":"h2","connectEnd":0,"connectStart":0,"redirectEnd":0,"domainLookupStart":0,"redirectStart":0,"workerStart":0,"domainLookupEnd":0,"secureConnectionStart":0,"responseStart":0,"responseEnd":261,"duration":47},{"fetchStart":215,"startTime":215,"name":"https:\/\/www.gstatic.com\/og\/_\/ss\/k=og.qtm.s8z_WABIpKU.L.W.O\/m=qcwid\/excm=qaaw,qadd,qaid,qein,qhaw,qhbr,qhch,qhga,qhid,qhin,qhpr\/d=1\/ed=1\/ct=zgms\/rs=AA2YrTsr8JKcUtp4d1o1g_QePGd_f5S_uQ","requestStart":0,"entryType":"resource","initiatorType":"link","nextHopProtocol":"h2","connectEnd":0,"connectStart":0,"redirectEnd":0,"domainLookupStart":0,"redirectStart":0,"workerStart":0,"domainLookupEnd":0,"secureConnectionStart":0,"responseStart":0,"responseEnd":256,"duration":41},{"fetchStart":261,"startTime":261,"name":"https:\/\/www.google.com\/gen_204?s=webhp&t=aft&atyp=csi&ei=LaNqYrqBC8iYlwS6gL-gCg&rt=wsrt.140,aft.94,afti.94&wh=548&imn=3&ima=3&imad=0&aftp=-1&bl=-Z7O","requestStart":261,"entryType":"resource","initiatorType":"other","nextHopProtocol":"h2","connectEnd":261,"connectStart":261,"redirectEnd":0,"domainLookupStart":261,"redirectStart":0,"workerStart":0,"domainLookupEnd":261,"secureConnectionStart":261,"responseStart":291,"responseEnd":291,"duration":30},{"fetchStart":281,"startTime":281,"name":"https:\/\/apis.google.com\/_\/scs\/abc-static\/_\/js\/k=gapi.gapi.en.Yozr9QYVVr4.O\/m=gapi_iframes,googleapis_client\/rt=j\/sv=1\/d=1\/ed=1\/rs=AHpOoo8ePFN_mLj5L9BxNRnarRImlQEt0w\/cb=gapi.loaded_0","requestStart":0,"entryType":"resource","initiatorType":"script","nextHopProtocol":"h2","connectEnd":0,"connectStart":0,"redirectEnd":0,"domainLookupStart":0,"redirectStart":0,"workerStart":0,"domainLookupEnd":0,"secureConnectionStart":0,"responseStart":0,"responseEnd":348.00000000000006,"duration":67.000000000000057}]} 2022/04/28 16:22:49:964 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:49:964 HTTPServer: {"script":"\n const supported = PerformanceObserver.supportedEntryTypes;\n if (!supported || supported.indexOf('layout-shift') === -1) {\n return false;\n } else return true;\n ","args":[null]} 2022/04/28 16:22:49:964 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":29} 2022/04/28 16:22:49:965 AutomationProtocol: RECV {"result":{"result":false},"id":29} 2022/04/28 16:22:49:965 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {\n const supported = PerformanceObserver.supportedEntryTypes;\n if (!supported || supported.indexOf('layout-shift') === -1) {\n return false;\n } else return true;\n }","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":30} 2022/04/28 16:22:49:966 AutomationProtocol: RECV {"result":{"result":"false"},"id":30} 2022/04/28 16:22:49:967 HTTPServer: --> HTTP 200 2022/04/28 16:22:49:967 HTTPServer: --> {"value":false} 2022/04/28 16:22:49:969 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:49:969 HTTPServer: {"script":"\n const supported = PerformanceObserver.supportedEntryTypes;\n if (!supported || supported.indexOf('largest-contentful-paint') === -1) {\n return false;\n } else return true;\n ","args":[null]} 2022/04/28 16:22:49:969 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":31} 2022/04/28 16:22:50:003 AutomationProtocol: RECV {"result":{"result":false},"id":31} 2022/04/28 16:22:50:003 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {\n const supported = PerformanceObserver.supportedEntryTypes;\n if (!supported || supported.indexOf('largest-contentful-paint') === -1) {\n return false;\n } else return true;\n }","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":32} 2022/04/28 16:22:50:005 AutomationProtocol: RECV {"result":{"result":"false"},"id":32} 2022/04/28 16:22:50:005 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:005 HTTPServer: --> {"value":false} 2022/04/28 16:22:50:008 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:008 HTTPServer: {"script":"return (function() {\n // simple CPU benchmarking\n // following https://github.com/wikimedia/mediawiki-extensions-NavigationTiming/blob/master/modules/ext.navigationTiming.js\n // except not in worker to avoid CSP issues.\n const amount = 100000000;\n const startTime = performance.now();\n for ( let i = amount; i > 0; i-- ) {\n // empty\n }\n return Math.round( performance.now() - startTime );\n })();","args":[null]} 2022/04/28 16:22:50:008 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":33} 2022/04/28 16:22:50:009 AutomationProtocol: RECV {"result":{"result":false},"id":33} 2022/04/28 16:22:50:009 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n // simple CPU benchmarking\n // following https://github.com/wikimedia/mediawiki-extensions-NavigationTiming/blob/master/modules/ext.navigationTiming.js\n // except not in worker to avoid CSP issues.\n const amount = 100000000;\n const startTime = performance.now();\n for ( let i = amount; i \u003E 0; i-- ) {\n // empty\n }\n return Math.round( performance.now() - startTime );\n })();}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":34} 2022/04/28 16:22:50:103 AutomationProtocol: RECV {"result":{"result":"86"},"id":34} 2022/04/28 16:22:50:103 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:103 HTTPServer: --> {"value":86} 2022/04/28 16:22:50:106 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:106 HTTPServer: {"script":"return (function() {\n return navigator.userAgent;\n})();\n","args":[null]} 2022/04/28 16:22:50:106 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":35} 2022/04/28 16:22:50:107 AutomationProtocol: RECV {"result":{"result":false},"id":35} 2022/04/28 16:22:50:107 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n return navigator.userAgent;\n})();\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":36} 2022/04/28 16:22:50:108 AutomationProtocol: RECV {"result":{"result":"\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15\""},"id":36} 2022/04/28 16:22:50:108 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:108 HTTPServer: --> {"value":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/15.4 Safari\/605.1.15"} 2022/04/28 16:22:50:110 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:110 HTTPServer: {"script":"return (function() {\n const w = window,\n d = document,\n e = d.documentElement,\n g = d.getElementsByTagName('body')[0],\n x = w.innerWidth || e.clientWidth || g.clientWidth,\n y = w.innerHeight || e.clientHeight || g.clientHeight;\n return x + 'x' + y;\n})();\n","args":[null]} 2022/04/28 16:22:50:110 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":37} 2022/04/28 16:22:50:111 AutomationProtocol: RECV {"result":{"result":false},"id":37} 2022/04/28 16:22:50:111 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n const w = window,\n d = document,\n e = d.documentElement,\n g = d.getElementsByTagName('body')[0],\n x = w.innerWidth || e.clientWidth || g.clientWidth,\n y = w.innerHeight || e.clientHeight || g.clientHeight;\n return x + 'x' + y;\n})();\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":38} 2022/04/28 16:22:50:112 AutomationProtocol: RECV {"result":{"result":"\"800x548\""},"id":38} 2022/04/28 16:22:50:112 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:112 HTTPServer: --> {"value":"800x548"} 2022/04/28 16:22:50:114 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:114 HTTPServer: {"script":"return (function() {\n const supported = PerformanceObserver.supportedEntryTypes;\n if (!supported || supported.indexOf('layout-shift') === -1) {\n return;\n }\n // See https://web.dev/layout-instability-api\n // https://github.com/mmocny/web-vitals/wiki/Snippets-for-LSN-using-PerformanceObserver#max-session-gap1s-limit5s\n let max = 0;\n let curr = 0; \n let firstTs = Number.NEGATIVE_INFINITY;\n let prevTs = Number.NEGATIVE_INFINITY;\n const observer = new PerformanceObserver(list => {});\n observer.observe({ type: 'layout-shift', buffered: true });\n const list = observer.takeRecords();\n for (let entry of list) {\n if (entry.hadRecentInput) {\n continue;\n } \n if (entry.startTime - firstTs > 5000 || entry.startTime - prevTs > 1000) {\n firstTs = entry.startTime;\n curr = 0;\n }\n prevTs = entry.startTime;\n curr += entry.value;\n max = Math.max(max, curr);\n }\n return max;\n})();\n","args":[null]} 2022/04/28 16:22:50:115 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":39} 2022/04/28 16:22:50:115 AutomationProtocol: RECV {"result":{"result":false},"id":39} 2022/04/28 16:22:50:115 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n const supported = PerformanceObserver.supportedEntryTypes;\n if (!supported || supported.indexOf('layout-shift') === -1) {\n return;\n }\n // See https://web.dev/layout-instability-api\n // https://github.com/mmocny/web-vitals/wiki/Snippets-for-LSN-using-PerformanceObserver#max-session-gap1s-limit5s\n let max = 0;\n let curr = 0; \n let firstTs = Number.NEGATIVE_INFINITY;\n let prevTs = Number.NEGATIVE_INFINITY;\n const observer = new PerformanceObserver(list =\u003E {});\n observer.observe({ type: 'layout-shift', buffered: true });\n const list = observer.takeRecords();\n for (let entry of list) {\n if (entry.hadRecentInput) {\n continue;\n } \n if (entry.startTime - firstTs \u003E 5000 || entry.startTime - prevTs \u003E 1000) {\n firstTs = entry.startTime;\n curr = 0;\n }\n prevTs = entry.startTime;\n curr += entry.value;\n max = Math.max(max, curr);\n }\n return max;\n})();\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":40} 2022/04/28 16:22:50:116 AutomationProtocol: RECV {"result":{"result":"null"},"id":40} 2022/04/28 16:22:50:116 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:116 HTTPServer: --> {"value":null} 2022/04/28 16:22:50:118 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:118 HTTPServer: {"script":"return (function() {\n // https://gist.github.com/karlgroves/7544592\n function getDomPath(el) {\n const stack = [];\n while ( el.parentNode != null ) {\n let sibCount = 0;\n let sibIndex = 0;\n for ( let i = 0; i < el.parentNode.childNodes.length; i++ ) {\n let sib = el.parentNode.childNodes[i];\n if ( sib.nodeName == el.nodeName ) {\n if ( sib === el ) {\n sibIndex = sibCount;\n }\n sibCount++;\n }\n }\n if ( el.hasAttribute && el.hasAttribute('id') && el.id != '' ) {\n stack.unshift(el.nodeName.toLowerCase() + '#' + el.id);\n } else if ( sibCount > 1 ) {\n stack.unshift(el.nodeName.toLowerCase() + ':eq(' + sibIndex + ')');\n } else {\n stack.unshift(el.nodeName.toLowerCase());\n }\n el = el.parentNode;\n }\n \n return stack.slice(1);\n }\n\n const supported = PerformanceObserver.supportedEntryTypes;\n if (!supported || supported.indexOf('layout-shift') === -1) {\n return;\n }\n // See https://web.dev/layout-instability-api\n const observer = new PerformanceObserver(list => {});\n let max = 0; \n let current = []; \n let curr = 0; \n let firstTs = Number.NEGATIVE_INFINITY; \n let prevTs = Number.NEGATIVE_INFINITY;\n observer.observe({ type: 'layout-shift', buffered: true });\n const list = observer.takeRecords();\n const maxSessionGap1sLimit5s = {};\n for (let entry of list) {\n if (entry.hadRecentInput) {\n continue;\n } \n\n if (entry.startTime - firstTs > 5000 || entry.startTime - prevTs > 1000) {\n firstTs = entry.startTime;\n curr = 0;\n maxSessionGap1sLimit5s[max] = [...current];\n current = []; \n }\n prevTs = entry.startTime;\n curr += entry.value;\n max = Math.max(max, curr);\n\n const scoreAndHTML = {score: entry.value, domPath: [], startTime: entry.startTime, tags: []};\n for (let source of entry.sources) {\n try {\n if (source.node) {\n const html = getDomPath(source.node);\n scoreAndHTML.domPath.push(html.join( ' > '));\n const tag = source.node.cloneNode(false);\n scoreAndHTML.tags.push(tag.outerHTML);\n }\n }\n catch(e) {}\n }\n current.push(scoreAndHTML);\n }\n return maxSessionGap1sLimit5s[max] ? maxSessionGap1sLimit5s[max] : current;\n })();\n ","args":[null]} 2022/04/28 16:22:50:118 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":41} 2022/04/28 16:22:50:118 AutomationProtocol: RECV {"result":{"result":false},"id":41} 2022/04/28 16:22:50:118 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n // https://gist.github.com/karlgroves/7544592\n function getDomPath(el) {\n const stack = [];\n while ( el.parentNode != null ) {\n let sibCount = 0;\n let sibIndex = 0;\n for ( let i = 0; i \u003C el.parentNode.childNodes.length; i++ ) {\n let sib = el.parentNode.childNodes[i];\n if ( sib.nodeName == el.nodeName ) {\n if ( sib === el ) {\n sibIndex = sibCount;\n }\n sibCount++;\n }\n }\n if ( el.hasAttribute && el.hasAttribute('id') && el.id != '' ) {\n stack.unshift(el.nodeName.toLowerCase() + '#' + el.id);\n } else if ( sibCount \u003E 1 ) {\n stack.unshift(el.nodeName.toLowerCase() + ':eq(' + sibIndex + ')');\n } else {\n stack.unshift(el.nodeName.toLowerCase());\n }\n el = el.parentNode;\n }\n \n return stack.slice(1);\n }\n\n const supported = PerformanceObserver.supportedEntryTypes;\n if (!supported || supported.indexOf('layout-shift') === -1) {\n return;\n }\n // See https://web.dev/layout-instability-api\n const observer = new PerformanceObserver(list =\u003E {});\n let max = 0; \n let current = []; \n let curr = 0; \n let firstTs = Number.NEGATIVE_INFINITY; \n let prevTs = Number.NEGATIVE_INFINITY;\n observer.observe({ type: 'layout-shift', buffered: true });\n const list = observer.takeRecords();\n const maxSessionGap1sLimit5s = {};\n for (let entry of list) {\n if (entry.hadRecentInput) {\n continue;\n } \n\n if (entry.startTime - firstTs \u003E 5000 || entry.startTime - prevTs \u003E 1000) {\n firstTs = entry.startTime;\n curr = 0;\n maxSessionGap1sLimit5s[max] = [...current];\n current = []; \n }\n prevTs = entry.startTime;\n curr += entry.value;\n max = Math.max(max, curr);\n\n const scoreAndHTML = {score: entry.value, domPath: [], startTime: entry.startTime, tags:\u00A0[]};\n for (let source of entry.sources) {\n try {\n if (source.node) {\n const html = getDomPath(source.node);\n scoreAndHTML.domPath.push(html.join( ' \u003E '));\n const tag = source.node.cloneNode(false);\n scoreAndHTML.tags.push(tag.outerHTML);\n }\n }\n catch(e) {}\n }\n current.push(scoreAndHTML);\n }\n return maxSessionGap1sLimit5s[max] ? maxSessionGap1sLimit5s[max] : current;\n })();\n }","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":42} 2022/04/28 16:22:50:119 AutomationProtocol: RECV {"result":{"result":"null"},"id":42} 2022/04/28 16:22:50:153 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:153 HTTPServer: --> {"value":null} 2022/04/28 16:22:50:155 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:155 HTTPServer: {"script":"return (function() {\n function docHeight(doc) {\n const body = doc.body,\n docelem = doc.documentElement;\n return Math.max(\n body.scrollHeight,\n body.offsetHeight,\n docelem.clientHeight,\n docelem.scrollHeight,\n docelem.offsetHeight\n );\n }\n\n return docHeight(document);\n})();\n","args":[null]} 2022/04/28 16:22:50:156 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":43} 2022/04/28 16:22:50:156 AutomationProtocol: RECV {"result":{"result":false},"id":43} 2022/04/28 16:22:50:156 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n function docHeight(doc) {\n const body = doc.body,\n docelem = doc.documentElement;\n return Math.max(\n body.scrollHeight,\n body.offsetHeight,\n docelem.clientHeight,\n docelem.scrollHeight,\n docelem.offsetHeight\n );\n }\n\n return docHeight(document);\n})();\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":44} 2022/04/28 16:22:50:157 AutomationProtocol: RECV {"result":{"result":"548"},"id":44} 2022/04/28 16:22:50:158 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:158 HTTPServer: --> {"value":548} 2022/04/28 16:22:50:160 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:160 HTTPServer: {"script":"return (function() {\n const t = window.performance.getEntriesByType('navigation')[0];\n // Safari doesnt support getEntriesByType('navigation')\n if (t) {\n return {\n decodedBodySize: t.decodedBodySize,\n encodedBodySize: t.encodedBodySize,\n transferSize: t.transferSize\n };\n } else {\n return;\n }\n})();\n","args":[null]} 2022/04/28 16:22:50:160 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":45} 2022/04/28 16:22:50:161 AutomationProtocol: RECV {"result":{"result":false},"id":45} 2022/04/28 16:22:50:161 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n const t = window.performance.getEntriesByType('navigation')[0];\n // Safari doesnt support getEntriesByType('navigation')\n if (t) {\n return {\n decodedBodySize: t.decodedBodySize,\n encodedBodySize: t.encodedBodySize,\n transferSize: t.transferSize\n };\n } else {\n return;\n }\n})();\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":46} 2022/04/28 16:22:50:162 AutomationProtocol: RECV {"result":{"result":"{\"decodedBodySize\":null,\"encodedBodySize\":null,\"transferSize\":null}"},"id":46} 2022/04/28 16:22:50:162 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:162 HTTPServer: --> {"value":{"decodedBodySize":null,"encodedBodySize":null,"transferSize":null}} 2022/04/28 16:22:50:164 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:164 HTTPServer: {"script":"return (function() {\n // https://github.com/sitespeedio/browsertime/issues/979\n if (typeof document.title === \"string\") {\n return document.title;\n } else {\n const titles = document.getElementsByTagName(\"title\");\n if (titles.length > 0) {\n return titles[0].innerHTML;\n } else return \"\";\n }\n})();\n","args":[null]} 2022/04/28 16:22:50:164 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":47} 2022/04/28 16:22:50:165 AutomationProtocol: RECV {"result":{"result":false},"id":47} 2022/04/28 16:22:50:165 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n // https://github.com/sitespeedio/browsertime/issues/979\n if (typeof document.title === \"string\") {\n return document.title;\n } else {\n const titles = document.getElementsByTagName(\"title\");\n if (titles.length \u003E 0) {\n return titles[0].innerHTML;\n } else return \"\";\n }\n})();\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":48} 2022/04/28 16:22:50:166 AutomationProtocol: RECV {"result":{"result":"\"Google\""},"id":48} 2022/04/28 16:22:50:166 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:166 HTTPServer: --> {"value":"Google"} 2022/04/28 16:22:50:168 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:168 HTTPServer: {"script":"return (function() {\n function docWidth(doc) {\n const body = doc.body,\n docelem = doc.documentElement;\n return Math.max(\n body.scrollWidth,\n body.offsetWidth,\n docelem.clientWidth,\n docelem.scrollWidth,\n docelem.offsetWidth\n );\n }\n\n return docWidth(document);\n})();\n","args":[null]} 2022/04/28 16:22:50:169 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":49} 2022/04/28 16:22:50:169 AutomationProtocol: RECV {"result":{"result":false},"id":49} 2022/04/28 16:22:50:169 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n function docWidth(doc) {\n const body = doc.body,\n docelem = doc.documentElement;\n return Math.max(\n body.scrollWidth,\n body.offsetWidth,\n docelem.clientWidth,\n docelem.scrollWidth,\n docelem.offsetWidth\n );\n }\n\n return docWidth(document);\n})();\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":50} 2022/04/28 16:22:50:203 AutomationProtocol: RECV {"result":{"result":"800"},"id":50} 2022/04/28 16:22:50:203 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:203 HTTPServer: --> {"value":800} 2022/04/28 16:22:50:206 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:206 HTTPServer: {"script":"return (function() {\n \"use strict\";\n return document.getElementsByTagName(\"*\").length;\n})();\n","args":[null]} 2022/04/28 16:22:50:206 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":51} 2022/04/28 16:22:50:207 AutomationProtocol: RECV {"result":{"result":false},"id":51} 2022/04/28 16:22:50:207 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n \"use strict\";\n return document.getElementsByTagName(\"*\").length;\n})();\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":52} 2022/04/28 16:22:50:208 AutomationProtocol: RECV {"result":{"result":"327"},"id":52} 2022/04/28 16:22:50:209 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:209 HTTPServer: --> {"value":327} 2022/04/28 16:22:50:211 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:211 HTTPServer: {"script":"return (function() {\n 'use strict';\n const description = document.querySelector('meta[name=\"generator\"]');\n if (description) {\n return description.getAttribute('content');\n }\n})();","args":[null]} 2022/04/28 16:22:50:211 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":53} 2022/04/28 16:22:50:212 AutomationProtocol: RECV {"result":{"result":false},"id":53} 2022/04/28 16:22:50:212 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n 'use strict';\n const description = document.querySelector('meta[name=\"generator\"]');\n if (description) {\n return description.getAttribute('content');\n }\n})();}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":54} 2022/04/28 16:22:50:213 AutomationProtocol: RECV {"result":{"result":"null"},"id":54} 2022/04/28 16:22:50:214 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:214 HTTPServer: --> {"value":null} 2022/04/28 16:22:50:215 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:215 HTTPServer: {"script":"return (function() {\n // https://gist.github.com/karlgroves/7544592\n function getDomPath(el) {\n const stack = [];\n while ( el.parentNode != null ) {\n let sibCount = 0;\n let sibIndex = 0;\n for ( let i = 0; i < el.parentNode.childNodes.length; i++ ) {\n let sib = el.parentNode.childNodes[i];\n if ( sib.nodeName == el.nodeName ) {\n if ( sib === el ) {\n sibIndex = sibCount;\n }\n sibCount++;\n }\n }\n if ( el.hasAttribute && el.hasAttribute('id') && el.id != '' ) {\n stack.unshift(el.nodeName.toLowerCase() + '#' + el.id);\n } else if ( sibCount > 1 ) {\n stack.unshift(el.nodeName.toLowerCase() + ':eq(' + sibIndex + ')');\n } else {\n stack.unshift(el.nodeName.toLowerCase());\n }\n el = el.parentNode;\n }\n \n return stack.slice(1);\n }\n\n\n const supported = PerformanceObserver.supportedEntryTypes;\n if (!supported || supported.indexOf('largest-contentful-paint') === -1) {\n return;\n }\n const observer = new PerformanceObserver(list => {});\n observer.observe({ type: 'largest-contentful-paint', buffered: true });\n const entries = observer.takeRecords();\n const candidates = [];\n for (let entry of entries) {\n const element = entry.element; \n candidates.push(\n {\n duration: entry.duration,\n id: entry.id,\n url: entry.url,\n loadTime: Number(entry.loadTime.toFixed(0)),\n renderTime: Number(Math.max(entry.renderTime,entry.loadTime).toFixed(0)),\n size: entry.size,\n startTime: Number(entry.startTime.toFixed(0)),\n tagName: element ? element.tagName : '',\n className: element ? element.className : '',\n domPath: element ? (getDomPath(element)).join( ' > ') : '',\n tag: element ? (element.cloneNode(false)).outerHTML : ''\n }\n\n )\n }\n return candidates;\n })();\n ","args":[null]} 2022/04/28 16:22:50:216 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":55} 2022/04/28 16:22:50:216 AutomationProtocol: RECV {"result":{"result":false},"id":55} 2022/04/28 16:22:50:216 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n // https://gist.github.com/karlgroves/7544592\n function getDomPath(el) {\n const stack = [];\n while ( el.parentNode != null ) {\n let sibCount = 0;\n let sibIndex = 0;\n for ( let i = 0; i \u003C el.parentNode.childNodes.length; i++ ) {\n let sib = el.parentNode.childNodes[i];\n if ( sib.nodeName == el.nodeName ) {\n if ( sib === el ) {\n sibIndex = sibCount;\n }\n sibCount++;\n }\n }\n if ( el.hasAttribute && el.hasAttribute('id') && el.id != '' ) {\n stack.unshift(el.nodeName.toLowerCase() + '#' + el.id);\n } else if ( sibCount \u003E 1 ) {\n stack.unshift(el.nodeName.toLowerCase() + ':eq(' + sibIndex + ')');\n } else {\n stack.unshift(el.nodeName.toLowerCase());\n }\n el = el.parentNode;\n }\n \n return stack.slice(1);\n }\n\n\n const supported = PerformanceObserver.supportedEntryTypes;\n if (!supported || supported.indexOf('largest-contentful-paint') === -1) {\n return;\n }\n const observer = new PerformanceObserver(list =\u003E {});\n observer.observe({ type: 'largest-contentful-paint', buffered: true });\n const entries = observer.takeRecords();\n const candidates = [];\n for (let entry of entries) {\n const element = entry.element; \n candidates.push(\n {\n duration: entry.duration,\n id: entry.id,\n url: entry.url,\n loadTime: Number(entry.loadTime.toFixed(0)),\n renderTime: Number(Math.max(entry.renderTime,entry.loadTime).toFixed(0)),\n size: entry.size,\n startTime: Number(entry.startTime.toFixed(0)),\n tagName: element ? element.tagName : '',\n className: element ? element.className : '',\n domPath: element ? (getDomPath(element)).join( ' \u003E ') : '',\n tag: element ? (element.cloneNode(false)).outerHTML : ''\n }\n\n )\n }\n return candidates;\n })();\n }","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":56} 2022/04/28 16:22:50:217 AutomationProtocol: RECV {"result":{"result":"null"},"id":56} 2022/04/28 16:22:50:217 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:217 HTTPServer: --> {"value":null} 2022/04/28 16:22:50:219 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:219 HTTPServer: {"script":"return (function(minLength) {\n if (window.__bt_longtask) {\n const cleaned = [];\n for (let event of window.__bt_longtask.e) {\n if (event.duration >= minLength) {\n const e = {};\n e.duration = event.duration;\n e.name = event.name;\n e.startTime = event.startTime;\n e.attribution = [];\n for (let at of event.attribution) {\n const a = {};\n a.containerId = at.containerId;\n a.containerName = at.containerName;\n a.containerSrc = at.containerSrc;\n a.containerType = at.containerType;\n e.attribution.push(a);\n }\n cleaned.push(e);\n }\n }\n window.__bt_longtask.e = [];\n return cleaned;\n }\n})(arguments[arguments.length - 1]);","args":[50]} 2022/04/28 16:22:50:219 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":57} 2022/04/28 16:22:50:219 AutomationProtocol: RECV {"result":{"result":false},"id":57} 2022/04/28 16:22:50:253 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["50"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function(minLength) {\n if (window.__bt_longtask) {\n const cleaned = [];\n for (let event of window.__bt_longtask.e) {\n if (event.duration \u003E= minLength) {\n const e = {};\n e.duration = event.duration;\n e.name = event.name;\n e.startTime = event.startTime;\n e.attribution = [];\n for (let at of event.attribution) {\n const a = {};\n a.containerId = at.containerId;\n a.containerName = at.containerName;\n a.containerSrc = at.containerSrc;\n a.containerType = at.containerType;\n e.attribution.push(a);\n }\n cleaned.push(e);\n }\n }\n window.__bt_longtask.e = [];\n return cleaned;\n }\n})(arguments[arguments.length - 1]);}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":58} 2022/04/28 16:22:50:255 AutomationProtocol: RECV {"result":{"result":"null"},"id":58} 2022/04/28 16:22:50:255 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:255 HTTPServer: --> {"value":null} 2022/04/28 16:22:50:257 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:257 HTTPServer: {"script":"return (function () {\n if (window.performance.timeOrigin) {\n return Number(window.performance.timeOrigin.toFixed(0));\n }\n if (window.performance.timing.navigationStart) {\n return Number(window.performance.timing.navigationStart.toFixed(0));\n }\n return undefined;\n})();\n","args":[null]} 2022/04/28 16:22:50:257 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":59} 2022/04/28 16:22:50:257 AutomationProtocol: RECV {"result":{"result":false},"id":59} 2022/04/28 16:22:50:258 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function () {\n if (window.performance.timeOrigin) {\n return Number(window.performance.timeOrigin.toFixed(0));\n }\n if (window.performance.timing.navigationStart) {\n return Number(window.performance.timing.navigationStart.toFixed(0));\n }\n return undefined;\n})();\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":60} 2022/04/28 16:22:50:258 AutomationProtocol: RECV {"result":{"result":"1651155756946"},"id":60} 2022/04/28 16:22:50:258 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:258 HTTPServer: --> {"value":1651155756946} 2022/04/28 16:22:50:260 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:260 HTTPServer: {"script":"return (function() {\n const t = window.performance.getEntriesByType('navigation')[0];\n // Not supported in Safari\n if (t) {\n return t.nextHopProtocol;\n }\n})();\n","args":[null]} 2022/04/28 16:22:50:260 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":61} 2022/04/28 16:22:50:261 AutomationProtocol: RECV {"result":{"result":false},"id":61} 2022/04/28 16:22:50:261 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n const t = window.performance.getEntriesByType('navigation')[0];\n // Not supported in Safari\n if (t) {\n return t.nextHopProtocol;\n }\n})();\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":62} 2022/04/28 16:22:50:262 AutomationProtocol: RECV {"result":{"result":"\"h2\""},"id":62} 2022/04/28 16:22:50:262 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:262 HTTPServer: --> {"value":"h2"} 2022/04/28 16:22:50:264 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:264 HTTPServer: {"script":"return (function() {\n const resources = window.performance.getEntriesByType('resource');\n\n let resourceDuration = 0;\n for (let i = 0; i < resources.length; i++) {\n resourceDuration += resources[i].duration;\n }\n\n return {\n count: Number(resources.length),\n duration: Number(resourceDuration)\n }\n})();\n\n","args":[null]} 2022/04/28 16:22:50:264 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":63} 2022/04/28 16:22:50:265 AutomationProtocol: RECV {"result":{"result":false},"id":63} 2022/04/28 16:22:50:265 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n const resources = window.performance.getEntriesByType('resource');\n\n let resourceDuration = 0;\n for (let i = 0; i \u003C resources.length; i++) {\n resourceDuration += resources[i].duration;\n }\n\n return {\n count: Number(resources.length),\n duration: Number(resourceDuration)\n }\n})();\n\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":64} 2022/04/28 16:22:50:266 AutomationProtocol: RECV {"result":{"result":"{\"count\":10,\"duration\":412.00000000000006}"},"id":64} 2022/04/28 16:22:50:266 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:266 HTTPServer: --> {"value":{"count":10,"duration":412.00000000000006}} 2022/04/28 16:22:50:268 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:268 HTTPServer: {"script":"return (function() {\n return document.documentElement.scrollWidth <= window.innerWidth;\n})();\n","args":[null]} 2022/04/28 16:22:50:268 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":65} 2022/04/28 16:22:50:269 AutomationProtocol: RECV {"result":{"result":false},"id":65} 2022/04/28 16:22:50:269 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n return document.documentElement.scrollWidth \u003C= window.innerWidth;\n})();\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":66} 2022/04/28 16:22:50:303 AutomationProtocol: RECV {"result":{"result":"true"},"id":66} 2022/04/28 16:22:50:303 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:304 HTTPServer: --> {"value":true} 2022/04/28 16:22:50:307 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:307 HTTPServer: {"script":"return (function() {\n // https://github.com/sitespeedio/browsertime/issues/979#issuecomment-549107350\n if (typeof document.URL === \"string\") {\n return document.URL;\n } else {\n return window.location.href;\n }\n})();\n","args":[null]} 2022/04/28 16:22:50:307 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":67} 2022/04/28 16:22:50:308 AutomationProtocol: RECV {"result":{"result":false},"id":67} 2022/04/28 16:22:50:309 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function() {\n // https://github.com/sitespeedio/browsertime/issues/979#issuecomment-549107350\n if (typeof document.URL === \"string\") {\n return document.URL;\n } else {\n return window.location.href;\n }\n})();\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":68} 2022/04/28 16:22:50:310 AutomationProtocol: RECV {"result":{"result":"\"https://www.google.com/\""},"id":68} 2022/04/28 16:22:50:310 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:310 HTTPServer: --> {"value":"https:\/\/www.google.com\/"} 2022/04/28 16:22:50:313 HTTPServer: POST http://127.0.0.1:52975/session/022D0281-21A0-48D8-8C5B-9CC0727BEA22/execute/sync 2022/04/28 16:22:50:313 HTTPServer: {"script":"return (function(custom) {\n /**\n * Collect visual elements from a page and feed the size back in the\n * format for Visual Metrics.\n */\n\n const elementByType = {};\n const areaByType = {};\n const imageTags = [].slice.call(document.body.getElementsByTagName('img'));\n const h1Tags = [].slice.call(document.body.getElementsByTagName('h1'));\n const elementTimings = [].slice.call(\n document.querySelectorAll('[elementtiming]')\n );\n\n // When we feed options from the CLI it can be a String or an\n // Array with Strings. Make it easy to treat everything the same.\n function toArray(arrayLike) {\n if (arrayLike === undefined || arrayLike === null) {\n return [];\n }\n if (Array.isArray(arrayLike)) {\n return arrayLike;\n }\n return [arrayLike];\n }\n\n function isLargest(type, area) {\n if (!areaByType[type]) {\n return true;\n } else return areaByType[type] < area;\n }\n\n function isElementPartlyInViewportAndVisible(el) {\n const rect = el.getBoundingClientRect();\n return !(\n rect.bottom < 0 ||\n rect.right < 0 ||\n rect.left > window.innerWidth ||\n rect.top > window.innerHeight ||\n rect.height === 0\n );\n }\n\n function visibleArea(el) {\n const rect = el.getBoundingClientRect();\n const viewportWidth = document.documentElement.clientWidth;\n const viewportHeight = document.documentElement.clientHeight;\n\n // TODO make this more readable\n const width =\n rect.left < 0\n ? rect.width + rect.left\n : viewportWidth < rect.left + rect.width\n ? viewportWidth - rect.left\n : rect.width;\n const height =\n rect.top < 0\n ? rect.height + rect.top\n : viewportHeight < rect.top + rect.height\n ? viewportHeight - rect.top\n : rect.height;\n\n return width * height;\n }\n\n function keepLargestElementByType(type, element) {\n const area = visibleArea(element);\n if (isLargest(type, area)) {\n const filename = element.src\n ? element.src.substring(element.src.lastIndexOf('/') + 1)\n : undefined;\n const rect = element.getBoundingClientRect();\n const tag = element.cloneNode(false);\n\n elementByType[type] = {\n name: type,\n x: Math.round(rect.left),\n y: Math.round(rect.top),\n width: Math.round(rect.width),\n height: Math.round(rect.height),\n filename,\n html: tag.outerHTML\n };\n areaByType[type] = area;\n }\n }\n\n if (custom) {\n // Input could be a String or an Array of Strings so convert it\n const customArray = toArray(custom);\n for (const nameAndSelector of customArray) {\n const parts = nameAndSelector.split(':');\n const type = parts[0];\n const selector = parts[1];\n const element = document.body.querySelector(selector);\n try {\n if (isElementPartlyInViewportAndVisible(element)) {\n keepLargestElementByType(type, element);\n }\n } catch (e) {\n console.log(\n 'Could not find matching element for selector:' +\n selector +\n ' using document.body.querySelector. Do that element exist on the page?'\n );\n }\n }\n }\n\n imageTags.forEach(function(element) {\n if (isElementPartlyInViewportAndVisible(element)) {\n keepLargestElementByType('LargestImage', element);\n }\n });\n\n h1Tags.forEach(function(element) {\n if (isElementPartlyInViewportAndVisible(element)) {\n keepLargestElementByType('Heading', element);\n }\n });\n\n elementTimings.forEach(function(element) {\n if (isElementPartlyInViewportAndVisible(element)) {\n keepLargestElementByType(element.getAttribute('elementtiming'), element);\n }\n });\n\n // We need to follow the standard for VisualMetrics\n return {\n viewport: {\n width: document.documentElement.clientWidth,\n height: document.documentElement.clientHeight\n },\n // \"heroes\" :D https://github.com/sitespeedio/logo/blob/main/png/heroes/Pippi-Sitespeed.io.png\n heroes: Object.keys(elementByType).map(function(type) {\n return elementByType[type];\n })\n };\n})(arguments[arguments.length - 1]);\n","args":[null]} 2022/04/28 16:22:50:313 AutomationProtocol: SEND {"method":"Automation.isShowingJavaScriptDialog","params":{"browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852"},"id":69} 2022/04/28 16:22:50:314 AutomationProtocol: RECV {"result":{"result":false},"id":69} 2022/04/28 16:22:50:314 AutomationProtocol: SEND {"method":"Automation.evaluateJavaScriptFunction","params":{"arguments":["null"],"frameHandle":"","expectsImplicitCallbackArgument":false,"function":"function() {return (function(custom) {\n /**\n * Collect visual elements from a page and feed the size back in the\n * format for Visual Metrics.\n */\n\n const elementByType = {};\n const areaByType = {};\n const imageTags = [].slice.call(document.body.getElementsByTagName('img'));\n const h1Tags = [].slice.call(document.body.getElementsByTagName('h1'));\n const elementTimings = [].slice.call(\n document.querySelectorAll('[elementtiming]')\n );\n\n // When we feed options from the CLI it can be a String or an\n // Array with Strings. Make it easy to treat everything the same.\n function toArray(arrayLike) {\n if (arrayLike === undefined || arrayLike === null) {\n return [];\n }\n if (Array.isArray(arrayLike)) {\n return arrayLike;\n }\n return [arrayLike];\n }\n\n function isLargest(type, area) {\n if (!areaByType[type]) {\n return true;\n } else return areaByType[type] \u003C area;\n }\n\n function isElementPartlyInViewportAndVisible(el) {\n const rect = el.getBoundingClientRect();\n return !(\n rect.bottom \u003C 0 ||\n rect.right \u003C 0 ||\n rect.left \u003E window.innerWidth ||\n rect.top \u003E window.innerHeight ||\n rect.height === 0\n );\n }\n\n function visibleArea(el) {\n const rect = el.getBoundingClientRect();\n const viewportWidth = document.documentElement.clientWidth;\n const viewportHeight = document.documentElement.clientHeight;\n\n // TODO make this more readable\n const width =\n rect.left \u003C 0\n ? rect.width + rect.left\n : viewportWidth \u003C rect.left + rect.width\n ? viewportWidth - rect.left\n : rect.width;\n const height =\n rect.top \u003C 0\n ? rect.height + rect.top\n : viewportHeight \u003C rect.top + rect.height\n ? viewportHeight - rect.top\n : rect.height;\n\n return width * height;\n }\n\n function keepLargestElementByType(type, element) {\n const area = visibleArea(element);\n if (isLargest(type, area)) {\n const filename = element.src\n ? element.src.substring(element.src.lastIndexOf('/') + 1)\n : undefined;\n const rect = element.getBoundingClientRect();\n const tag = element.cloneNode(false);\n\n elementByType[type] = {\n name: type,\n x: Math.round(rect.left),\n y: Math.round(rect.top),\n width: Math.round(rect.width),\n height: Math.round(rect.height),\n filename,\n html: tag.outerHTML\n };\n areaByType[type] = area;\n }\n }\n\n if (custom) {\n // Input could be a String or an Array of Strings so convert it\n const customArray = toArray(custom);\n for (const nameAndSelector of customArray) {\n const parts = nameAndSelector.split(':');\n const type = parts[0];\n const selector = parts[1];\n const element = document.body.querySelector(selector);\n try {\n if (isElementPartlyInViewportAndVisible(element)) {\n keepLargestElementByType(type, element);\n }\n } catch (e) {\n console.log(\n 'Could not find matching element for selector:' +\n selector +\n ' using document.body.querySelector. Do that element exist on the page?'\n );\n }\n }\n }\n\n imageTags.forEach(function(element) {\n if (isElementPartlyInViewportAndVisible(element)) {\n keepLargestElementByType('LargestImage', element);\n }\n });\n\n h1Tags.forEach(function(element) {\n if (isElementPartlyInViewportAndVisible(element)) {\n keepLargestElementByType('Heading', element);\n }\n });\n\n elementTimings.forEach(function(element) {\n if (isElementPartlyInViewportAndVisible(element)) {\n keepLargestElementByType(element.getAttribute('elementtiming'), element);\n }\n });\n\n // We need to follow the standard for VisualMetrics\n return {\n viewport: {\n width: document.documentElement.clientWidth,\n height: document.documentElement.clientHeight\n },\n // \"heroes\" :D https://github.com/sitespeedio/logo/blob/main/png/heroes/Pippi-Sitespeed.io.png\n heroes: Object.keys(elementByType).map(function(type) {\n return elementByType[type];\n })\n };\n})(arguments[arguments.length - 1]);\n}","browsingContextHandle":"page-7E0D32E0-1073-4BBA-A155-15BE74685852","callbackTimeout":120000},"id":70} 2022/04/28 16:22:50:317 AutomationProtocol: RECV {"result":{"result":"{\"viewport\":{\"width\":800,\"height\":548},\"heroes\":[{\"name\":\"LargestImage\",\"x\":264,\"y\":60,\"width\":272,\"height\":92,\"filename\":\"googlelogo_color_272x92dp.png\",\"html\":\"\u003Cimg class=\\\"lnXdpd\\\" alt=\\\"Google\\\" height=\\\"92\\\" src=\\\"/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png\\\" srcset=\\\"/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png 1x, /images/branding/googlelogo/2x/googlelogo_color_272x92dp.png 2x\\\" width=\\\"272\\\" data-iml=\\\"1651155757180\\\" data-atf=\\\"1\\\" data-frt=\\\"0\\\"\u003E\"},{\"name\":\"Heading\",\"x\":71,\"y\":96,\"width\":643,\"height\":24,\"filename\":null,\"html\":\"\u003Ch1 class=\\\"I90TVb\\\" id=\\\"S3BnEe\\\"\u003E\u003C/h1\u003E\"}]}"},"id":70} 2022/04/28 16:22:50:317 HTTPServer: --> HTTP 200 2022/04/28 16:22:50:317 HTTPServer: --> {"value":{"viewport":{"width":800,"height":548},"heroes":[{"x":264,"height":92,"y":60,"width":272,"html":"","filename":"googlelogo_color_272x92dp.png","name":"LargestImage"},{"x":71,"height":24,"y":96,"width":643,"html":"