@@ -2,73 +2,73 @@ export type LogLevel = 'ALL' | 'DEBUG' | 'INFO' | 'WARNING' | 'SEVERE' | 'OFF'
22
33export interface EdgedriverParameters {
44 /**
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+ */
77 edgeDriverVersion ?: string
88 /**
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+ */
1212 customEdgeDriverPath ?: string
1313 /**
14- * port to listen on
15- */
14+ * port to listen on
15+ */
1616 port ?: number
1717 /**
18- * adb server port
19- */
18+ * adb server port
19+ */
2020 adbPort ?: number
2121 /**
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+ */
2424 logPath ?: string
2525 /**
26- * set log level
27- */
26+ * set log level
27+ */
2828 logLevel ?: LogLevel
2929 /**
30- * log verbosely (equivalent to --log-level=ALL)
31- */
30+ * log verbosely (equivalent to --log-level=ALL)
31+ */
3232 verbose ?: boolean
3333 /**
34- * log nothing (equivalent to --log-level=OFF)
35- */
34+ * log nothing (equivalent to --log-level=OFF)
35+ */
3636 silent ?: boolean
3737 /**
38- * append log file instead of rewriting
39- */
38+ * append log file instead of rewriting
39+ */
4040 appendLog ?: boolean
4141 /**
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+ */
4444 replayable ?: boolean
4545 /**
46- * base URL path prefix for commands, e.g. wd/url
47- */
46+ * base URL path prefix for commands, e.g. wd/url
47+ */
4848 baseUrl ?: string
4949 /**
50- * add readable timestamps to log
51- */
50+ * add readable timestamps to log
51+ */
5252 readableTimestamp ?: boolean
5353 /**
54- * show logs from the browser (overrides other logging options)
55- */
54+ * show logs from the browser (overrides other logging options)
55+ */
5656 enableChromeLogs ?: boolean
5757 /**
58- * custom bidi mapper path
59- */
58+ * custom bidi mapper path
59+ */
6060 bidiMapperPath ?: string
6161 /**
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+ */
6464 allowedIps ?: string [ ]
6565 /**
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+ */
6868 allowedOrigins ?: string [ ]
6969 /**
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+ */
7373 cacheDir ?: string
7474}
0 commit comments