@aomex-contrib/browser 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1764 @@
1
+ import { DurationInput, Service } from "@aomex/common";
2
+ import { BrowserContext, BrowserContextOptions, Cookie, LaunchOptions, Page } from "patchright";
3
+ import { Logger } from "@aomex/logger";
4
+ /** `withPage` 回调中的 Page */
5
+ type PlaywrightPage = Page;
6
+ /** `getStats()` 返回值 */
7
+ type PlaywrightServiceStats = {
8
+ /** 进行中的 `withPage` 数量 */
9
+ active: number;
10
+ /** 因 `maxConcurrent` 排队中的数量 */
11
+ waiting: number;
12
+ /** Browser 是否仍连接 */
13
+ connected: boolean;
14
+ };
15
+ /** 代理:`server` 与 `host`+`port` 二选一 */
16
+ type BrowserProxy = {
17
+ /** 完整代理地址,如 `http://1.2.3.4:8080` / `socks5://...` */
18
+ server?: string;
19
+ /** 主机名或 IP;与 `port` 一起使用 */
20
+ host?: string;
21
+ port?: number;
22
+ username?: string;
23
+ password?: string;
24
+ };
25
+ /**
26
+ * 单次 `withPage` 选项。
27
+ * 除 `proxy` / `cookies` 外,其余字段与 Playwright `BrowserContextOptions` 对齐,会覆盖 Service 级默认。
28
+ */
29
+ type WithPageOptions = {
30
+ /**
31
+ * 挂在 BrowserContext 上的代理(换代理不必重开 Browser)。
32
+ * 账密直接写在 `proxy.username` / `proxy.password`。
33
+ */
34
+ proxy?: BrowserProxy;
35
+ /**
36
+ * Context 创建后调用 `addCookies`。
37
+ * 若同时传 `storageState`,两者都会生效(先还原 storageState,再追加 cookies)。
38
+ */
39
+ cookies?: Cookie[];
40
+ } & Omit<BrowserContextOptions, 'proxy'>;
41
+ type PlaywrightViewport = {
42
+ width: number;
43
+ height: number;
44
+ };
45
+ type CreatePlaywrightServiceOptions = {
46
+ /**
47
+ * 是否无头。
48
+ * 默认无头,方便 Docker / CI。要更强反检测可设 `false`(Linux 无 `DISPLAY` 时会尝试起 Xvfb,镜像需已装)。
49
+ * 默认值:`true`
50
+ */
51
+ headless?: boolean;
52
+ /**
53
+ * Context 视口。`null` 表示跟随真实窗口,避免固定分辨率指纹。
54
+ * 默认值:`null`
55
+ */
56
+ viewport?: PlaywrightViewport | null;
57
+ /**
58
+ * Context 时区。不传则沿用浏览器/系统默认(更利于反检测;有代理时建议与出口地区一致)。
59
+ */
60
+ timezoneId?: string;
61
+ /**
62
+ * Context 语言。不传则沿用浏览器/系统默认。
63
+ */
64
+ locale?: string;
65
+ /** Context 默认超时(含导航)。默认值:`2 minutes` */
66
+ defaultTimeout?: DurationInput;
67
+ /** 关闭 Browser / Context 的等待上限。默认值:`10 seconds` */
68
+ closeTimeout?: DurationInput;
69
+ /**
70
+ * 空闲回收:无进行中的 `withPage` 达到该时长后关闭 Browser,降低常驻内存/句柄占用。
71
+ * 关闭不等于停用——之后再有 `withPage` 会自动重新 launch,无需手动启动。
72
+ * 关与开互斥;有任务时不会关。不传则常驻到 `onDestroy`。
73
+ * 例:`'5 minutes'` / `300_000`
74
+ */
75
+ idleTimeout?: DurationInput;
76
+ /**
77
+ * 同时进行的 `withPage` 上限;超出则排队等待。
78
+ * 不传则不限制。
79
+ */
80
+ maxConcurrent?: number;
81
+ /**
82
+ * 传给 `chromium.launch` 的选项(不含 `headless` / `proxy` / `channel`)。
83
+ * `channel` 固定为 `'chrome'`(需镜像已 `patchright install chrome`),不可改。
84
+ * `args` 会追加在内置默认 args 之后。
85
+ */
86
+ launch?: Omit<LaunchOptions, 'headless' | 'proxy' | 'channel'>;
87
+ /**
88
+ * 日志出口(如项目里的 `Logger` 实例 / `services.logger`)。
89
+ */
90
+ logger: Logger;
91
+ /**
92
+ * 自定义 User-Agent。默认不设置,沿用浏览器自带 UA(反检测推荐)。
93
+ */
94
+ userAgent?: string;
95
+ };
96
+ /** `createPlaywrightService` 返回类的实例公开 API */
97
+ type PlaywrightService = Service & {
98
+ withPage<T>(opts: WithPageOptions, onHandle: (page: PlaywrightPage, context: BrowserContext) => Promise<T>): Promise<T>;
99
+ getStats(): PlaywrightServiceStats;
100
+ };
101
+ type PlaywrightServiceCtor = new () => PlaywrightService;
102
+ /**
103
+ * 创建 Playwright Browser Service 子类(底层为 [Patchright](https://github.com/Kaliiiiiiiiii-Vinyzu/patchright))。
104
+ *
105
+ * - `onInit`:启动唯一 Chromium 进程
106
+ * - `withPage`:每次新建带代理的 `BrowserContext` + `Page`,用完关闭 Context
107
+ * - `getStats`:并发占用与 Browser 连接状态
108
+ * - `idleTimeout`:空闲且无进行中任务时关闭 Browser;下次 `withPage` 再启
109
+ * - `maxConcurrent`:同时进行的 `withPage` 上限,超出排队
110
+ * - `onDestroy`:关闭进程;超时则强杀
111
+ *
112
+ * 站点点击流等业务逻辑请放在业务 Service,不要塞进本类。
113
+ */
114
+ export declare function createPlaywrightService(opts: CreatePlaywrightServiceOptions): PlaywrightServiceCtor;
115
+ /** 净化为可用的会话目录名 */
116
+ export declare function sanitizeUserDataDirName(dir: string | undefined): string;
117
+ export declare function mergeProxy(base: BrowserProxy | undefined, auth: {
118
+ username: string;
119
+ password: string;
120
+ } | undefined): BrowserProxy | undefined;
121
+ /** 将 `BrowserProxy` 转为 Playwright `proxy`;无效则返回 `undefined` */
122
+ export declare function toPlaywrightProxy(proxy: BrowserProxy | undefined): {
123
+ server: string;
124
+ username?: string;
125
+ password?: string;
126
+ } | undefined;
127
+ export declare function chromeUserAgentFromVersion(version: string): string;
128
+ export declare const i18n: import("@aomex/internal-tools").I18n<{
129
+ "ar-EG": {
130
+ readonly browser_not_ready: string;
131
+ readonly close_browser_timeout: string;
132
+ readonly close_browser_failed: string;
133
+ readonly force_kill_browser: string;
134
+ readonly force_kill_failed: string;
135
+ readonly close_context_timeout: string;
136
+ readonly close_context_failed: string;
137
+ readonly xvfb_exited: string;
138
+ readonly xvfb_start_failed: string;
139
+ readonly max_concurrent_invalid: string;
140
+ } | (() => Promise<{
141
+ readonly browser_not_ready: string;
142
+ readonly close_browser_timeout: string;
143
+ readonly close_browser_failed: string;
144
+ readonly force_kill_browser: string;
145
+ readonly force_kill_failed: string;
146
+ readonly close_context_timeout: string;
147
+ readonly close_context_failed: string;
148
+ readonly xvfb_exited: string;
149
+ readonly xvfb_start_failed: string;
150
+ readonly max_concurrent_invalid: string;
151
+ }>);
152
+ "az-AZ": {
153
+ readonly browser_not_ready: string;
154
+ readonly close_browser_timeout: string;
155
+ readonly close_browser_failed: string;
156
+ readonly force_kill_browser: string;
157
+ readonly force_kill_failed: string;
158
+ readonly close_context_timeout: string;
159
+ readonly close_context_failed: string;
160
+ readonly xvfb_exited: string;
161
+ readonly xvfb_start_failed: string;
162
+ readonly max_concurrent_invalid: string;
163
+ } | (() => Promise<{
164
+ readonly browser_not_ready: string;
165
+ readonly close_browser_timeout: string;
166
+ readonly close_browser_failed: string;
167
+ readonly force_kill_browser: string;
168
+ readonly force_kill_failed: string;
169
+ readonly close_context_timeout: string;
170
+ readonly close_context_failed: string;
171
+ readonly xvfb_exited: string;
172
+ readonly xvfb_start_failed: string;
173
+ readonly max_concurrent_invalid: string;
174
+ }>);
175
+ "be-BY": {
176
+ readonly browser_not_ready: string;
177
+ readonly close_browser_timeout: string;
178
+ readonly close_browser_failed: string;
179
+ readonly force_kill_browser: string;
180
+ readonly force_kill_failed: string;
181
+ readonly close_context_timeout: string;
182
+ readonly close_context_failed: string;
183
+ readonly xvfb_exited: string;
184
+ readonly xvfb_start_failed: string;
185
+ readonly max_concurrent_invalid: string;
186
+ } | (() => Promise<{
187
+ readonly browser_not_ready: string;
188
+ readonly close_browser_timeout: string;
189
+ readonly close_browser_failed: string;
190
+ readonly force_kill_browser: string;
191
+ readonly force_kill_failed: string;
192
+ readonly close_context_timeout: string;
193
+ readonly close_context_failed: string;
194
+ readonly xvfb_exited: string;
195
+ readonly xvfb_start_failed: string;
196
+ readonly max_concurrent_invalid: string;
197
+ }>);
198
+ "bg-BG": {
199
+ readonly browser_not_ready: string;
200
+ readonly close_browser_timeout: string;
201
+ readonly close_browser_failed: string;
202
+ readonly force_kill_browser: string;
203
+ readonly force_kill_failed: string;
204
+ readonly close_context_timeout: string;
205
+ readonly close_context_failed: string;
206
+ readonly xvfb_exited: string;
207
+ readonly xvfb_start_failed: string;
208
+ readonly max_concurrent_invalid: string;
209
+ } | (() => Promise<{
210
+ readonly browser_not_ready: string;
211
+ readonly close_browser_timeout: string;
212
+ readonly close_browser_failed: string;
213
+ readonly force_kill_browser: string;
214
+ readonly force_kill_failed: string;
215
+ readonly close_context_timeout: string;
216
+ readonly close_context_failed: string;
217
+ readonly xvfb_exited: string;
218
+ readonly xvfb_start_failed: string;
219
+ readonly max_concurrent_invalid: string;
220
+ }>);
221
+ "bn-BD": {
222
+ readonly browser_not_ready: string;
223
+ readonly close_browser_timeout: string;
224
+ readonly close_browser_failed: string;
225
+ readonly force_kill_browser: string;
226
+ readonly force_kill_failed: string;
227
+ readonly close_context_timeout: string;
228
+ readonly close_context_failed: string;
229
+ readonly xvfb_exited: string;
230
+ readonly xvfb_start_failed: string;
231
+ readonly max_concurrent_invalid: string;
232
+ } | (() => Promise<{
233
+ readonly browser_not_ready: string;
234
+ readonly close_browser_timeout: string;
235
+ readonly close_browser_failed: string;
236
+ readonly force_kill_browser: string;
237
+ readonly force_kill_failed: string;
238
+ readonly close_context_timeout: string;
239
+ readonly close_context_failed: string;
240
+ readonly xvfb_exited: string;
241
+ readonly xvfb_start_failed: string;
242
+ readonly max_concurrent_invalid: string;
243
+ }>);
244
+ "ca-ES": {
245
+ readonly browser_not_ready: string;
246
+ readonly close_browser_timeout: string;
247
+ readonly close_browser_failed: string;
248
+ readonly force_kill_browser: string;
249
+ readonly force_kill_failed: string;
250
+ readonly close_context_timeout: string;
251
+ readonly close_context_failed: string;
252
+ readonly xvfb_exited: string;
253
+ readonly xvfb_start_failed: string;
254
+ readonly max_concurrent_invalid: string;
255
+ } | (() => Promise<{
256
+ readonly browser_not_ready: string;
257
+ readonly close_browser_timeout: string;
258
+ readonly close_browser_failed: string;
259
+ readonly force_kill_browser: string;
260
+ readonly force_kill_failed: string;
261
+ readonly close_context_timeout: string;
262
+ readonly close_context_failed: string;
263
+ readonly xvfb_exited: string;
264
+ readonly xvfb_start_failed: string;
265
+ readonly max_concurrent_invalid: string;
266
+ }>);
267
+ "cs-CZ": {
268
+ readonly browser_not_ready: string;
269
+ readonly close_browser_timeout: string;
270
+ readonly close_browser_failed: string;
271
+ readonly force_kill_browser: string;
272
+ readonly force_kill_failed: string;
273
+ readonly close_context_timeout: string;
274
+ readonly close_context_failed: string;
275
+ readonly xvfb_exited: string;
276
+ readonly xvfb_start_failed: string;
277
+ readonly max_concurrent_invalid: string;
278
+ } | (() => Promise<{
279
+ readonly browser_not_ready: string;
280
+ readonly close_browser_timeout: string;
281
+ readonly close_browser_failed: string;
282
+ readonly force_kill_browser: string;
283
+ readonly force_kill_failed: string;
284
+ readonly close_context_timeout: string;
285
+ readonly close_context_failed: string;
286
+ readonly xvfb_exited: string;
287
+ readonly xvfb_start_failed: string;
288
+ readonly max_concurrent_invalid: string;
289
+ }>);
290
+ "da-DK": {
291
+ readonly browser_not_ready: string;
292
+ readonly close_browser_timeout: string;
293
+ readonly close_browser_failed: string;
294
+ readonly force_kill_browser: string;
295
+ readonly force_kill_failed: string;
296
+ readonly close_context_timeout: string;
297
+ readonly close_context_failed: string;
298
+ readonly xvfb_exited: string;
299
+ readonly xvfb_start_failed: string;
300
+ readonly max_concurrent_invalid: string;
301
+ } | (() => Promise<{
302
+ readonly browser_not_ready: string;
303
+ readonly close_browser_timeout: string;
304
+ readonly close_browser_failed: string;
305
+ readonly force_kill_browser: string;
306
+ readonly force_kill_failed: string;
307
+ readonly close_context_timeout: string;
308
+ readonly close_context_failed: string;
309
+ readonly xvfb_exited: string;
310
+ readonly xvfb_start_failed: string;
311
+ readonly max_concurrent_invalid: string;
312
+ }>);
313
+ "de-DE": {
314
+ readonly browser_not_ready: string;
315
+ readonly close_browser_timeout: string;
316
+ readonly close_browser_failed: string;
317
+ readonly force_kill_browser: string;
318
+ readonly force_kill_failed: string;
319
+ readonly close_context_timeout: string;
320
+ readonly close_context_failed: string;
321
+ readonly xvfb_exited: string;
322
+ readonly xvfb_start_failed: string;
323
+ readonly max_concurrent_invalid: string;
324
+ } | (() => Promise<{
325
+ readonly browser_not_ready: string;
326
+ readonly close_browser_timeout: string;
327
+ readonly close_browser_failed: string;
328
+ readonly force_kill_browser: string;
329
+ readonly force_kill_failed: string;
330
+ readonly close_context_timeout: string;
331
+ readonly close_context_failed: string;
332
+ readonly xvfb_exited: string;
333
+ readonly xvfb_start_failed: string;
334
+ readonly max_concurrent_invalid: string;
335
+ }>);
336
+ "el-GR": {
337
+ readonly browser_not_ready: string;
338
+ readonly close_browser_timeout: string;
339
+ readonly close_browser_failed: string;
340
+ readonly force_kill_browser: string;
341
+ readonly force_kill_failed: string;
342
+ readonly close_context_timeout: string;
343
+ readonly close_context_failed: string;
344
+ readonly xvfb_exited: string;
345
+ readonly xvfb_start_failed: string;
346
+ readonly max_concurrent_invalid: string;
347
+ } | (() => Promise<{
348
+ readonly browser_not_ready: string;
349
+ readonly close_browser_timeout: string;
350
+ readonly close_browser_failed: string;
351
+ readonly force_kill_browser: string;
352
+ readonly force_kill_failed: string;
353
+ readonly close_context_timeout: string;
354
+ readonly close_context_failed: string;
355
+ readonly xvfb_exited: string;
356
+ readonly xvfb_start_failed: string;
357
+ readonly max_concurrent_invalid: string;
358
+ }>);
359
+ "en-GB": {
360
+ readonly browser_not_ready: string;
361
+ readonly close_browser_timeout: string;
362
+ readonly close_browser_failed: string;
363
+ readonly force_kill_browser: string;
364
+ readonly force_kill_failed: string;
365
+ readonly close_context_timeout: string;
366
+ readonly close_context_failed: string;
367
+ readonly xvfb_exited: string;
368
+ readonly xvfb_start_failed: string;
369
+ readonly max_concurrent_invalid: string;
370
+ } | (() => Promise<{
371
+ readonly browser_not_ready: string;
372
+ readonly close_browser_timeout: string;
373
+ readonly close_browser_failed: string;
374
+ readonly force_kill_browser: string;
375
+ readonly force_kill_failed: string;
376
+ readonly close_context_timeout: string;
377
+ readonly close_context_failed: string;
378
+ readonly xvfb_exited: string;
379
+ readonly xvfb_start_failed: string;
380
+ readonly max_concurrent_invalid: string;
381
+ }>);
382
+ "en-US": {
383
+ readonly browser_not_ready: string;
384
+ readonly close_browser_timeout: string;
385
+ readonly close_browser_failed: string;
386
+ readonly force_kill_browser: string;
387
+ readonly force_kill_failed: string;
388
+ readonly close_context_timeout: string;
389
+ readonly close_context_failed: string;
390
+ readonly xvfb_exited: string;
391
+ readonly xvfb_start_failed: string;
392
+ readonly max_concurrent_invalid: string;
393
+ };
394
+ "es-ES": {
395
+ readonly browser_not_ready: string;
396
+ readonly close_browser_timeout: string;
397
+ readonly close_browser_failed: string;
398
+ readonly force_kill_browser: string;
399
+ readonly force_kill_failed: string;
400
+ readonly close_context_timeout: string;
401
+ readonly close_context_failed: string;
402
+ readonly xvfb_exited: string;
403
+ readonly xvfb_start_failed: string;
404
+ readonly max_concurrent_invalid: string;
405
+ } | (() => Promise<{
406
+ readonly browser_not_ready: string;
407
+ readonly close_browser_timeout: string;
408
+ readonly close_browser_failed: string;
409
+ readonly force_kill_browser: string;
410
+ readonly force_kill_failed: string;
411
+ readonly close_context_timeout: string;
412
+ readonly close_context_failed: string;
413
+ readonly xvfb_exited: string;
414
+ readonly xvfb_start_failed: string;
415
+ readonly max_concurrent_invalid: string;
416
+ }>);
417
+ "es-US": {
418
+ readonly browser_not_ready: string;
419
+ readonly close_browser_timeout: string;
420
+ readonly close_browser_failed: string;
421
+ readonly force_kill_browser: string;
422
+ readonly force_kill_failed: string;
423
+ readonly close_context_timeout: string;
424
+ readonly close_context_failed: string;
425
+ readonly xvfb_exited: string;
426
+ readonly xvfb_start_failed: string;
427
+ readonly max_concurrent_invalid: string;
428
+ } | (() => Promise<{
429
+ readonly browser_not_ready: string;
430
+ readonly close_browser_timeout: string;
431
+ readonly close_browser_failed: string;
432
+ readonly force_kill_browser: string;
433
+ readonly force_kill_failed: string;
434
+ readonly close_context_timeout: string;
435
+ readonly close_context_failed: string;
436
+ readonly xvfb_exited: string;
437
+ readonly xvfb_start_failed: string;
438
+ readonly max_concurrent_invalid: string;
439
+ }>);
440
+ "et-EE": {
441
+ readonly browser_not_ready: string;
442
+ readonly close_browser_timeout: string;
443
+ readonly close_browser_failed: string;
444
+ readonly force_kill_browser: string;
445
+ readonly force_kill_failed: string;
446
+ readonly close_context_timeout: string;
447
+ readonly close_context_failed: string;
448
+ readonly xvfb_exited: string;
449
+ readonly xvfb_start_failed: string;
450
+ readonly max_concurrent_invalid: string;
451
+ } | (() => Promise<{
452
+ readonly browser_not_ready: string;
453
+ readonly close_browser_timeout: string;
454
+ readonly close_browser_failed: string;
455
+ readonly force_kill_browser: string;
456
+ readonly force_kill_failed: string;
457
+ readonly close_context_timeout: string;
458
+ readonly close_context_failed: string;
459
+ readonly xvfb_exited: string;
460
+ readonly xvfb_start_failed: string;
461
+ readonly max_concurrent_invalid: string;
462
+ }>);
463
+ "eu-ES": {
464
+ readonly browser_not_ready: string;
465
+ readonly close_browser_timeout: string;
466
+ readonly close_browser_failed: string;
467
+ readonly force_kill_browser: string;
468
+ readonly force_kill_failed: string;
469
+ readonly close_context_timeout: string;
470
+ readonly close_context_failed: string;
471
+ readonly xvfb_exited: string;
472
+ readonly xvfb_start_failed: string;
473
+ readonly max_concurrent_invalid: string;
474
+ } | (() => Promise<{
475
+ readonly browser_not_ready: string;
476
+ readonly close_browser_timeout: string;
477
+ readonly close_browser_failed: string;
478
+ readonly force_kill_browser: string;
479
+ readonly force_kill_failed: string;
480
+ readonly close_context_timeout: string;
481
+ readonly close_context_failed: string;
482
+ readonly xvfb_exited: string;
483
+ readonly xvfb_start_failed: string;
484
+ readonly max_concurrent_invalid: string;
485
+ }>);
486
+ "fa-IR": {
487
+ readonly browser_not_ready: string;
488
+ readonly close_browser_timeout: string;
489
+ readonly close_browser_failed: string;
490
+ readonly force_kill_browser: string;
491
+ readonly force_kill_failed: string;
492
+ readonly close_context_timeout: string;
493
+ readonly close_context_failed: string;
494
+ readonly xvfb_exited: string;
495
+ readonly xvfb_start_failed: string;
496
+ readonly max_concurrent_invalid: string;
497
+ } | (() => Promise<{
498
+ readonly browser_not_ready: string;
499
+ readonly close_browser_timeout: string;
500
+ readonly close_browser_failed: string;
501
+ readonly force_kill_browser: string;
502
+ readonly force_kill_failed: string;
503
+ readonly close_context_timeout: string;
504
+ readonly close_context_failed: string;
505
+ readonly xvfb_exited: string;
506
+ readonly xvfb_start_failed: string;
507
+ readonly max_concurrent_invalid: string;
508
+ }>);
509
+ "fi-FI": {
510
+ readonly browser_not_ready: string;
511
+ readonly close_browser_timeout: string;
512
+ readonly close_browser_failed: string;
513
+ readonly force_kill_browser: string;
514
+ readonly force_kill_failed: string;
515
+ readonly close_context_timeout: string;
516
+ readonly close_context_failed: string;
517
+ readonly xvfb_exited: string;
518
+ readonly xvfb_start_failed: string;
519
+ readonly max_concurrent_invalid: string;
520
+ } | (() => Promise<{
521
+ readonly browser_not_ready: string;
522
+ readonly close_browser_timeout: string;
523
+ readonly close_browser_failed: string;
524
+ readonly force_kill_browser: string;
525
+ readonly force_kill_failed: string;
526
+ readonly close_context_timeout: string;
527
+ readonly close_context_failed: string;
528
+ readonly xvfb_exited: string;
529
+ readonly xvfb_start_failed: string;
530
+ readonly max_concurrent_invalid: string;
531
+ }>);
532
+ "fr-BE": {
533
+ readonly browser_not_ready: string;
534
+ readonly close_browser_timeout: string;
535
+ readonly close_browser_failed: string;
536
+ readonly force_kill_browser: string;
537
+ readonly force_kill_failed: string;
538
+ readonly close_context_timeout: string;
539
+ readonly close_context_failed: string;
540
+ readonly xvfb_exited: string;
541
+ readonly xvfb_start_failed: string;
542
+ readonly max_concurrent_invalid: string;
543
+ } | (() => Promise<{
544
+ readonly browser_not_ready: string;
545
+ readonly close_browser_timeout: string;
546
+ readonly close_browser_failed: string;
547
+ readonly force_kill_browser: string;
548
+ readonly force_kill_failed: string;
549
+ readonly close_context_timeout: string;
550
+ readonly close_context_failed: string;
551
+ readonly xvfb_exited: string;
552
+ readonly xvfb_start_failed: string;
553
+ readonly max_concurrent_invalid: string;
554
+ }>);
555
+ "fr-CA": {
556
+ readonly browser_not_ready: string;
557
+ readonly close_browser_timeout: string;
558
+ readonly close_browser_failed: string;
559
+ readonly force_kill_browser: string;
560
+ readonly force_kill_failed: string;
561
+ readonly close_context_timeout: string;
562
+ readonly close_context_failed: string;
563
+ readonly xvfb_exited: string;
564
+ readonly xvfb_start_failed: string;
565
+ readonly max_concurrent_invalid: string;
566
+ } | (() => Promise<{
567
+ readonly browser_not_ready: string;
568
+ readonly close_browser_timeout: string;
569
+ readonly close_browser_failed: string;
570
+ readonly force_kill_browser: string;
571
+ readonly force_kill_failed: string;
572
+ readonly close_context_timeout: string;
573
+ readonly close_context_failed: string;
574
+ readonly xvfb_exited: string;
575
+ readonly xvfb_start_failed: string;
576
+ readonly max_concurrent_invalid: string;
577
+ }>);
578
+ "fr-FR": {
579
+ readonly browser_not_ready: string;
580
+ readonly close_browser_timeout: string;
581
+ readonly close_browser_failed: string;
582
+ readonly force_kill_browser: string;
583
+ readonly force_kill_failed: string;
584
+ readonly close_context_timeout: string;
585
+ readonly close_context_failed: string;
586
+ readonly xvfb_exited: string;
587
+ readonly xvfb_start_failed: string;
588
+ readonly max_concurrent_invalid: string;
589
+ } | (() => Promise<{
590
+ readonly browser_not_ready: string;
591
+ readonly close_browser_timeout: string;
592
+ readonly close_browser_failed: string;
593
+ readonly force_kill_browser: string;
594
+ readonly force_kill_failed: string;
595
+ readonly close_context_timeout: string;
596
+ readonly close_context_failed: string;
597
+ readonly xvfb_exited: string;
598
+ readonly xvfb_start_failed: string;
599
+ readonly max_concurrent_invalid: string;
600
+ }>);
601
+ "ga-IE": {
602
+ readonly browser_not_ready: string;
603
+ readonly close_browser_timeout: string;
604
+ readonly close_browser_failed: string;
605
+ readonly force_kill_browser: string;
606
+ readonly force_kill_failed: string;
607
+ readonly close_context_timeout: string;
608
+ readonly close_context_failed: string;
609
+ readonly xvfb_exited: string;
610
+ readonly xvfb_start_failed: string;
611
+ readonly max_concurrent_invalid: string;
612
+ } | (() => Promise<{
613
+ readonly browser_not_ready: string;
614
+ readonly close_browser_timeout: string;
615
+ readonly close_browser_failed: string;
616
+ readonly force_kill_browser: string;
617
+ readonly force_kill_failed: string;
618
+ readonly close_context_timeout: string;
619
+ readonly close_context_failed: string;
620
+ readonly xvfb_exited: string;
621
+ readonly xvfb_start_failed: string;
622
+ readonly max_concurrent_invalid: string;
623
+ }>);
624
+ "gl-ES": {
625
+ readonly browser_not_ready: string;
626
+ readonly close_browser_timeout: string;
627
+ readonly close_browser_failed: string;
628
+ readonly force_kill_browser: string;
629
+ readonly force_kill_failed: string;
630
+ readonly close_context_timeout: string;
631
+ readonly close_context_failed: string;
632
+ readonly xvfb_exited: string;
633
+ readonly xvfb_start_failed: string;
634
+ readonly max_concurrent_invalid: string;
635
+ } | (() => Promise<{
636
+ readonly browser_not_ready: string;
637
+ readonly close_browser_timeout: string;
638
+ readonly close_browser_failed: string;
639
+ readonly force_kill_browser: string;
640
+ readonly force_kill_failed: string;
641
+ readonly close_context_timeout: string;
642
+ readonly close_context_failed: string;
643
+ readonly xvfb_exited: string;
644
+ readonly xvfb_start_failed: string;
645
+ readonly max_concurrent_invalid: string;
646
+ }>);
647
+ "he-IL": {
648
+ readonly browser_not_ready: string;
649
+ readonly close_browser_timeout: string;
650
+ readonly close_browser_failed: string;
651
+ readonly force_kill_browser: string;
652
+ readonly force_kill_failed: string;
653
+ readonly close_context_timeout: string;
654
+ readonly close_context_failed: string;
655
+ readonly xvfb_exited: string;
656
+ readonly xvfb_start_failed: string;
657
+ readonly max_concurrent_invalid: string;
658
+ } | (() => Promise<{
659
+ readonly browser_not_ready: string;
660
+ readonly close_browser_timeout: string;
661
+ readonly close_browser_failed: string;
662
+ readonly force_kill_browser: string;
663
+ readonly force_kill_failed: string;
664
+ readonly close_context_timeout: string;
665
+ readonly close_context_failed: string;
666
+ readonly xvfb_exited: string;
667
+ readonly xvfb_start_failed: string;
668
+ readonly max_concurrent_invalid: string;
669
+ }>);
670
+ "hi-IN": {
671
+ readonly browser_not_ready: string;
672
+ readonly close_browser_timeout: string;
673
+ readonly close_browser_failed: string;
674
+ readonly force_kill_browser: string;
675
+ readonly force_kill_failed: string;
676
+ readonly close_context_timeout: string;
677
+ readonly close_context_failed: string;
678
+ readonly xvfb_exited: string;
679
+ readonly xvfb_start_failed: string;
680
+ readonly max_concurrent_invalid: string;
681
+ } | (() => Promise<{
682
+ readonly browser_not_ready: string;
683
+ readonly close_browser_timeout: string;
684
+ readonly close_browser_failed: string;
685
+ readonly force_kill_browser: string;
686
+ readonly force_kill_failed: string;
687
+ readonly close_context_timeout: string;
688
+ readonly close_context_failed: string;
689
+ readonly xvfb_exited: string;
690
+ readonly xvfb_start_failed: string;
691
+ readonly max_concurrent_invalid: string;
692
+ }>);
693
+ "hr-HR": {
694
+ readonly browser_not_ready: string;
695
+ readonly close_browser_timeout: string;
696
+ readonly close_browser_failed: string;
697
+ readonly force_kill_browser: string;
698
+ readonly force_kill_failed: string;
699
+ readonly close_context_timeout: string;
700
+ readonly close_context_failed: string;
701
+ readonly xvfb_exited: string;
702
+ readonly xvfb_start_failed: string;
703
+ readonly max_concurrent_invalid: string;
704
+ } | (() => Promise<{
705
+ readonly browser_not_ready: string;
706
+ readonly close_browser_timeout: string;
707
+ readonly close_browser_failed: string;
708
+ readonly force_kill_browser: string;
709
+ readonly force_kill_failed: string;
710
+ readonly close_context_timeout: string;
711
+ readonly close_context_failed: string;
712
+ readonly xvfb_exited: string;
713
+ readonly xvfb_start_failed: string;
714
+ readonly max_concurrent_invalid: string;
715
+ }>);
716
+ "hu-HU": {
717
+ readonly browser_not_ready: string;
718
+ readonly close_browser_timeout: string;
719
+ readonly close_browser_failed: string;
720
+ readonly force_kill_browser: string;
721
+ readonly force_kill_failed: string;
722
+ readonly close_context_timeout: string;
723
+ readonly close_context_failed: string;
724
+ readonly xvfb_exited: string;
725
+ readonly xvfb_start_failed: string;
726
+ readonly max_concurrent_invalid: string;
727
+ } | (() => Promise<{
728
+ readonly browser_not_ready: string;
729
+ readonly close_browser_timeout: string;
730
+ readonly close_browser_failed: string;
731
+ readonly force_kill_browser: string;
732
+ readonly force_kill_failed: string;
733
+ readonly close_context_timeout: string;
734
+ readonly close_context_failed: string;
735
+ readonly xvfb_exited: string;
736
+ readonly xvfb_start_failed: string;
737
+ readonly max_concurrent_invalid: string;
738
+ }>);
739
+ "hy-AM": {
740
+ readonly browser_not_ready: string;
741
+ readonly close_browser_timeout: string;
742
+ readonly close_browser_failed: string;
743
+ readonly force_kill_browser: string;
744
+ readonly force_kill_failed: string;
745
+ readonly close_context_timeout: string;
746
+ readonly close_context_failed: string;
747
+ readonly xvfb_exited: string;
748
+ readonly xvfb_start_failed: string;
749
+ readonly max_concurrent_invalid: string;
750
+ } | (() => Promise<{
751
+ readonly browser_not_ready: string;
752
+ readonly close_browser_timeout: string;
753
+ readonly close_browser_failed: string;
754
+ readonly force_kill_browser: string;
755
+ readonly force_kill_failed: string;
756
+ readonly close_context_timeout: string;
757
+ readonly close_context_failed: string;
758
+ readonly xvfb_exited: string;
759
+ readonly xvfb_start_failed: string;
760
+ readonly max_concurrent_invalid: string;
761
+ }>);
762
+ "id-ID": {
763
+ readonly browser_not_ready: string;
764
+ readonly close_browser_timeout: string;
765
+ readonly close_browser_failed: string;
766
+ readonly force_kill_browser: string;
767
+ readonly force_kill_failed: string;
768
+ readonly close_context_timeout: string;
769
+ readonly close_context_failed: string;
770
+ readonly xvfb_exited: string;
771
+ readonly xvfb_start_failed: string;
772
+ readonly max_concurrent_invalid: string;
773
+ } | (() => Promise<{
774
+ readonly browser_not_ready: string;
775
+ readonly close_browser_timeout: string;
776
+ readonly close_browser_failed: string;
777
+ readonly force_kill_browser: string;
778
+ readonly force_kill_failed: string;
779
+ readonly close_context_timeout: string;
780
+ readonly close_context_failed: string;
781
+ readonly xvfb_exited: string;
782
+ readonly xvfb_start_failed: string;
783
+ readonly max_concurrent_invalid: string;
784
+ }>);
785
+ "is-IS": {
786
+ readonly browser_not_ready: string;
787
+ readonly close_browser_timeout: string;
788
+ readonly close_browser_failed: string;
789
+ readonly force_kill_browser: string;
790
+ readonly force_kill_failed: string;
791
+ readonly close_context_timeout: string;
792
+ readonly close_context_failed: string;
793
+ readonly xvfb_exited: string;
794
+ readonly xvfb_start_failed: string;
795
+ readonly max_concurrent_invalid: string;
796
+ } | (() => Promise<{
797
+ readonly browser_not_ready: string;
798
+ readonly close_browser_timeout: string;
799
+ readonly close_browser_failed: string;
800
+ readonly force_kill_browser: string;
801
+ readonly force_kill_failed: string;
802
+ readonly close_context_timeout: string;
803
+ readonly close_context_failed: string;
804
+ readonly xvfb_exited: string;
805
+ readonly xvfb_start_failed: string;
806
+ readonly max_concurrent_invalid: string;
807
+ }>);
808
+ "it-IT": {
809
+ readonly browser_not_ready: string;
810
+ readonly close_browser_timeout: string;
811
+ readonly close_browser_failed: string;
812
+ readonly force_kill_browser: string;
813
+ readonly force_kill_failed: string;
814
+ readonly close_context_timeout: string;
815
+ readonly close_context_failed: string;
816
+ readonly xvfb_exited: string;
817
+ readonly xvfb_start_failed: string;
818
+ readonly max_concurrent_invalid: string;
819
+ } | (() => Promise<{
820
+ readonly browser_not_ready: string;
821
+ readonly close_browser_timeout: string;
822
+ readonly close_browser_failed: string;
823
+ readonly force_kill_browser: string;
824
+ readonly force_kill_failed: string;
825
+ readonly close_context_timeout: string;
826
+ readonly close_context_failed: string;
827
+ readonly xvfb_exited: string;
828
+ readonly xvfb_start_failed: string;
829
+ readonly max_concurrent_invalid: string;
830
+ }>);
831
+ "ja-JP": {
832
+ readonly browser_not_ready: string;
833
+ readonly close_browser_timeout: string;
834
+ readonly close_browser_failed: string;
835
+ readonly force_kill_browser: string;
836
+ readonly force_kill_failed: string;
837
+ readonly close_context_timeout: string;
838
+ readonly close_context_failed: string;
839
+ readonly xvfb_exited: string;
840
+ readonly xvfb_start_failed: string;
841
+ readonly max_concurrent_invalid: string;
842
+ } | (() => Promise<{
843
+ readonly browser_not_ready: string;
844
+ readonly close_browser_timeout: string;
845
+ readonly close_browser_failed: string;
846
+ readonly force_kill_browser: string;
847
+ readonly force_kill_failed: string;
848
+ readonly close_context_timeout: string;
849
+ readonly close_context_failed: string;
850
+ readonly xvfb_exited: string;
851
+ readonly xvfb_start_failed: string;
852
+ readonly max_concurrent_invalid: string;
853
+ }>);
854
+ "ka-GE": {
855
+ readonly browser_not_ready: string;
856
+ readonly close_browser_timeout: string;
857
+ readonly close_browser_failed: string;
858
+ readonly force_kill_browser: string;
859
+ readonly force_kill_failed: string;
860
+ readonly close_context_timeout: string;
861
+ readonly close_context_failed: string;
862
+ readonly xvfb_exited: string;
863
+ readonly xvfb_start_failed: string;
864
+ readonly max_concurrent_invalid: string;
865
+ } | (() => Promise<{
866
+ readonly browser_not_ready: string;
867
+ readonly close_browser_timeout: string;
868
+ readonly close_browser_failed: string;
869
+ readonly force_kill_browser: string;
870
+ readonly force_kill_failed: string;
871
+ readonly close_context_timeout: string;
872
+ readonly close_context_failed: string;
873
+ readonly xvfb_exited: string;
874
+ readonly xvfb_start_failed: string;
875
+ readonly max_concurrent_invalid: string;
876
+ }>);
877
+ "kk-KZ": {
878
+ readonly browser_not_ready: string;
879
+ readonly close_browser_timeout: string;
880
+ readonly close_browser_failed: string;
881
+ readonly force_kill_browser: string;
882
+ readonly force_kill_failed: string;
883
+ readonly close_context_timeout: string;
884
+ readonly close_context_failed: string;
885
+ readonly xvfb_exited: string;
886
+ readonly xvfb_start_failed: string;
887
+ readonly max_concurrent_invalid: string;
888
+ } | (() => Promise<{
889
+ readonly browser_not_ready: string;
890
+ readonly close_browser_timeout: string;
891
+ readonly close_browser_failed: string;
892
+ readonly force_kill_browser: string;
893
+ readonly force_kill_failed: string;
894
+ readonly close_context_timeout: string;
895
+ readonly close_context_failed: string;
896
+ readonly xvfb_exited: string;
897
+ readonly xvfb_start_failed: string;
898
+ readonly max_concurrent_invalid: string;
899
+ }>);
900
+ "km-KH": {
901
+ readonly browser_not_ready: string;
902
+ readonly close_browser_timeout: string;
903
+ readonly close_browser_failed: string;
904
+ readonly force_kill_browser: string;
905
+ readonly force_kill_failed: string;
906
+ readonly close_context_timeout: string;
907
+ readonly close_context_failed: string;
908
+ readonly xvfb_exited: string;
909
+ readonly xvfb_start_failed: string;
910
+ readonly max_concurrent_invalid: string;
911
+ } | (() => Promise<{
912
+ readonly browser_not_ready: string;
913
+ readonly close_browser_timeout: string;
914
+ readonly close_browser_failed: string;
915
+ readonly force_kill_browser: string;
916
+ readonly force_kill_failed: string;
917
+ readonly close_context_timeout: string;
918
+ readonly close_context_failed: string;
919
+ readonly xvfb_exited: string;
920
+ readonly xvfb_start_failed: string;
921
+ readonly max_concurrent_invalid: string;
922
+ }>);
923
+ "kmr-IQ": {
924
+ readonly browser_not_ready: string;
925
+ readonly close_browser_timeout: string;
926
+ readonly close_browser_failed: string;
927
+ readonly force_kill_browser: string;
928
+ readonly force_kill_failed: string;
929
+ readonly close_context_timeout: string;
930
+ readonly close_context_failed: string;
931
+ readonly xvfb_exited: string;
932
+ readonly xvfb_start_failed: string;
933
+ readonly max_concurrent_invalid: string;
934
+ } | (() => Promise<{
935
+ readonly browser_not_ready: string;
936
+ readonly close_browser_timeout: string;
937
+ readonly close_browser_failed: string;
938
+ readonly force_kill_browser: string;
939
+ readonly force_kill_failed: string;
940
+ readonly close_context_timeout: string;
941
+ readonly close_context_failed: string;
942
+ readonly xvfb_exited: string;
943
+ readonly xvfb_start_failed: string;
944
+ readonly max_concurrent_invalid: string;
945
+ }>);
946
+ "kn-IN": {
947
+ readonly browser_not_ready: string;
948
+ readonly close_browser_timeout: string;
949
+ readonly close_browser_failed: string;
950
+ readonly force_kill_browser: string;
951
+ readonly force_kill_failed: string;
952
+ readonly close_context_timeout: string;
953
+ readonly close_context_failed: string;
954
+ readonly xvfb_exited: string;
955
+ readonly xvfb_start_failed: string;
956
+ readonly max_concurrent_invalid: string;
957
+ } | (() => Promise<{
958
+ readonly browser_not_ready: string;
959
+ readonly close_browser_timeout: string;
960
+ readonly close_browser_failed: string;
961
+ readonly force_kill_browser: string;
962
+ readonly force_kill_failed: string;
963
+ readonly close_context_timeout: string;
964
+ readonly close_context_failed: string;
965
+ readonly xvfb_exited: string;
966
+ readonly xvfb_start_failed: string;
967
+ readonly max_concurrent_invalid: string;
968
+ }>);
969
+ "ko-KR": {
970
+ readonly browser_not_ready: string;
971
+ readonly close_browser_timeout: string;
972
+ readonly close_browser_failed: string;
973
+ readonly force_kill_browser: string;
974
+ readonly force_kill_failed: string;
975
+ readonly close_context_timeout: string;
976
+ readonly close_context_failed: string;
977
+ readonly xvfb_exited: string;
978
+ readonly xvfb_start_failed: string;
979
+ readonly max_concurrent_invalid: string;
980
+ } | (() => Promise<{
981
+ readonly browser_not_ready: string;
982
+ readonly close_browser_timeout: string;
983
+ readonly close_browser_failed: string;
984
+ readonly force_kill_browser: string;
985
+ readonly force_kill_failed: string;
986
+ readonly close_context_timeout: string;
987
+ readonly close_context_failed: string;
988
+ readonly xvfb_exited: string;
989
+ readonly xvfb_start_failed: string;
990
+ readonly max_concurrent_invalid: string;
991
+ }>);
992
+ "ku-IQ": {
993
+ readonly browser_not_ready: string;
994
+ readonly close_browser_timeout: string;
995
+ readonly close_browser_failed: string;
996
+ readonly force_kill_browser: string;
997
+ readonly force_kill_failed: string;
998
+ readonly close_context_timeout: string;
999
+ readonly close_context_failed: string;
1000
+ readonly xvfb_exited: string;
1001
+ readonly xvfb_start_failed: string;
1002
+ readonly max_concurrent_invalid: string;
1003
+ } | (() => Promise<{
1004
+ readonly browser_not_ready: string;
1005
+ readonly close_browser_timeout: string;
1006
+ readonly close_browser_failed: string;
1007
+ readonly force_kill_browser: string;
1008
+ readonly force_kill_failed: string;
1009
+ readonly close_context_timeout: string;
1010
+ readonly close_context_failed: string;
1011
+ readonly xvfb_exited: string;
1012
+ readonly xvfb_start_failed: string;
1013
+ readonly max_concurrent_invalid: string;
1014
+ }>);
1015
+ "lt-LT": {
1016
+ readonly browser_not_ready: string;
1017
+ readonly close_browser_timeout: string;
1018
+ readonly close_browser_failed: string;
1019
+ readonly force_kill_browser: string;
1020
+ readonly force_kill_failed: string;
1021
+ readonly close_context_timeout: string;
1022
+ readonly close_context_failed: string;
1023
+ readonly xvfb_exited: string;
1024
+ readonly xvfb_start_failed: string;
1025
+ readonly max_concurrent_invalid: string;
1026
+ } | (() => Promise<{
1027
+ readonly browser_not_ready: string;
1028
+ readonly close_browser_timeout: string;
1029
+ readonly close_browser_failed: string;
1030
+ readonly force_kill_browser: string;
1031
+ readonly force_kill_failed: string;
1032
+ readonly close_context_timeout: string;
1033
+ readonly close_context_failed: string;
1034
+ readonly xvfb_exited: string;
1035
+ readonly xvfb_start_failed: string;
1036
+ readonly max_concurrent_invalid: string;
1037
+ }>);
1038
+ "lv-LV": {
1039
+ readonly browser_not_ready: string;
1040
+ readonly close_browser_timeout: string;
1041
+ readonly close_browser_failed: string;
1042
+ readonly force_kill_browser: string;
1043
+ readonly force_kill_failed: string;
1044
+ readonly close_context_timeout: string;
1045
+ readonly close_context_failed: string;
1046
+ readonly xvfb_exited: string;
1047
+ readonly xvfb_start_failed: string;
1048
+ readonly max_concurrent_invalid: string;
1049
+ } | (() => Promise<{
1050
+ readonly browser_not_ready: string;
1051
+ readonly close_browser_timeout: string;
1052
+ readonly close_browser_failed: string;
1053
+ readonly force_kill_browser: string;
1054
+ readonly force_kill_failed: string;
1055
+ readonly close_context_timeout: string;
1056
+ readonly close_context_failed: string;
1057
+ readonly xvfb_exited: string;
1058
+ readonly xvfb_start_failed: string;
1059
+ readonly max_concurrent_invalid: string;
1060
+ }>);
1061
+ "mk-MK": {
1062
+ readonly browser_not_ready: string;
1063
+ readonly close_browser_timeout: string;
1064
+ readonly close_browser_failed: string;
1065
+ readonly force_kill_browser: string;
1066
+ readonly force_kill_failed: string;
1067
+ readonly close_context_timeout: string;
1068
+ readonly close_context_failed: string;
1069
+ readonly xvfb_exited: string;
1070
+ readonly xvfb_start_failed: string;
1071
+ readonly max_concurrent_invalid: string;
1072
+ } | (() => Promise<{
1073
+ readonly browser_not_ready: string;
1074
+ readonly close_browser_timeout: string;
1075
+ readonly close_browser_failed: string;
1076
+ readonly force_kill_browser: string;
1077
+ readonly force_kill_failed: string;
1078
+ readonly close_context_timeout: string;
1079
+ readonly close_context_failed: string;
1080
+ readonly xvfb_exited: string;
1081
+ readonly xvfb_start_failed: string;
1082
+ readonly max_concurrent_invalid: string;
1083
+ }>);
1084
+ "ml-IN": {
1085
+ readonly browser_not_ready: string;
1086
+ readonly close_browser_timeout: string;
1087
+ readonly close_browser_failed: string;
1088
+ readonly force_kill_browser: string;
1089
+ readonly force_kill_failed: string;
1090
+ readonly close_context_timeout: string;
1091
+ readonly close_context_failed: string;
1092
+ readonly xvfb_exited: string;
1093
+ readonly xvfb_start_failed: string;
1094
+ readonly max_concurrent_invalid: string;
1095
+ } | (() => Promise<{
1096
+ readonly browser_not_ready: string;
1097
+ readonly close_browser_timeout: string;
1098
+ readonly close_browser_failed: string;
1099
+ readonly force_kill_browser: string;
1100
+ readonly force_kill_failed: string;
1101
+ readonly close_context_timeout: string;
1102
+ readonly close_context_failed: string;
1103
+ readonly xvfb_exited: string;
1104
+ readonly xvfb_start_failed: string;
1105
+ readonly max_concurrent_invalid: string;
1106
+ }>);
1107
+ "mn-MN": {
1108
+ readonly browser_not_ready: string;
1109
+ readonly close_browser_timeout: string;
1110
+ readonly close_browser_failed: string;
1111
+ readonly force_kill_browser: string;
1112
+ readonly force_kill_failed: string;
1113
+ readonly close_context_timeout: string;
1114
+ readonly close_context_failed: string;
1115
+ readonly xvfb_exited: string;
1116
+ readonly xvfb_start_failed: string;
1117
+ readonly max_concurrent_invalid: string;
1118
+ } | (() => Promise<{
1119
+ readonly browser_not_ready: string;
1120
+ readonly close_browser_timeout: string;
1121
+ readonly close_browser_failed: string;
1122
+ readonly force_kill_browser: string;
1123
+ readonly force_kill_failed: string;
1124
+ readonly close_context_timeout: string;
1125
+ readonly close_context_failed: string;
1126
+ readonly xvfb_exited: string;
1127
+ readonly xvfb_start_failed: string;
1128
+ readonly max_concurrent_invalid: string;
1129
+ }>);
1130
+ "mr-IN": {
1131
+ readonly browser_not_ready: string;
1132
+ readonly close_browser_timeout: string;
1133
+ readonly close_browser_failed: string;
1134
+ readonly force_kill_browser: string;
1135
+ readonly force_kill_failed: string;
1136
+ readonly close_context_timeout: string;
1137
+ readonly close_context_failed: string;
1138
+ readonly xvfb_exited: string;
1139
+ readonly xvfb_start_failed: string;
1140
+ readonly max_concurrent_invalid: string;
1141
+ } | (() => Promise<{
1142
+ readonly browser_not_ready: string;
1143
+ readonly close_browser_timeout: string;
1144
+ readonly close_browser_failed: string;
1145
+ readonly force_kill_browser: string;
1146
+ readonly force_kill_failed: string;
1147
+ readonly close_context_timeout: string;
1148
+ readonly close_context_failed: string;
1149
+ readonly xvfb_exited: string;
1150
+ readonly xvfb_start_failed: string;
1151
+ readonly max_concurrent_invalid: string;
1152
+ }>);
1153
+ "ms-MY": {
1154
+ readonly browser_not_ready: string;
1155
+ readonly close_browser_timeout: string;
1156
+ readonly close_browser_failed: string;
1157
+ readonly force_kill_browser: string;
1158
+ readonly force_kill_failed: string;
1159
+ readonly close_context_timeout: string;
1160
+ readonly close_context_failed: string;
1161
+ readonly xvfb_exited: string;
1162
+ readonly xvfb_start_failed: string;
1163
+ readonly max_concurrent_invalid: string;
1164
+ } | (() => Promise<{
1165
+ readonly browser_not_ready: string;
1166
+ readonly close_browser_timeout: string;
1167
+ readonly close_browser_failed: string;
1168
+ readonly force_kill_browser: string;
1169
+ readonly force_kill_failed: string;
1170
+ readonly close_context_timeout: string;
1171
+ readonly close_context_failed: string;
1172
+ readonly xvfb_exited: string;
1173
+ readonly xvfb_start_failed: string;
1174
+ readonly max_concurrent_invalid: string;
1175
+ }>);
1176
+ "my-MM": {
1177
+ readonly browser_not_ready: string;
1178
+ readonly close_browser_timeout: string;
1179
+ readonly close_browser_failed: string;
1180
+ readonly force_kill_browser: string;
1181
+ readonly force_kill_failed: string;
1182
+ readonly close_context_timeout: string;
1183
+ readonly close_context_failed: string;
1184
+ readonly xvfb_exited: string;
1185
+ readonly xvfb_start_failed: string;
1186
+ readonly max_concurrent_invalid: string;
1187
+ } | (() => Promise<{
1188
+ readonly browser_not_ready: string;
1189
+ readonly close_browser_timeout: string;
1190
+ readonly close_browser_failed: string;
1191
+ readonly force_kill_browser: string;
1192
+ readonly force_kill_failed: string;
1193
+ readonly close_context_timeout: string;
1194
+ readonly close_context_failed: string;
1195
+ readonly xvfb_exited: string;
1196
+ readonly xvfb_start_failed: string;
1197
+ readonly max_concurrent_invalid: string;
1198
+ }>);
1199
+ "nb-NO": {
1200
+ readonly browser_not_ready: string;
1201
+ readonly close_browser_timeout: string;
1202
+ readonly close_browser_failed: string;
1203
+ readonly force_kill_browser: string;
1204
+ readonly force_kill_failed: string;
1205
+ readonly close_context_timeout: string;
1206
+ readonly close_context_failed: string;
1207
+ readonly xvfb_exited: string;
1208
+ readonly xvfb_start_failed: string;
1209
+ readonly max_concurrent_invalid: string;
1210
+ } | (() => Promise<{
1211
+ readonly browser_not_ready: string;
1212
+ readonly close_browser_timeout: string;
1213
+ readonly close_browser_failed: string;
1214
+ readonly force_kill_browser: string;
1215
+ readonly force_kill_failed: string;
1216
+ readonly close_context_timeout: string;
1217
+ readonly close_context_failed: string;
1218
+ readonly xvfb_exited: string;
1219
+ readonly xvfb_start_failed: string;
1220
+ readonly max_concurrent_invalid: string;
1221
+ }>);
1222
+ "ne-NP": {
1223
+ readonly browser_not_ready: string;
1224
+ readonly close_browser_timeout: string;
1225
+ readonly close_browser_failed: string;
1226
+ readonly force_kill_browser: string;
1227
+ readonly force_kill_failed: string;
1228
+ readonly close_context_timeout: string;
1229
+ readonly close_context_failed: string;
1230
+ readonly xvfb_exited: string;
1231
+ readonly xvfb_start_failed: string;
1232
+ readonly max_concurrent_invalid: string;
1233
+ } | (() => Promise<{
1234
+ readonly browser_not_ready: string;
1235
+ readonly close_browser_timeout: string;
1236
+ readonly close_browser_failed: string;
1237
+ readonly force_kill_browser: string;
1238
+ readonly force_kill_failed: string;
1239
+ readonly close_context_timeout: string;
1240
+ readonly close_context_failed: string;
1241
+ readonly xvfb_exited: string;
1242
+ readonly xvfb_start_failed: string;
1243
+ readonly max_concurrent_invalid: string;
1244
+ }>);
1245
+ "nl-BE": {
1246
+ readonly browser_not_ready: string;
1247
+ readonly close_browser_timeout: string;
1248
+ readonly close_browser_failed: string;
1249
+ readonly force_kill_browser: string;
1250
+ readonly force_kill_failed: string;
1251
+ readonly close_context_timeout: string;
1252
+ readonly close_context_failed: string;
1253
+ readonly xvfb_exited: string;
1254
+ readonly xvfb_start_failed: string;
1255
+ readonly max_concurrent_invalid: string;
1256
+ } | (() => Promise<{
1257
+ readonly browser_not_ready: string;
1258
+ readonly close_browser_timeout: string;
1259
+ readonly close_browser_failed: string;
1260
+ readonly force_kill_browser: string;
1261
+ readonly force_kill_failed: string;
1262
+ readonly close_context_timeout: string;
1263
+ readonly close_context_failed: string;
1264
+ readonly xvfb_exited: string;
1265
+ readonly xvfb_start_failed: string;
1266
+ readonly max_concurrent_invalid: string;
1267
+ }>);
1268
+ "nl-NL": {
1269
+ readonly browser_not_ready: string;
1270
+ readonly close_browser_timeout: string;
1271
+ readonly close_browser_failed: string;
1272
+ readonly force_kill_browser: string;
1273
+ readonly force_kill_failed: string;
1274
+ readonly close_context_timeout: string;
1275
+ readonly close_context_failed: string;
1276
+ readonly xvfb_exited: string;
1277
+ readonly xvfb_start_failed: string;
1278
+ readonly max_concurrent_invalid: string;
1279
+ } | (() => Promise<{
1280
+ readonly browser_not_ready: string;
1281
+ readonly close_browser_timeout: string;
1282
+ readonly close_browser_failed: string;
1283
+ readonly force_kill_browser: string;
1284
+ readonly force_kill_failed: string;
1285
+ readonly close_context_timeout: string;
1286
+ readonly close_context_failed: string;
1287
+ readonly xvfb_exited: string;
1288
+ readonly xvfb_start_failed: string;
1289
+ readonly max_concurrent_invalid: string;
1290
+ }>);
1291
+ "pl-PL": {
1292
+ readonly browser_not_ready: string;
1293
+ readonly close_browser_timeout: string;
1294
+ readonly close_browser_failed: string;
1295
+ readonly force_kill_browser: string;
1296
+ readonly force_kill_failed: string;
1297
+ readonly close_context_timeout: string;
1298
+ readonly close_context_failed: string;
1299
+ readonly xvfb_exited: string;
1300
+ readonly xvfb_start_failed: string;
1301
+ readonly max_concurrent_invalid: string;
1302
+ } | (() => Promise<{
1303
+ readonly browser_not_ready: string;
1304
+ readonly close_browser_timeout: string;
1305
+ readonly close_browser_failed: string;
1306
+ readonly force_kill_browser: string;
1307
+ readonly force_kill_failed: string;
1308
+ readonly close_context_timeout: string;
1309
+ readonly close_context_failed: string;
1310
+ readonly xvfb_exited: string;
1311
+ readonly xvfb_start_failed: string;
1312
+ readonly max_concurrent_invalid: string;
1313
+ }>);
1314
+ "pt-BR": {
1315
+ readonly browser_not_ready: string;
1316
+ readonly close_browser_timeout: string;
1317
+ readonly close_browser_failed: string;
1318
+ readonly force_kill_browser: string;
1319
+ readonly force_kill_failed: string;
1320
+ readonly close_context_timeout: string;
1321
+ readonly close_context_failed: string;
1322
+ readonly xvfb_exited: string;
1323
+ readonly xvfb_start_failed: string;
1324
+ readonly max_concurrent_invalid: string;
1325
+ } | (() => Promise<{
1326
+ readonly browser_not_ready: string;
1327
+ readonly close_browser_timeout: string;
1328
+ readonly close_browser_failed: string;
1329
+ readonly force_kill_browser: string;
1330
+ readonly force_kill_failed: string;
1331
+ readonly close_context_timeout: string;
1332
+ readonly close_context_failed: string;
1333
+ readonly xvfb_exited: string;
1334
+ readonly xvfb_start_failed: string;
1335
+ readonly max_concurrent_invalid: string;
1336
+ }>);
1337
+ "pt-PT": {
1338
+ readonly browser_not_ready: string;
1339
+ readonly close_browser_timeout: string;
1340
+ readonly close_browser_failed: string;
1341
+ readonly force_kill_browser: string;
1342
+ readonly force_kill_failed: string;
1343
+ readonly close_context_timeout: string;
1344
+ readonly close_context_failed: string;
1345
+ readonly xvfb_exited: string;
1346
+ readonly xvfb_start_failed: string;
1347
+ readonly max_concurrent_invalid: string;
1348
+ } | (() => Promise<{
1349
+ readonly browser_not_ready: string;
1350
+ readonly close_browser_timeout: string;
1351
+ readonly close_browser_failed: string;
1352
+ readonly force_kill_browser: string;
1353
+ readonly force_kill_failed: string;
1354
+ readonly close_context_timeout: string;
1355
+ readonly close_context_failed: string;
1356
+ readonly xvfb_exited: string;
1357
+ readonly xvfb_start_failed: string;
1358
+ readonly max_concurrent_invalid: string;
1359
+ }>);
1360
+ "ro-RO": {
1361
+ readonly browser_not_ready: string;
1362
+ readonly close_browser_timeout: string;
1363
+ readonly close_browser_failed: string;
1364
+ readonly force_kill_browser: string;
1365
+ readonly force_kill_failed: string;
1366
+ readonly close_context_timeout: string;
1367
+ readonly close_context_failed: string;
1368
+ readonly xvfb_exited: string;
1369
+ readonly xvfb_start_failed: string;
1370
+ readonly max_concurrent_invalid: string;
1371
+ } | (() => Promise<{
1372
+ readonly browser_not_ready: string;
1373
+ readonly close_browser_timeout: string;
1374
+ readonly close_browser_failed: string;
1375
+ readonly force_kill_browser: string;
1376
+ readonly force_kill_failed: string;
1377
+ readonly close_context_timeout: string;
1378
+ readonly close_context_failed: string;
1379
+ readonly xvfb_exited: string;
1380
+ readonly xvfb_start_failed: string;
1381
+ readonly max_concurrent_invalid: string;
1382
+ }>);
1383
+ "ru-RU": {
1384
+ readonly browser_not_ready: string;
1385
+ readonly close_browser_timeout: string;
1386
+ readonly close_browser_failed: string;
1387
+ readonly force_kill_browser: string;
1388
+ readonly force_kill_failed: string;
1389
+ readonly close_context_timeout: string;
1390
+ readonly close_context_failed: string;
1391
+ readonly xvfb_exited: string;
1392
+ readonly xvfb_start_failed: string;
1393
+ readonly max_concurrent_invalid: string;
1394
+ } | (() => Promise<{
1395
+ readonly browser_not_ready: string;
1396
+ readonly close_browser_timeout: string;
1397
+ readonly close_browser_failed: string;
1398
+ readonly force_kill_browser: string;
1399
+ readonly force_kill_failed: string;
1400
+ readonly close_context_timeout: string;
1401
+ readonly close_context_failed: string;
1402
+ readonly xvfb_exited: string;
1403
+ readonly xvfb_start_failed: string;
1404
+ readonly max_concurrent_invalid: string;
1405
+ }>);
1406
+ "si-LK": {
1407
+ readonly browser_not_ready: string;
1408
+ readonly close_browser_timeout: string;
1409
+ readonly close_browser_failed: string;
1410
+ readonly force_kill_browser: string;
1411
+ readonly force_kill_failed: string;
1412
+ readonly close_context_timeout: string;
1413
+ readonly close_context_failed: string;
1414
+ readonly xvfb_exited: string;
1415
+ readonly xvfb_start_failed: string;
1416
+ readonly max_concurrent_invalid: string;
1417
+ } | (() => Promise<{
1418
+ readonly browser_not_ready: string;
1419
+ readonly close_browser_timeout: string;
1420
+ readonly close_browser_failed: string;
1421
+ readonly force_kill_browser: string;
1422
+ readonly force_kill_failed: string;
1423
+ readonly close_context_timeout: string;
1424
+ readonly close_context_failed: string;
1425
+ readonly xvfb_exited: string;
1426
+ readonly xvfb_start_failed: string;
1427
+ readonly max_concurrent_invalid: string;
1428
+ }>);
1429
+ "sk-SK": {
1430
+ readonly browser_not_ready: string;
1431
+ readonly close_browser_timeout: string;
1432
+ readonly close_browser_failed: string;
1433
+ readonly force_kill_browser: string;
1434
+ readonly force_kill_failed: string;
1435
+ readonly close_context_timeout: string;
1436
+ readonly close_context_failed: string;
1437
+ readonly xvfb_exited: string;
1438
+ readonly xvfb_start_failed: string;
1439
+ readonly max_concurrent_invalid: string;
1440
+ } | (() => Promise<{
1441
+ readonly browser_not_ready: string;
1442
+ readonly close_browser_timeout: string;
1443
+ readonly close_browser_failed: string;
1444
+ readonly force_kill_browser: string;
1445
+ readonly force_kill_failed: string;
1446
+ readonly close_context_timeout: string;
1447
+ readonly close_context_failed: string;
1448
+ readonly xvfb_exited: string;
1449
+ readonly xvfb_start_failed: string;
1450
+ readonly max_concurrent_invalid: string;
1451
+ }>);
1452
+ "sl-SI": {
1453
+ readonly browser_not_ready: string;
1454
+ readonly close_browser_timeout: string;
1455
+ readonly close_browser_failed: string;
1456
+ readonly force_kill_browser: string;
1457
+ readonly force_kill_failed: string;
1458
+ readonly close_context_timeout: string;
1459
+ readonly close_context_failed: string;
1460
+ readonly xvfb_exited: string;
1461
+ readonly xvfb_start_failed: string;
1462
+ readonly max_concurrent_invalid: string;
1463
+ } | (() => Promise<{
1464
+ readonly browser_not_ready: string;
1465
+ readonly close_browser_timeout: string;
1466
+ readonly close_browser_failed: string;
1467
+ readonly force_kill_browser: string;
1468
+ readonly force_kill_failed: string;
1469
+ readonly close_context_timeout: string;
1470
+ readonly close_context_failed: string;
1471
+ readonly xvfb_exited: string;
1472
+ readonly xvfb_start_failed: string;
1473
+ readonly max_concurrent_invalid: string;
1474
+ }>);
1475
+ "sr-RS": {
1476
+ readonly browser_not_ready: string;
1477
+ readonly close_browser_timeout: string;
1478
+ readonly close_browser_failed: string;
1479
+ readonly force_kill_browser: string;
1480
+ readonly force_kill_failed: string;
1481
+ readonly close_context_timeout: string;
1482
+ readonly close_context_failed: string;
1483
+ readonly xvfb_exited: string;
1484
+ readonly xvfb_start_failed: string;
1485
+ readonly max_concurrent_invalid: string;
1486
+ } | (() => Promise<{
1487
+ readonly browser_not_ready: string;
1488
+ readonly close_browser_timeout: string;
1489
+ readonly close_browser_failed: string;
1490
+ readonly force_kill_browser: string;
1491
+ readonly force_kill_failed: string;
1492
+ readonly close_context_timeout: string;
1493
+ readonly close_context_failed: string;
1494
+ readonly xvfb_exited: string;
1495
+ readonly xvfb_start_failed: string;
1496
+ readonly max_concurrent_invalid: string;
1497
+ }>);
1498
+ "sv-SE": {
1499
+ readonly browser_not_ready: string;
1500
+ readonly close_browser_timeout: string;
1501
+ readonly close_browser_failed: string;
1502
+ readonly force_kill_browser: string;
1503
+ readonly force_kill_failed: string;
1504
+ readonly close_context_timeout: string;
1505
+ readonly close_context_failed: string;
1506
+ readonly xvfb_exited: string;
1507
+ readonly xvfb_start_failed: string;
1508
+ readonly max_concurrent_invalid: string;
1509
+ } | (() => Promise<{
1510
+ readonly browser_not_ready: string;
1511
+ readonly close_browser_timeout: string;
1512
+ readonly close_browser_failed: string;
1513
+ readonly force_kill_browser: string;
1514
+ readonly force_kill_failed: string;
1515
+ readonly close_context_timeout: string;
1516
+ readonly close_context_failed: string;
1517
+ readonly xvfb_exited: string;
1518
+ readonly xvfb_start_failed: string;
1519
+ readonly max_concurrent_invalid: string;
1520
+ }>);
1521
+ "ta-IN": {
1522
+ readonly browser_not_ready: string;
1523
+ readonly close_browser_timeout: string;
1524
+ readonly close_browser_failed: string;
1525
+ readonly force_kill_browser: string;
1526
+ readonly force_kill_failed: string;
1527
+ readonly close_context_timeout: string;
1528
+ readonly close_context_failed: string;
1529
+ readonly xvfb_exited: string;
1530
+ readonly xvfb_start_failed: string;
1531
+ readonly max_concurrent_invalid: string;
1532
+ } | (() => Promise<{
1533
+ readonly browser_not_ready: string;
1534
+ readonly close_browser_timeout: string;
1535
+ readonly close_browser_failed: string;
1536
+ readonly force_kill_browser: string;
1537
+ readonly force_kill_failed: string;
1538
+ readonly close_context_timeout: string;
1539
+ readonly close_context_failed: string;
1540
+ readonly xvfb_exited: string;
1541
+ readonly xvfb_start_failed: string;
1542
+ readonly max_concurrent_invalid: string;
1543
+ }>);
1544
+ "th-TH": {
1545
+ readonly browser_not_ready: string;
1546
+ readonly close_browser_timeout: string;
1547
+ readonly close_browser_failed: string;
1548
+ readonly force_kill_browser: string;
1549
+ readonly force_kill_failed: string;
1550
+ readonly close_context_timeout: string;
1551
+ readonly close_context_failed: string;
1552
+ readonly xvfb_exited: string;
1553
+ readonly xvfb_start_failed: string;
1554
+ readonly max_concurrent_invalid: string;
1555
+ } | (() => Promise<{
1556
+ readonly browser_not_ready: string;
1557
+ readonly close_browser_timeout: string;
1558
+ readonly close_browser_failed: string;
1559
+ readonly force_kill_browser: string;
1560
+ readonly force_kill_failed: string;
1561
+ readonly close_context_timeout: string;
1562
+ readonly close_context_failed: string;
1563
+ readonly xvfb_exited: string;
1564
+ readonly xvfb_start_failed: string;
1565
+ readonly max_concurrent_invalid: string;
1566
+ }>);
1567
+ "tk-TM": {
1568
+ readonly browser_not_ready: string;
1569
+ readonly close_browser_timeout: string;
1570
+ readonly close_browser_failed: string;
1571
+ readonly force_kill_browser: string;
1572
+ readonly force_kill_failed: string;
1573
+ readonly close_context_timeout: string;
1574
+ readonly close_context_failed: string;
1575
+ readonly xvfb_exited: string;
1576
+ readonly xvfb_start_failed: string;
1577
+ readonly max_concurrent_invalid: string;
1578
+ } | (() => Promise<{
1579
+ readonly browser_not_ready: string;
1580
+ readonly close_browser_timeout: string;
1581
+ readonly close_browser_failed: string;
1582
+ readonly force_kill_browser: string;
1583
+ readonly force_kill_failed: string;
1584
+ readonly close_context_timeout: string;
1585
+ readonly close_context_failed: string;
1586
+ readonly xvfb_exited: string;
1587
+ readonly xvfb_start_failed: string;
1588
+ readonly max_concurrent_invalid: string;
1589
+ }>);
1590
+ "tr-TR": {
1591
+ readonly browser_not_ready: string;
1592
+ readonly close_browser_timeout: string;
1593
+ readonly close_browser_failed: string;
1594
+ readonly force_kill_browser: string;
1595
+ readonly force_kill_failed: string;
1596
+ readonly close_context_timeout: string;
1597
+ readonly close_context_failed: string;
1598
+ readonly xvfb_exited: string;
1599
+ readonly xvfb_start_failed: string;
1600
+ readonly max_concurrent_invalid: string;
1601
+ } | (() => Promise<{
1602
+ readonly browser_not_ready: string;
1603
+ readonly close_browser_timeout: string;
1604
+ readonly close_browser_failed: string;
1605
+ readonly force_kill_browser: string;
1606
+ readonly force_kill_failed: string;
1607
+ readonly close_context_timeout: string;
1608
+ readonly close_context_failed: string;
1609
+ readonly xvfb_exited: string;
1610
+ readonly xvfb_start_failed: string;
1611
+ readonly max_concurrent_invalid: string;
1612
+ }>);
1613
+ "uk-UA": {
1614
+ readonly browser_not_ready: string;
1615
+ readonly close_browser_timeout: string;
1616
+ readonly close_browser_failed: string;
1617
+ readonly force_kill_browser: string;
1618
+ readonly force_kill_failed: string;
1619
+ readonly close_context_timeout: string;
1620
+ readonly close_context_failed: string;
1621
+ readonly xvfb_exited: string;
1622
+ readonly xvfb_start_failed: string;
1623
+ readonly max_concurrent_invalid: string;
1624
+ } | (() => Promise<{
1625
+ readonly browser_not_ready: string;
1626
+ readonly close_browser_timeout: string;
1627
+ readonly close_browser_failed: string;
1628
+ readonly force_kill_browser: string;
1629
+ readonly force_kill_failed: string;
1630
+ readonly close_context_timeout: string;
1631
+ readonly close_context_failed: string;
1632
+ readonly xvfb_exited: string;
1633
+ readonly xvfb_start_failed: string;
1634
+ readonly max_concurrent_invalid: string;
1635
+ }>);
1636
+ "ur-PK": {
1637
+ readonly browser_not_ready: string;
1638
+ readonly close_browser_timeout: string;
1639
+ readonly close_browser_failed: string;
1640
+ readonly force_kill_browser: string;
1641
+ readonly force_kill_failed: string;
1642
+ readonly close_context_timeout: string;
1643
+ readonly close_context_failed: string;
1644
+ readonly xvfb_exited: string;
1645
+ readonly xvfb_start_failed: string;
1646
+ readonly max_concurrent_invalid: string;
1647
+ } | (() => Promise<{
1648
+ readonly browser_not_ready: string;
1649
+ readonly close_browser_timeout: string;
1650
+ readonly close_browser_failed: string;
1651
+ readonly force_kill_browser: string;
1652
+ readonly force_kill_failed: string;
1653
+ readonly close_context_timeout: string;
1654
+ readonly close_context_failed: string;
1655
+ readonly xvfb_exited: string;
1656
+ readonly xvfb_start_failed: string;
1657
+ readonly max_concurrent_invalid: string;
1658
+ }>);
1659
+ "uz-UZ": {
1660
+ readonly browser_not_ready: string;
1661
+ readonly close_browser_timeout: string;
1662
+ readonly close_browser_failed: string;
1663
+ readonly force_kill_browser: string;
1664
+ readonly force_kill_failed: string;
1665
+ readonly close_context_timeout: string;
1666
+ readonly close_context_failed: string;
1667
+ readonly xvfb_exited: string;
1668
+ readonly xvfb_start_failed: string;
1669
+ readonly max_concurrent_invalid: string;
1670
+ } | (() => Promise<{
1671
+ readonly browser_not_ready: string;
1672
+ readonly close_browser_timeout: string;
1673
+ readonly close_browser_failed: string;
1674
+ readonly force_kill_browser: string;
1675
+ readonly force_kill_failed: string;
1676
+ readonly close_context_timeout: string;
1677
+ readonly close_context_failed: string;
1678
+ readonly xvfb_exited: string;
1679
+ readonly xvfb_start_failed: string;
1680
+ readonly max_concurrent_invalid: string;
1681
+ }>);
1682
+ "vi-VN": {
1683
+ readonly browser_not_ready: string;
1684
+ readonly close_browser_timeout: string;
1685
+ readonly close_browser_failed: string;
1686
+ readonly force_kill_browser: string;
1687
+ readonly force_kill_failed: string;
1688
+ readonly close_context_timeout: string;
1689
+ readonly close_context_failed: string;
1690
+ readonly xvfb_exited: string;
1691
+ readonly xvfb_start_failed: string;
1692
+ readonly max_concurrent_invalid: string;
1693
+ } | (() => Promise<{
1694
+ readonly browser_not_ready: string;
1695
+ readonly close_browser_timeout: string;
1696
+ readonly close_browser_failed: string;
1697
+ readonly force_kill_browser: string;
1698
+ readonly force_kill_failed: string;
1699
+ readonly close_context_timeout: string;
1700
+ readonly close_context_failed: string;
1701
+ readonly xvfb_exited: string;
1702
+ readonly xvfb_start_failed: string;
1703
+ readonly max_concurrent_invalid: string;
1704
+ }>);
1705
+ "zh-CN": {
1706
+ readonly browser_not_ready: "[Playwright] Browser 未就绪或已断开";
1707
+ readonly close_browser_timeout: "关闭浏览器超时";
1708
+ readonly close_browser_failed: "[Playwright] 关闭失败,准备强杀:{{message}}";
1709
+ readonly force_kill_browser: "[Playwright] 已强杀 Chromium 进程 pid={{pid}}";
1710
+ readonly force_kill_failed: "[Playwright] 强杀失败:{{message}}";
1711
+ readonly close_context_timeout: "关闭 Context 超时";
1712
+ readonly close_context_failed: "[Playwright] 关闭 Context 失败:{{message}}";
1713
+ readonly xvfb_exited: "Xvfb 退出,code={{code}}";
1714
+ readonly xvfb_start_failed: "Xvfb 启动失败";
1715
+ readonly max_concurrent_invalid: "maxConcurrent 必须是 >= 1 的整数";
1716
+ };
1717
+ "zh-HK": {
1718
+ readonly browser_not_ready: string;
1719
+ readonly close_browser_timeout: string;
1720
+ readonly close_browser_failed: string;
1721
+ readonly force_kill_browser: string;
1722
+ readonly force_kill_failed: string;
1723
+ readonly close_context_timeout: string;
1724
+ readonly close_context_failed: string;
1725
+ readonly xvfb_exited: string;
1726
+ readonly xvfb_start_failed: string;
1727
+ readonly max_concurrent_invalid: string;
1728
+ } | (() => Promise<{
1729
+ readonly browser_not_ready: string;
1730
+ readonly close_browser_timeout: string;
1731
+ readonly close_browser_failed: string;
1732
+ readonly force_kill_browser: string;
1733
+ readonly force_kill_failed: string;
1734
+ readonly close_context_timeout: string;
1735
+ readonly close_context_failed: string;
1736
+ readonly xvfb_exited: string;
1737
+ readonly xvfb_start_failed: string;
1738
+ readonly max_concurrent_invalid: string;
1739
+ }>);
1740
+ "zh-TW": {
1741
+ readonly browser_not_ready: string;
1742
+ readonly close_browser_timeout: string;
1743
+ readonly close_browser_failed: string;
1744
+ readonly force_kill_browser: string;
1745
+ readonly force_kill_failed: string;
1746
+ readonly close_context_timeout: string;
1747
+ readonly close_context_failed: string;
1748
+ readonly xvfb_exited: string;
1749
+ readonly xvfb_start_failed: string;
1750
+ readonly max_concurrent_invalid: string;
1751
+ } | (() => Promise<{
1752
+ readonly browser_not_ready: string;
1753
+ readonly close_browser_timeout: string;
1754
+ readonly close_browser_failed: string;
1755
+ readonly force_kill_browser: string;
1756
+ readonly force_kill_failed: string;
1757
+ readonly close_context_timeout: string;
1758
+ readonly close_context_failed: string;
1759
+ readonly xvfb_exited: string;
1760
+ readonly xvfb_start_failed: string;
1761
+ readonly max_concurrent_invalid: string;
1762
+ }>);
1763
+ }, "ar-EG" | "az-AZ" | "be-BY" | "bg-BG" | "bn-BD" | "ca-ES" | "cs-CZ" | "da-DK" | "de-DE" | "el-GR" | "en-GB" | "en-US" | "es-ES" | "es-US" | "et-EE" | "eu-ES" | "fa-IR" | "fi-FI" | "fr-BE" | "fr-CA" | "fr-FR" | "ga-IE" | "gl-ES" | "he-IL" | "hi-IN" | "hr-HR" | "hu-HU" | "hy-AM" | "id-ID" | "is-IS" | "it-IT" | "ja-JP" | "ka-GE" | "kk-KZ" | "km-KH" | "kmr-IQ" | "kn-IN" | "ko-KR" | "ku-IQ" | "lt-LT" | "lv-LV" | "mk-MK" | "ml-IN" | "mn-MN" | "mr-IN" | "ms-MY" | "my-MM" | "nb-NO" | "ne-NP" | "nl-BE" | "nl-NL" | "pl-PL" | "pt-BR" | "pt-PT" | "ro-RO" | "ru-RU" | "si-LK" | "sk-SK" | "sl-SI" | "sr-RS" | "sv-SE" | "ta-IN" | "th-TH" | "tk-TM" | "tr-TR" | "uk-UA" | "ur-PK" | "uz-UZ" | "vi-VN" | "zh-CN" | "zh-HK" | "zh-TW", "zh-CN">;
1764
+ export type { BrowserProxy, CreatePlaywrightServiceOptions, PlaywrightPage, PlaywrightService, PlaywrightServiceCtor, PlaywrightServiceStats, PlaywrightViewport, WithPageOptions };