@@ -2,73 +2,73 @@ export type LogLevel = 'ALL' | 'DEBUG' | 'INFO' | 'WARNING' | 'SEVERE' | 'OFF'
2
2
3
3
export interface EdgedriverParameters {
4
4
/**
5
- * Version of Edgedriver to start. See https://msedgedriver.azureedge.net/ for all available versions, platforms and architecture.
6
- */
5
+ * Version of Edgedriver to start. See https://msedgedriver.azureedge.net/ for all available versions, platforms and architecture.
6
+ */
7
7
edgeDriverVersion ?: string
8
8
/**
9
- * Don't download Edgedriver, instead use a custom path to it, e.g. a cached binary.
10
- * @default process.env.EDGEDRIVER_PATH
11
- */
9
+ * Don't download Edgedriver, instead use a custom path to it, e.g. a cached binary.
10
+ * @default process.env.EDGEDRIVER_PATH
11
+ */
12
12
customEdgeDriverPath ?: string
13
13
/**
14
- * port to listen on
15
- */
14
+ * port to listen on
15
+ */
16
16
port ?: number
17
17
/**
18
- * adb server port
19
- */
18
+ * adb server port
19
+ */
20
20
adbPort ?: number
21
21
/**
22
- * write server log to file instead of stderr, increases log level to INFO
23
- */
22
+ * write server log to file instead of stderr, increases log level to INFO
23
+ */
24
24
logPath ?: string
25
25
/**
26
- * set log level
27
- */
26
+ * set log level
27
+ */
28
28
logLevel ?: LogLevel
29
29
/**
30
- * log verbosely (equivalent to --log-level=ALL)
31
- */
30
+ * log verbosely (equivalent to --log-level=ALL)
31
+ */
32
32
verbose ?: boolean
33
33
/**
34
- * log nothing (equivalent to --log-level=OFF)
35
- */
34
+ * log nothing (equivalent to --log-level=OFF)
35
+ */
36
36
silent ?: boolean
37
37
/**
38
- * append log file instead of rewriting
39
- */
38
+ * append log file instead of rewriting
39
+ */
40
40
appendLog ?: boolean
41
41
/**
42
- * (experimental) log verbosely and don't truncate long strings so that the log can be replayed.
43
- */
42
+ * (experimental) log verbosely and don't truncate long strings so that the log can be replayed.
43
+ */
44
44
replayable ?: boolean
45
45
/**
46
- * base URL path prefix for commands, e.g. wd/url
47
- */
46
+ * base URL path prefix for commands, e.g. wd/url
47
+ */
48
48
baseUrl ?: string
49
49
/**
50
- * add readable timestamps to log
51
- */
50
+ * add readable timestamps to log
51
+ */
52
52
readableTimestamp ?: boolean
53
53
/**
54
- * show logs from the browser (overrides other logging options)
55
- */
54
+ * show logs from the browser (overrides other logging options)
55
+ */
56
56
enableChromeLogs ?: boolean
57
57
/**
58
- * custom bidi mapper path
59
- */
58
+ * custom bidi mapper path
59
+ */
60
60
bidiMapperPath ?: string
61
61
/**
62
- * comma-separated allowlist of remote IP addresses which are allowed to connect to msedgedriver
63
- */
62
+ * comma-separated allowlist of remote IP addresses which are allowed to connect to msedgedriver
63
+ */
64
64
allowedIps ?: string [ ]
65
65
/**
66
- * comma-separated allowlist of request origins which are allowed to connect to msedgedriver. Using `*` to allow any host origin is dangerous!
67
- */
66
+ * comma-separated allowlist of request origins which are allowed to connect to msedgedriver. Using `*` to allow any host origin is dangerous!
67
+ */
68
68
allowedOrigins ?: string [ ]
69
69
/**
70
- * The path to the root of the cache directory.
71
- * @default process.env.GECKODRIVER_CACHE_DIR || os.tmpdir()
72
- */
70
+ * The path to the root of the cache directory.
71
+ * @default process.env.GECKODRIVER_CACHE_DIR || os.tmpdir()
72
+ */
73
73
cacheDir ?: string
74
74
}
0 commit comments