enum
This commit is contained in:
parent
32e40e6b4f
commit
8712024f3a
|
|
@ -568,7 +568,7 @@ To get started, enable the `mockingProxy` option in your Playwright config:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
use: { mockingProxy: true }
|
use: { mockingProxy: "inject-via-header" }
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ const config = {
|
||||||
'playwright.config.ts': `
|
'playwright.config.ts': `
|
||||||
module.exports = {
|
module.exports = {
|
||||||
use: {
|
use: {
|
||||||
mockingProxy: true,
|
mockingProxy: "inject-via-header",
|
||||||
ignoreHTTPSErrors: true,
|
ignoreHTTPSErrors: true,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue