Skip to content

Conversation

@razvanMiu
Copy link

Description

This PR restricts unnecessary resources, in playwright, when scraping a web page.

How Has This Been Tested?

I tested this by measuring the size of resources loaded by Playwright, using the page.on("response", calc_size) event. The calc_size function retrieves each response's size from the Content-Length header.

Backporting (check the box to trigger backport action)

Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.

  • This PR should be backported (make sure to check that the backport attempt succeeds)
  • [Optional] Override Linear Check

@github-actions
Copy link

This PR is stale because it has been open 75 days with no activity. Remove stale label or comment or this will be closed in 15 days.

@github-actions github-actions bot added the Stale label Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants