"Looking at errors. Only have the response after header error. Looks good."
This commit is contained in:
parent
f08e9a1b5f
commit
696adcf061
|
@ -126,12 +126,9 @@ async function collect({chrome_port:port, mode} = {}) {
|
|||
urlPattern: "http*://*",
|
||||
requestStage
|
||||
}
|
||||
]
|
||||
],
|
||||
});
|
||||
|
||||
await send("Network.setCacheDisabled", {cacheDisabled:true});
|
||||
await send("Network.setBypassServiceWorker", {bypass:true});
|
||||
|
||||
await send("Target.setDiscoverTargets", {discover:true});
|
||||
await send("Target.setAutoAttach", {autoAttach:true, waitForDebuggerOnStart:false, flatten: true});
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ export async function connect({port:port = 9222} = {}) {
|
|||
const stringMessage = message;
|
||||
message = JSON.parse(message);
|
||||
if ( message.error ) {
|
||||
DEBUG && console.warn(message);
|
||||
console.warn(message);
|
||||
}
|
||||
const {sessionId} = message;
|
||||
const {method, params} = message;
|
||||
|
|
Loading…
Reference in New Issue