Your question
It seems when I call this new HeadersArrayAsync method like this in RouteAsync
await page.RouteAsync("**/*", async (route) =>
{
var allHeaders= await route.Request.HeadersArrayAsync();
});
It throws
Microsoft.Playwright.PlaywrightException: 'Unable to fetch raw headers.'
Are these new methods not supposed to be used in RouteAsync ?
Your question
It seems when I call this new HeadersArrayAsync method like this in RouteAsync
It throws
Microsoft.Playwright.PlaywrightException: 'Unable to fetch raw headers.'Are these new methods not supposed to be used in RouteAsync ?