Question: Intercepting JS and CSS reponses
ivanvza opened this issue · 1 comments
ivanvza commented
In the handler.py
it uses the page.on("response", _make_response_logger(context_name, spider))
to log the url and response of which the browser receives, but without the body content (due to the await)
is there a similar method I can implement to catch/see the body of that response within my scraper, without the need to make additional requests?
elacuesta commented
You're probably looking for playwright_page_event_handlers
.