You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in our tests sometimes respx is used to mock http traffic for static crawlers and for PlaywrightCrawler mostly real requests are done.
It would be convenient, faster and more robust to create a fixture that can mock both.
For Playwright related browser requests it can be done using custom browser BrowserPool, page.route for example:
The text was updated successfully, but these errors were encountered:
Pijukatel
added
debt
Code quality improvement or decrease of technical debt.
t-tooling
Issues with this label are in the ownership of the tooling team.
labels
Jan 22, 2025
Pijukatel
changed the title
Prepare universal http interceptor for both static and browser crawlers.
Prepare universal http interceptor for both static and browser crawlers
Jan 22, 2025
Pijukatel
changed the title
Prepare universal http interceptor for both static and browser crawlers
Prepare universal http interceptor for both static and browser crawlers tests
Jan 22, 2025
Currently in our tests sometimes respx is used to mock http traffic for static crawlers and for PlaywrightCrawler mostly real requests are done.
It would be convenient, faster and more robust to create a fixture that can mock both.
For Playwright related browser requests it can be done using custom browser BrowserPool, page.route for example:
The text was updated successfully, but these errors were encountered: