class Playwright::Route

def fetch(

Note that `headers` option will apply to the fetched request as well as any redirects initiated by it. If you want to only apply `headers` to the original request, but not to redirects, look into [`method: Route.continue`] instead.

**Details**

```
page.route("https://dog.ceo/api/breeds/list/all", handle)

route.fulfill(response=response, json=json)
json["message"]["big_red_dog"] = []
json = response.json()
response = route.fetch()
def handle(route):
```python sync

**Usage**

could be modified and then fulfilled.
Performs the request and fetches result without fulfilling it, so that the response
def fetch(
      headers: nil,
      maxRedirects: nil,
      method: nil,
      postData: nil,
      timeout: nil,
      url: nil)
  wrap_impl(@impl.fetch(headers: unwrap_impl(headers), maxRedirects: unwrap_impl(maxRedirects), method: unwrap_impl(method), postData: unwrap_impl(postData), timeout: unwrap_impl(timeout), url: unwrap_impl(url)))
end