I use Selenium and Chrome driver and also enabled performance logging to provide better visibility to problems during the test. Performance log seems to be a json array that includes chrome's DevTool protocol messages. Is there any tool existent that allows me to visualize this log like in Chrome's dev tools tab.
Below is sample entry from the log:
{
"message": {
"method": "Network.requestWillBeSent",
"params": {
"documentURL": "https://******/",
"frameId": "15976.2",
"initiator": {
"type": "other"
},
"loaderId": "15976.3",
"request": {
"headers": {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"Upgrade-Insecure-Requests": "1",
"User-Agent": "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36"
},
"initialPriority": "VeryHigh",
"method": "GET",
"mixedContentType": "none",
"url": "https://********/"
},
"requestId": "15976.1",
"timestamp": 80251.314924,
"type": "Document",
"wallTime": 1455928917.89989
}
},
"webview": "D0C1AD9A-D631-4238-9A74-F873A7908EFB"
}