-
Notifications
You must be signed in to change notification settings - Fork 296
Open
Labels
CDPChrome Debug ProtocolChrome Debug Protocol
Description
The return value of await page.goto is null. If I want to get the response headers of that website's document, how should I do it?
const response = await page.goto(url, { waitUntil: 'load', timeout: timeout });
// echo `null`
console.log(response);
// I want to get headers
const headers = response.headers();I'm sure it's not due to a timeout, because the subsequent page.evaluate will execute normally.
Metadata
Metadata
Assignees
Labels
CDPChrome Debug ProtocolChrome Debug Protocol