/**/myCallback({ "statusCode": 200, "statusMessage": null, "originalRequest": { "pages": [ { "url": "http://www.example.com", "renderType": "plainText", "outputAsJson": true } ] }, "pageResponses": [ { "navUrl": "https://www.example.com/", "navId": 1, "statusCode": 200, "eventPhase": "load", "doneDetail": { "reason": "normal", "statusCode": 200 }, "pageExecLastWaitedOn": "loadFinished events/scripts. isStarted=false", "resourceSummary": { "complete": 2, "failed": 0, "aborted": 0, "orphaned": 0, "active": 0, "late": 0 }, "resources": [ "{elapsed:76,detail:'complete:200:',start:'20(initialRequest)',ended:'96(initialRequest)',frame:'main(nav)',navId:'0',type:'document',url:'https://www.example.com/'}", "{elapsed:13,detail:'complete:404:',start:'158(load)',ended:'171(load)',frame:'main',navId:'1',type:'other',url:'https://www.example.com/favicon.ico'}" ], "debugDiags": [], "contentErrors": [], "errors": [], "metrics": { "startTime": "2024-03-28T13:46:43.585Z", "endTime": "2024-03-28T13:46:44.861Z", "elapsedMs": 1276, "pageStatus": "200" }, "scriptOutput": {}, "headers": { "accept-ranges": "bytes", "age": "359128", "cache-control": "max-age=604800", "content-encoding": "gzip", "content-length": "648", "content-type": "text/html; charset=UTF-8", "date": "Thu, 28 Mar 2024 13:46:43 GMT", "etag": "\"3147526947+gzip\"", "expires": "Thu, 04 Apr 2024 13:46:43 GMT", "last-modified": "Thu, 17 Oct 2019 07:18:26 GMT", "server": "ECS (dna/63A8)", "vary": "Accept-Encoding", "x-cache": "HIT" }, "cookies": [], "events": [ { "timeMs": 0, "elapsedMs": 0, "key": "pageExec", "value": { "message": "begin", "targetUrl": "http://www.example.com" }, "time": "2024-03-28T13:46:43.585Z" }, { "timeMs": 0, "elapsedMs": 0, "key": "pageExec", "value": "apply settings", "time": "2024-03-28T13:46:43.585Z" }, { "timeMs": 13, "elapsedMs": 13, "key": "pageExec", "value": "done apply overrides", "time": "2024-03-28T13:46:43.598Z" }, { "timeMs": 15, "elapsedMs": 2, "key": "pageExec", "value": "begin binding config", "time": "2024-03-28T13:46:43.600Z" }, { "timeMs": 16, "elapsedMs": 1, "key": "pageExec", "value": { "message": "targetUrl initialRequest begin", "targetUrl": "http://www.example.com" }, "time": "2024-03-28T13:46:43.601Z" }, { "timeMs": 20, "elapsedMs": 4, "key": "request", "value": { "startPhase": "initialRequest", "request": { "url": "https://www.example.com/", "frameName": "", "frameId": "B033EB59692F068854717D2D5F72E9A6", "isMainFrame": true, "headers": { "upgrade-insecure-requests": "1", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 (PhantomJsCloud.com/3.0.0)", "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" }, "isNavigationRequested": true, "method": "GET", "redirectChain": [], "resourceType": "document", "failure": null } }, "time": "2024-03-28T13:46:43.605Z" }, { "timeMs": 100, "elapsedMs": 80, "key": "pageExec", "value": { "message": "targetUrl initialRequest end", "targetUrl": "http://www.example.com" }, "time": "2024-03-28T13:46:43.685Z" }, { "timeMs": 109, "elapsedMs": 9, "key": "frameNavigated", "value": { "frame": { "isMainFrame": true, "url": "https://www.example.com/", "name": "", "id": "B033EB59692F068854717D2D5F72E9A6" } }, "time": "2024-03-28T13:46:43.694Z" }, { "timeMs": 109, "elapsedMs": 0, "key": "pageExec", "value": { "message": "page.navigated", "url": "https://www.example.com/", "isNewPage": true }, "time": "2024-03-28T13:46:43.694Z" }, { "timeMs": 110, "elapsedMs": 1, "key": "requestFinished", "value": { "request": { "url": "https://www.example.com/", "frameName": "", "frameId": "B033EB59692F068854717D2D5F72E9A6", "isMainFrame": true, "headers": { "upgrade-insecure-requests": "1", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 (PhantomJsCloud.com/3.0.0)", "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" }, "isNavigationRequested": true, "method": "GET", "redirectChain": [], "resourceType": "document", "failure": null, "response": { "status": 200 } } }, "time": "2024-03-28T13:46:43.695Z" }, { "timeMs": 112, "elapsedMs": 2, "key": "pageExec", "value": { "message": "page.load", "url": "https://www.example.com/" }, "time": "2024-03-28T13:46:43.697Z" }, { "timeMs": 154, "elapsedMs": 42, "key": "pageExec", "value": { "message": "page.domReady", "url": "https://www.example.com/" }, "time": "2024-03-28T13:46:43.739Z" }, { "timeMs": 155, "elapsedMs": 1, "key": "meta", "value": "window._pjscMeta constructed{\"currentWrite\":null,\"pendingWrites\":0,\"currentReads\":0,\"pendingReads\":0,\"value\":\"no\"}", "time": "2024-03-28T13:46:43.740Z" }, { "timeMs": 156, "elapsedMs": 1, "key": "response", "value": { "response": { "url": "https://www.example.com/", "fromCache": false, "fromServiceWorker": false, "headers": { "accept-ranges": "bytes", "age": "359128", "cache-control": "max-age=604800", "content-encoding": "gzip", "content-length": "648", "content-type": "text/html; charset=UTF-8", "date": "Thu, 28 Mar 2024 13:46:43 GMT", "etag": "\"3147526947+gzip\"", "expires": "Thu, 04 Apr 2024 13:46:43 GMT", "last-modified": "Thu, 17 Oct 2019 07:18:26 GMT", "server": "ECS (dna/63A8)", "vary": "Accept-Encoding", "x-cache": "HIT" }, "request": { "url": "https://www.example.com/", "isNavigationRequest": true }, "status": 200, "statusText": "", "remoteAddress": { "ip": "93.184.216.34", "port": 443 }, "bodySize": 1256, "body": "Not Stored. To store, set 'requestSettings.recordResourceBody' to a regex matching the response url" } }, "time": "2024-03-28T13:46:43.741Z" }, { "timeMs": 158, "elapsedMs": 2, "key": "request", "value": { "startPhase": "load", "request": { "url": "https://www.example.com/favicon.ico", "frameName": "", "frameId": "B033EB59692F068854717D2D5F72E9A6", "isMainFrame": true, "headers": { "referer": "https://www.example.com/", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 (PhantomJsCloud.com/3.0.0)", "accept": "image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8" }, "isNavigationRequested": false, "method": "GET", "redirectChain": [], "resourceType": "other", "failure": null } }, "time": "2024-03-28T13:46:43.743Z" }, { "timeMs": 171, "elapsedMs": 13, "key": "console", "value": { "type": "error", "text": "Failed to load resource: the server responded with a status of 404 ()" }, "time": "2024-03-28T13:46:43.756Z" }, { "timeMs": 172, "elapsedMs": 1, "key": "requestFinished", "value": { "request": { "url": "https://www.example.com/favicon.ico", "frameName": "", "frameId": "B033EB59692F068854717D2D5F72E9A6", "isMainFrame": true, "headers": { "referer": "https://www.example.com/", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 (PhantomJsCloud.com/3.0.0)", "accept": "image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8" }, "isNavigationRequested": false, "method": "GET", "redirectChain": [], "resourceType": "other", "failure": null, "response": { "status": 404 } } }, "time": "2024-03-28T13:46:43.757Z" }, { "timeMs": 173, "elapsedMs": 1, "key": "response", "value": { "response": { "url": "https://www.example.com/favicon.ico", "fromCache": false, "fromServiceWorker": false, "headers": { "accept-ranges": "bytes", "age": "359124", "cache-control": "max-age=604800", "content-encoding": "gzip", "content-length": "648", "content-type": "text/html; charset=UTF-8", "date": "Thu, 28 Mar 2024 13:46:43 GMT", "expires": "Thu, 04 Apr 2024 13:46:43 GMT", "last-modified": "Sun, 24 Mar 2024 10:01:19 GMT", "server": "ECS (dna/63A5)", "vary": "Accept-Encoding", "x-cache": "404-HIT" }, "request": { "url": "https://www.example.com/favicon.ico", "isNavigationRequest": false }, "status": 404, "statusText": "", "remoteAddress": { "ip": "93.184.216.34", "port": 443 }, "bodySize": 1256, "body": "Not Stored. To store, set 'requestSettings.recordResourceBody' to a regex matching the response url" } }, "time": "2024-03-28T13:46:43.758Z" }, { "timeMs": 212, "elapsedMs": 39, "key": "pageExec", "value": { "message": "waitInterval: page is done but waiting in case of further updates (AJAX, etc). set by requestSettings.waitInterval or requestSettings.renderWhen", "waitInterval": 1000 }, "time": "2024-03-28T13:46:43.797Z" }, { "timeMs": 1224, "elapsedMs": 1012, "key": "pageExecDIAG", "value": { "message": "waitOn trigger: loadFinished events/scripts. isStarted=false" }, "time": "2024-03-28T13:46:44.809Z" }, { "timeMs": 1224, "elapsedMs": 0, "key": "pageExecDIAG", "value": { "message": "_pageProcessing_loadFinishedScriptExec() start", "navUrl": "https://www.example.com/", "isStarted": false }, "time": "2024-03-28T13:46:44.809Z" }, { "timeMs": 1224, "elapsedMs": 0, "key": "pageExecDIAG", "value": { "message": "_pageProcessing_loadFinishedScriptExec() await pageNavigated" }, "time": "2024-03-28T13:46:44.809Z" }, { "timeMs": 1224, "elapsedMs": 0, "key": "pageExecDIAG", "value": { "message": "_pageProcessing_loadFinishedScriptExec() await domReady" }, "time": "2024-03-28T13:46:44.809Z" }, { "timeMs": 1224, "elapsedMs": 0, "key": "pageExecDIAG", "value": { "message": "_pageProcessing_loadFinishedScriptExec() await load" }, "time": "2024-03-28T13:46:44.809Z" }, { "timeMs": 1224, "elapsedMs": 0, "key": "pageExecDIAG", "value": { "message": "_pageProcessing_loadFinishedScriptExec() await loadFinished" }, "time": "2024-03-28T13:46:44.809Z" }, { "timeMs": 1225, "elapsedMs": 1, "key": "pageExecDIAG", "value": { "message": "_pageProcessing_loadFinishedScriptExec() FULFILL", "navUrl": "https://www.example.com/", "isStarted": true }, "time": "2024-03-28T13:46:44.810Z" }, { "timeMs": 1276, "elapsedMs": 51, "key": "pageExec", "value": { "message": "done, last waitingOn was: loadFinished events/scripts. isStarted=false, and debugDiags= " }, "time": "2024-03-28T13:46:44.861Z" }, { "timeMs": 1276, "elapsedMs": 0, "key": "pageExec", "value": { "message": "recording results.", "url": "https://www.example.com/" }, "time": "2024-03-28T13:46:44.861Z" }, { "timeMs": 1277, "elapsedMs": 1, "key": "recordPageResponse", "value": { "message": "recording results: got all cookies", "count": 0 }, "time": "2024-03-28T13:46:44.862Z" }, { "timeMs": 1278, "elapsedMs": 1, "key": "recordPageResponse", "value": { "message": "start pageResponse.resources" }, "time": "2024-03-28T13:46:44.863Z" }, { "timeMs": 1278, "elapsedMs": 0, "key": "recordPageResponse", "value": { "message": "start pageResponse.frameData (__serializeFrame)" }, "time": "2024-03-28T13:46:44.863Z" }, { "timeMs": 1281, "elapsedMs": 3, "key": "recordPageResponse", "value": { "message": "start pageResponse.automationResult" }, "time": "2024-03-28T13:46:44.866Z" }, { "timeMs": 1281, "elapsedMs": 0, "key": "recordPageResponse", "value": { "message": "made pageResponse object" }, "time": "2024-03-28T13:46:44.866Z" }, { "timeMs": 1281, "elapsedMs": 0, "key": "pageExec", "value": { "message": "finish recording results.", "url": "https://www.example.com/" }, "time": "2024-03-28T13:46:44.866Z" }, { "timeMs": 1282, "elapsedMs": 1, "key": "pageExec", "value": { "message": "end.", "url": "https://www.example.com/", "requestedUrl": "http://www.example.com" }, "time": "2024-03-28T13:46:44.867Z" } ], "frameData": { "name": "", "id": "B033EB59692F068854717D2D5F72E9A6", "childCount": 0, "childFrames": [], "content": "\n Example Domain\n\n \n \n \n \n\n\n\n
\n

Example Domain

\n

This domain is for use in illustrative examples in documents. You may use this\n domain in literature without prior coordination or asking for permission.

\n

More information...

\n
\n\n\n", "url": "https://www.example.com/" }, "pageRequest": { "url": "http://www.example.com", "renderType": "plainText", "outputAsJson": true, "requestSettings": { "ignoreImages": false, "disableJavascript": false, "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 (PhantomJsCloud.com/3.0.0)", "xssAuditingEnabled": false, "webSecurityEnabled": false, "resourceWait": 15000, "resourceTimeout": 35000, "maxWait": 35000, "ioWait": 2000, "waitInterval": 1000, "stopOnError": false, "resourceModifier": [], "customHeaders": {}, "clearCache": false, "clearCookies": false, "cookies": [], "deleteCookies": [] }, "suppressJson": [ "events.value.resourceRequest.headers", "events.value.resourceResponse.headers", "frameData.content", "frameData.childFrames" ], "renderSettings": { "quality": 70, "viewport": { "height": 1280, "width": 1280 }, "zoomFactor": 1, "passThroughHeaders": false, "emulateMedia": "screen", "omitBackground": false, "passThroughStatusCode": false, "shadowDom": "output", "iFrameMaxDepth": 3, "iFrameMaxCount": 10 }, "scripts": { "pageNavigated": [], "load": [], "domReady": [], "loadFinished": [] }, "scriptSettings": { "stopOnError": false, "async": false }, "queryJson": [] }, "automationResult": { "errors": [], "logs": [], "renders": [], "storage": {} } } ], "meta": { "backend": { "id": "1-xgqd", "os": "linux", "platform": "Chrome", "platformVersion": "116.0.5845.96", "requestsProcessed": 0, "apiVersion": "0.12.7-linux" }, "billing": { "startTime": "2024-03-28T13:46:43.446Z", "bytes": 15350, "elapsedMs": 1439, "proxyIngressBytes": 0, "proxyIngressCost": 0, "endTime": "2024-03-28T13:46:44.885Z", "creditCost": 0.00006353228371342023, "dailySubscriptionCreditsRemaining": 0.00946189424945057, "prepaidCreditsRemaining": 0.001 }, "outputAsJson": true, "trace": [ { "time": "2024-03-28T13:46:43.546Z", "data": "Begin Processing Request. about to aquire secure browser. targetUrls=1", "elapsedMs": 0 }, { "time": "2024-03-28T13:46:43.585Z", "data": "pageExec: begin processing pageRequest for \"http://www.example.com\"", "elapsedMs": 39 }, { "time": "2024-03-28T13:46:43.601Z", "data": "starting load of page =http://www.example.com", "elapsedMs": 16 }, { "time": "2024-03-28T13:46:44.867Z", "data": "pageExec: end processing pageRequest. final url: \"https://www.example.com/\", requested url: \"http://www.example.com\".", "elapsedMs": 1266 }, { "time": "2024-03-28T13:46:44.867Z", "data": { "message": "about to renderContent", "timeLeftForRendering": 44680 }, "elapsedMs": 0 }, { "time": "2024-03-28T13:46:44.867Z", "data": { "message": "renderContent start" }, "elapsedMs": 0 }, { "time": "2024-03-28T13:46:44.883Z", "data": { "message": "renderContent end" }, "elapsedMs": 16 }, { "time": "2024-03-28T13:46:44.884Z", "data": "begin finalizing response packet", "elapsedMs": 1 }, { "time": "2024-03-28T13:46:44.884Z", "data": "start _finalizeUserResponse", "elapsedMs": 0 }, { "time": "2024-03-28T13:46:44.884Z", "data": "Finish processing request. about to send HTTP response to you.", "elapsedMs": 0 } ] }, "content": { "statusCode": 200, "data": "Example Domain\n\nThis domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.\n\nMore information...", "encoding": "utf8", "name": "www-example-com.text", "size": 189, "url": "https://www.example.com/", "doneDetail": { "reason": "normal", "statusCode": 200 }, "eventPhase": "load", "resourceSummary": { "complete": 2, "failed": 0, "aborted": 0, "orphaned": 0, "active": 0, "late": 0 }, "pageExecLastWaitedOn": "loadFinished events/scripts. isStarted=false", "passThroughStatusCode": false }, "queryJson": [] });