We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01e8493 commit 0c49535Copy full SHA for 0c49535
1 file changed
packages/cli/src/constructs/playwright-config.ts
@@ -1,5 +1,14 @@
1
import { CheckProps } from './check'
2
3
+/**
4
+ * Ref: https://playwright.dev/docs/network#http-proxy
5
+ */
6
+type HttpProxy = {
7
+ server: string,
8
+ username?: string,
9
+ password?: string,
10
+}
11
+
12
export type Use = {
13
baseURL?: string,
14
colorScheme?: string,
@@ -31,6 +40,7 @@ export type Use = {
31
40
contextOptions?: object,
32
41
bypassCSP?: boolean,
33
42
userAgent?: string,
43
+ proxy?: HttpProxy,
34
44
}
35
45
36
46
export type Expect = {
0 commit comments