Skip to content

Commit

Permalink
docs: add routesToIntercept option to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
redabacha committed Dec 24, 2023
1 parent e2e621c commit e9708b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# [2.3.0](https://github.com/redabacha/polly-adapter-playwright/compare/v2.2.0...v2.3.0) (2023-12-24)


### Features

* allow route interception to be configurable ([1d693b6](https://github.com/redabacha/polly-adapter-playwright/commit/1d693b67279c4474571762437cb6870b43574b1a)), closes [#61](https://github.com/redabacha/polly-adapter-playwright/issues/61)
- allow route interception to be configurable ([1d693b6](https://github.com/redabacha/polly-adapter-playwright/commit/1d693b67279c4474571762437cb6870b43574b1a)), closes [#61](https://github.com/redabacha/polly-adapter-playwright/issues/61)

# [2.2.0](https://github.com/redabacha/polly-adapter-playwright/compare/v2.1.0...v2.2.0) (2023-12-24)

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,5 @@ await context.close();
| :-------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `context` | The browser context or page where requests will be intercepted. |
| `modifyResponse` | Fires before a response is fulfilled for any intercepted request. By default it will modify all responses to allow cross-origin resource sharing by setting the `access-control-allow-origin` header to `*`. |
| `routesToIntercept` | Configures which routes should be intercepted. By default this is set to `**\/*` which means all routes. |
| `shouldHandleRequest` | Specifies criteria that should be matched for a request to be intercepted. By default it will only match requests made by `fetch` or `XMLHttpRequest` calls. |

0 comments on commit e9708b2

Please sign in to comment.