A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://playwright.bootcss.com/python/docs/api/class-route below:

Route | Playwright

Whenever a network route is set up with page.route(url, handler) or browser_context.route(url, handler), the Route object allows to handle the route.

route.abort(**kwargs)#

Aborts the route's request.

route.continue_(**kwargs)#

Continues route's request with optional overrides.

route.fulfill(**kwargs)#

Fulfills route's request with given response.

An example of fulfilling all requests with 404 responses:

An example of serving static file:

route.request#

A request to be routed.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4