@unotest/web 0.35.0 → 0.35.2
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.
- package/CHANGELOG.md +48 -0
- package/bin/unotest-web.js +12 -1
- package/dist/config/schema.d.ts +18 -18
- package/dist/config/schema.js +1 -1
- package/dist/driver/index.js +1 -1
- package/dist/dsl/index.js +1 -1
- package/dist/dsl/web-dsl-language-service.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/runner/cli.js +1 -1
- package/dist/runner/init/chrome-probe.js +1 -1
- package/dist/runner/init.js +1 -1
- package/dist/runner/install-chromium.js +1 -1
- package/dist/runner/prepare-fix.js +1 -1
- package/dist/runner/scaffold-workspace.js +1 -1
- package/dist/runner/serve-fixture.js +1 -1
- package/dist/runner/web-runner-adapter.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.35.2] - 2026-09-16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @unotest/core@0.35.2
|
|
8
|
+
- @unotest/dsl@0.35.2
|
|
9
|
+
- @unotest/grounder-client@0.35.2
|
|
10
|
+
- @unotest/protocol@0.35.2
|
|
11
|
+
- @unotest/viewer@0.35.2
|
|
12
|
+
|
|
13
|
+
## [0.35.1] - 2026-09-16
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- a420ce5: `unotest-web viewer --help` now prints the usage and exits instead of
|
|
18
|
+
starting a viewer and scaffolding a `unotest/` project into the current
|
|
19
|
+
directory. Asking any subcommand for help is answered before anything is
|
|
20
|
+
read from or written to disk.
|
|
21
|
+
- fd979ac: `lint` and a pushed bundle now agree on what "declared" means
|
|
22
|
+
|
|
23
|
+
A bundle has always read `unotest/.env.example` and `.secrets.example` as
|
|
24
|
+
the suite's declared externals; the linter read only `unotest/.env` and
|
|
25
|
+
`.secrets`, which are gitignored. A project was therefore complete for one
|
|
26
|
+
and broken for the other: green on a machine that had the real files, red
|
|
27
|
+
on a fresh checkout — a CI runner, a colleague who had just cloned — over
|
|
28
|
+
names the repository does declare, with a message pointing at files that
|
|
29
|
+
checkout does not have.
|
|
30
|
+
|
|
31
|
+
Both now read the same list. A name written in an example twin counts as
|
|
32
|
+
declared, and the "searched:" line of a refusal names the twins alongside
|
|
33
|
+
the real files.
|
|
34
|
+
|
|
35
|
+
Values are never read from an example: it holds placeholders, and a
|
|
36
|
+
scenario that reads such a variable still fails at that step — "no value",
|
|
37
|
+
which is a different problem from "no such name" and has a different fix.
|
|
38
|
+
A name declared nowhere is the error it always was.
|
|
39
|
+
|
|
40
|
+
- 4284099: `unotest-web --help` now lists `box picker on|off` alongside the other box
|
|
41
|
+
commands.
|
|
42
|
+
- @unotest/core@0.35.1
|
|
43
|
+
- @unotest/dsl@0.35.1
|
|
44
|
+
- @unotest/grounder-client@0.35.1
|
|
45
|
+
- @unotest/protocol@0.35.1
|
|
46
|
+
- @unotest/viewer@0.35.1
|
|
47
|
+
|
|
3
48
|
## [0.35.0] - 2026-09-15
|
|
4
49
|
|
|
5
50
|
### Minor Changes
|
|
@@ -179,6 +224,9 @@
|
|
|
179
224
|
|
|
180
225
|
## [0.34.0] - 2026-09-07
|
|
181
226
|
|
|
227
|
+
_Never published to npm on its own: the registry went from 0.33.0
|
|
228
|
+
straight to 0.35.0, which carries everything listed here._
|
|
229
|
+
|
|
182
230
|
### Minor Changes
|
|
183
231
|
|
|
184
232
|
- c6b91bb: From `init` to a paid box without copying a token: `login`, `box create`,
|
package/bin/unotest-web.js
CHANGED
|
@@ -45,12 +45,23 @@ function resolveTsxCli() {
|
|
|
45
45
|
|
|
46
46
|
const args = process.argv.slice(2);
|
|
47
47
|
const sub = args[0];
|
|
48
|
+
/** A question, not a command — see `dispatch`. */
|
|
49
|
+
const asksForHelp = args.some((a) => a === "--help" || a === "-h");
|
|
48
50
|
|
|
49
51
|
// Each route declares its compiled entry under dist/ AND its source entry
|
|
50
52
|
// under src/. In published packages dist/ exists (built by prepublishOnly);
|
|
51
53
|
// in a fresh clone we fall back to running TS sources via tsx so that
|
|
52
54
|
// `unotest-web --help` works without an explicit `pnpm build` first.
|
|
53
55
|
function dispatch(sub) {
|
|
56
|
+
// A question is not a command. Every `--help` goes to the cli dispatcher
|
|
57
|
+
// with the arguments untouched, whatever the route for that subcommand
|
|
58
|
+
// would otherwise be: it answers help before it resolves a workspace or
|
|
59
|
+
// touches disk. Without this, a route that substitutes its own arguments
|
|
60
|
+
// drops the flag and runs the command — `viewer --help` started a viewer
|
|
61
|
+
// and scaffolded `unotest/` into the current directory.
|
|
62
|
+
if (asksForHelp) {
|
|
63
|
+
return { dist: "dist/runner/cli.js", src: "src/runner/cli.ts", forwardArgs: args };
|
|
64
|
+
}
|
|
54
65
|
switch (sub) {
|
|
55
66
|
case "mcp":
|
|
56
67
|
return { dist: "dist/mcp/server.js", src: "src/mcp/server.ts", forwardArgs: [] };
|
|
@@ -108,7 +119,7 @@ const distPath = resolve(root, dist);
|
|
|
108
119
|
// `runInit` directly so we can await its promise — the module's own
|
|
109
120
|
// self-invoke `if (invokedDirectly)` block fires only when bin spawns
|
|
110
121
|
// a child, which we explicitly skip here.
|
|
111
|
-
if (sub === "init" && existsSync(distPath)) {
|
|
122
|
+
if (sub === "init" && !asksForHelp && existsSync(distPath)) {
|
|
112
123
|
const initModule = await import(pathToFileURL(distPath).href);
|
|
113
124
|
try {
|
|
114
125
|
const { exitCode } = await initModule.runInit(forwardArgs);
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -30,10 +30,10 @@ declare const RetryConfigSchema: z.ZodObject<{
|
|
|
30
30
|
on: z.ZodArray<z.ZodEnum<["transient", "network", "crash"]>, "many">;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
count: number;
|
|
33
|
-
on: ("
|
|
33
|
+
on: ("network" | "transient" | "crash")[];
|
|
34
34
|
}, {
|
|
35
35
|
count: number;
|
|
36
|
-
on: ("
|
|
36
|
+
on: ("network" | "transient" | "crash")[];
|
|
37
37
|
}>;
|
|
38
38
|
type RetryConfig = z.infer<typeof RetryConfigSchema>;
|
|
39
39
|
declare const FailureBundleConfigSchema: z.ZodObject<{
|
|
@@ -215,15 +215,15 @@ declare const WebServerConfigSchema: z.ZodObject<{
|
|
|
215
215
|
/** How long to wait for the URL to come up after spawning. */
|
|
216
216
|
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
|
-
command: string;
|
|
219
218
|
url: string;
|
|
220
|
-
reuseExistingServer: boolean;
|
|
221
219
|
timeoutMs: number;
|
|
222
|
-
}, {
|
|
223
220
|
command: string;
|
|
221
|
+
reuseExistingServer: boolean;
|
|
222
|
+
}, {
|
|
224
223
|
url: string;
|
|
225
|
-
|
|
224
|
+
command: string;
|
|
226
225
|
timeoutMs?: number | undefined;
|
|
226
|
+
reuseExistingServer?: boolean | undefined;
|
|
227
227
|
}>;
|
|
228
228
|
type WebServerConfig = z.infer<typeof WebServerConfigSchema>;
|
|
229
229
|
declare const UnotestConfigSchema: z.ZodObject<{
|
|
@@ -249,15 +249,15 @@ declare const UnotestConfigSchema: z.ZodObject<{
|
|
|
249
249
|
/** How long to wait for the URL to come up after spawning. */
|
|
250
250
|
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
251
251
|
}, "strip", z.ZodTypeAny, {
|
|
252
|
-
command: string;
|
|
253
252
|
url: string;
|
|
254
|
-
reuseExistingServer: boolean;
|
|
255
253
|
timeoutMs: number;
|
|
256
|
-
}, {
|
|
257
254
|
command: string;
|
|
255
|
+
reuseExistingServer: boolean;
|
|
256
|
+
}, {
|
|
258
257
|
url: string;
|
|
259
|
-
|
|
258
|
+
command: string;
|
|
260
259
|
timeoutMs?: number | undefined;
|
|
260
|
+
reuseExistingServer?: boolean | undefined;
|
|
261
261
|
}>>;
|
|
262
262
|
browsers: z.ZodArray<z.ZodEnum<["chromium", "firefox", "webkit"]>, "many">;
|
|
263
263
|
channel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"chrome">, z.ZodLiteral<"msedge">, z.ZodLiteral<"chrome-beta">, z.ZodNull]>>;
|
|
@@ -276,10 +276,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
|
|
|
276
276
|
on: z.ZodArray<z.ZodEnum<["transient", "network", "crash"]>, "many">;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
278
|
count: number;
|
|
279
|
-
on: ("
|
|
279
|
+
on: ("network" | "transient" | "crash")[];
|
|
280
280
|
}, {
|
|
281
281
|
count: number;
|
|
282
|
-
on: ("
|
|
282
|
+
on: ("network" | "transient" | "crash")[];
|
|
283
283
|
}>;
|
|
284
284
|
failureBundle: z.ZodObject<{
|
|
285
285
|
/** Tier 1 is always on by D-16. Schema lock — not user-toggleable. */
|
|
@@ -461,7 +461,7 @@ declare const UnotestConfigSchema: z.ZodObject<{
|
|
|
461
461
|
};
|
|
462
462
|
retry: {
|
|
463
463
|
count: number;
|
|
464
|
-
on: ("
|
|
464
|
+
on: ("network" | "transient" | "crash")[];
|
|
465
465
|
};
|
|
466
466
|
failureBundle: {
|
|
467
467
|
tier1: true;
|
|
@@ -508,10 +508,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
|
|
|
508
508
|
};
|
|
509
509
|
baseUrl?: string | undefined;
|
|
510
510
|
webServer?: {
|
|
511
|
-
command: string;
|
|
512
511
|
url: string;
|
|
513
|
-
reuseExistingServer: boolean;
|
|
514
512
|
timeoutMs: number;
|
|
513
|
+
command: string;
|
|
514
|
+
reuseExistingServer: boolean;
|
|
515
515
|
} | undefined;
|
|
516
516
|
channel?: "chrome" | "msedge" | "chrome-beta" | null | undefined;
|
|
517
517
|
storageState?: string | undefined;
|
|
@@ -523,7 +523,7 @@ declare const UnotestConfigSchema: z.ZodObject<{
|
|
|
523
523
|
};
|
|
524
524
|
retry: {
|
|
525
525
|
count: number;
|
|
526
|
-
on: ("
|
|
526
|
+
on: ("network" | "transient" | "crash")[];
|
|
527
527
|
};
|
|
528
528
|
failureBundle: {
|
|
529
529
|
tier2: boolean;
|
|
@@ -564,10 +564,10 @@ declare const UnotestConfigSchema: z.ZodObject<{
|
|
|
564
564
|
};
|
|
565
565
|
baseUrl?: string | undefined;
|
|
566
566
|
webServer?: {
|
|
567
|
-
command: string;
|
|
568
567
|
url: string;
|
|
569
|
-
|
|
568
|
+
command: string;
|
|
570
569
|
timeoutMs?: number | undefined;
|
|
570
|
+
reuseExistingServer?: boolean | undefined;
|
|
571
571
|
} | undefined;
|
|
572
572
|
channel?: "chrome" | "msedge" | "chrome-beta" | null | undefined;
|
|
573
573
|
storageState?: string | undefined;
|
package/dist/config/schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x5baf17=_0x17bc;(function(_0x4899a7,_0x2cfd46){var _0x494c03={_0x492bab:0x83,_0x570026:0x71,_0x2068e4:0x90},_0x389fae=_0x17bc,_0x48ca3c=_0x4899a7();while(!![]){try{var _0x2f2b6d=-parseInt(_0x389fae(0x92))/0x1+-parseInt(_0x389fae(_0x494c03._0x492bab))/0x2+-parseInt(_0x389fae(_0x494c03._0x570026))/0x3+parseInt(_0x389fae(0x89))/0x4+-parseInt(_0x389fae(0x81))/0x5+-parseInt(_0x389fae(_0x494c03._0x2068e4))/0x6*(-parseInt(_0x389fae(0x96))/0x7)+-parseInt(_0x389fae(0xa3))/0x8*(-parseInt(_0x389fae(0x95))/0x9);if(_0x2f2b6d===_0x2cfd46)break;else _0x48ca3c['push'](_0x48ca3c['shift']());}catch(_0x18e5f7){_0x48ca3c['push'](_0x48ca3c['shift']());}}}(_0x3fe9,0xc4b57));function _0x17bc(_0x396e88,_0x42fd94){_0x396e88=_0x396e88-0x6b;var _0x3fe90a=_0x3fe9();var _0x17bc60=_0x3fe90a[_0x396e88];if(_0x17bc['JUaLKU']===undefined){var _0xfb2692=function(_0x21b778){var _0x101f80='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4ac860='',_0x10dfb1='';for(var _0x996422=0x0,_0x1350a7,_0x30cf5d,_0x226200=0x0;_0x30cf5d=_0x21b778['charAt'](_0x226200++);~_0x30cf5d&&(_0x1350a7=_0x996422%0x4?_0x1350a7*0x40+_0x30cf5d:_0x30cf5d,_0x996422++%0x4)?_0x4ac860+=String['fromCharCode'](0xff&_0x1350a7>>(-0x2*_0x996422&0x6)):0x0){_0x30cf5d=_0x101f80['indexOf'](_0x30cf5d);}for(var _0x5d0056=0x0,_0x5dba92=_0x4ac860['length'];_0x5d0056<_0x5dba92;_0x5d0056++){_0x10dfb1+='%'+('00'+_0x4ac860['charCodeAt'](_0x5d0056)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x10dfb1);};_0x17bc['KBIxyY']=_0xfb2692,_0x17bc['JsCaqP']={},_0x17bc['JUaLKU']=!![];}var _0x37ac94=_0x3fe90a[0x0],_0x5d967e=_0x396e88+_0x37ac94,_0x2e6e94=_0x17bc['JsCaqP'][_0x5d967e];return!_0x2e6e94?(_0x17bc60=_0x17bc['KBIxyY'](_0x17bc60),_0x17bc['JsCaqP'][_0x5d967e]=_0x17bc60):_0x17bc60=_0x2e6e94,_0x17bc60;}import{z}from'zod';var BrowserSchema=z[_0x5baf17(0x7b)]([_0x5baf17(0x70),_0x5baf17(0x7e),_0x5baf17(0x77)]),BrowserChannelSchema=z[_0x5baf17(0xa2)]([z['literal']('chrome'),z[_0x5baf17(0x6c)](_0x5baf17(0x6e)),z['literal'](_0x5baf17(0x6f)),z[_0x5baf17(0x9b)]()])[_0x5baf17(0x94)](),ViewportSchema=z[_0x5baf17(0x8a)]({'width':z[_0x5baf17(0x7d)]()['int']()[_0x5baf17(0xa5)](),'height':z[_0x5baf17(0x7d)]()['int']()[_0x5baf17(0xa5)]()}),RetryReasonSchema=z[_0x5baf17(0x7b)](['transient',_0x5baf17(0x91),_0x5baf17(0xa9)]),RetryConfigSchema=z[_0x5baf17(0x8a)]({'count':z[_0x5baf17(0x7d)]()[_0x5baf17(0xaa)]()[_0x5baf17(0x9a)](0x0)[_0x5baf17(0x82)](0xa),'on':z[_0x5baf17(0xa6)](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x5baf17(0x8a)]({'tier1':z['literal'](!![])[_0x5baf17(0x8d)](!![]),'tier2':z[_0x5baf17(0x9e)](),'tier3':z['object']({'network':z[_0x5baf17(0x9e)](),'video':z[_0x5baf17(0x9e)]()}),'retention':z[_0x5baf17(0x8a)]({'runs':z[_0x5baf17(0x7d)]()[_0x5baf17(0xaa)]()[_0x5baf17(0xa5)](),'days':z[_0x5baf17(0x7d)]()[_0x5baf17(0xaa)]()[_0x5baf17(0xa5)]()}),'storageDir':z[_0x5baf17(0x8e)]()['min'](0x1)}),DialogPolicySchema=z[_0x5baf17(0x7b)]([_0x5baf17(0x80),'dismiss',_0x5baf17(0x72)]),LinterRuleIdSchema=z[_0x5baf17(0x7b)]([_0x5baf17(0x88),'lint:xpath',_0x5baf17(0x78),'lint:pause-explicit',_0x5baf17(0x84),_0x5baf17(0x87),_0x5baf17(0xa8),_0x5baf17(0xab),_0x5baf17(0x85),_0x5baf17(0x99),'lint:echo-assert',_0x5baf17(0x7f),'lint:lint-ok-missing-reason',_0x5baf17(0x7a),_0x5baf17(0x74),'lint:external-variable-undeclared',_0x5baf17(0xa7),_0x5baf17(0x7c),_0x5baf17(0x76),'validator:arg-kind',_0x5baf17(0x6d),_0x5baf17(0x98),_0x5baf17(0x97),_0x5baf17(0x9f),_0x5baf17(0xa0),_0x5baf17(0x86),'validator:var-shape','validator:unsupported-statement','validator:unsupported-expression','validator:string-concat',_0x5baf17(0x9c),_0x5baf17(0xa1),_0x5baf17(0x8f)]),LinterSeveritySchema=z[_0x5baf17(0x7b)]([_0x5baf17(0x75),_0x5baf17(0xa4),_0x5baf17(0x6b)]),LinterConfigSchema=z[_0x5baf17(0x8a)]({'enabled':z['boolean'](),'rules':z[_0x5baf17(0x73)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=z['object']({'enabled':z[_0x5baf17(0x9e)]()[_0x5baf17(0x8d)](!![]),'concurrency':z['number']()['int']()[_0x5baf17(0xa5)]()[_0x5baf17(0x8d)](0x1)}),ScheduleSchema=z[_0x5baf17(0x8a)]({'collection':z[_0x5baf17(0x8e)]()['min'](0x1),'cron':z[_0x5baf17(0x8e)]()[_0x5baf17(0x9a)](0x1),'env':z['string']()['min'](0x1)['optional'](),'prepare':z[_0x5baf17(0x8e)]()['min'](0x1)[_0x5baf17(0x94)]()}),McpConfigSchema=z[_0x5baf17(0x8a)]({'transport':z['literal'](_0x5baf17(0x8c))}),SandboxConfigSchema=z[_0x5baf17(0x8a)]({'shellCwd':z[_0x5baf17(0x8e)]()[_0x5baf17(0x94)](),'shellTimeoutMs':z[_0x5baf17(0x7d)]()[_0x5baf17(0xaa)]()[_0x5baf17(0xa5)]()[_0x5baf17(0x94)](),'exportSecrets':z[_0x5baf17(0xa6)](z['string']())[_0x5baf17(0x94)](),'database':z['string']()['optional'](),'apiBaseUrl':z[_0x5baf17(0x8e)]()[_0x5baf17(0x9d)]()[_0x5baf17(0x94)](),'uploadDir':z['string']()[_0x5baf17(0x94)]()}),WebServerConfigSchema=z[_0x5baf17(0x8a)]({'command':z[_0x5baf17(0x8e)]()[_0x5baf17(0x9a)](0x1),'url':z[_0x5baf17(0x8e)]()['url'](),'reuseExistingServer':z[_0x5baf17(0x9e)]()[_0x5baf17(0x8d)](!![]),'timeoutMs':z[_0x5baf17(0x7d)]()['int']()[_0x5baf17(0xa5)]()[_0x5baf17(0x8d)](0xea60)}),UnotestConfigSchema=z[_0x5baf17(0x8a)]({'baseUrl':z[_0x5baf17(0x8e)]()[_0x5baf17(0x9d)]()[_0x5baf17(0x94)](),'webServer':WebServerConfigSchema[_0x5baf17(0x94)](),'browsers':z['array'](BrowserSchema)[_0x5baf17(0x9a)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x5baf17(0x8e)]()[_0x5baf17(0x94)](),'testDir':z[_0x5baf17(0x8e)]()[_0x5baf17(0x9a)](0x1),'helpersDir':z[_0x5baf17(0x8e)]()['min'](0x1),'defaultTimeoutMs':z[_0x5baf17(0x7d)]()[_0x5baf17(0xaa)]()[_0x5baf17(0xa5)](),'defaultNavigationTimeoutMs':z['number']()[_0x5baf17(0xaa)]()[_0x5baf17(0xa5)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':z['array'](ScheduleSchema)['default']([]),'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x5baf17(0x70)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x5baf17(0x79)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x5baf17(0x8b)},'dialogPolicy':_0x5baf17(0x80),'testDir':_0x5baf17(0x93),'helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x5baf17(0xa4),'lint:xpath':_0x5baf17(0xa4),'lint:obfuscated-class':_0x5baf17(0xa4),'lint:pause-explicit':_0x5baf17(0xa4),'lint:disambig-by-index':_0x5baf17(0x75),'lint:evaluate-discouraged':_0x5baf17(0xa4),'lint:scenario-in-root':_0x5baf17(0x6b),'lint:mustache-in-dsl':'error','lint:goto-concat':'warn','lint:regex-invalid':_0x5baf17(0x6b),'lint:echo-assert':_0x5baf17(0xa4),'lint:lint-ok-missing-reason':_0x5baf17(0xa4),'lint:flow-returns-value':_0x5baf17(0xa4),'lint:legacy-layout':_0x5baf17(0xa4),'lint:external-variable-undeclared':_0x5baf17(0x6b),'lint:one-test-per-file':_0x5baf17(0xa4),'validator:unknown-function':_0x5baf17(0x6b)}},'mcp':{'transport':_0x5baf17(0x8c)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};function _0x3fe9(){var _0x48f8b7=['C3rYAw5N','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','ote4odGXnhrOAgLcqW','BMv0D29YAW','mta0mtq2nwDrBvvtwq','Dw5VDgvZDc9LmMu','B3b0Aw9UywW','oun4DgzjuW','n2jqv3Purq','DMfSAwrHDg9YoM1LDgeTC2HHCgu','DMfSAwrHDg9YoNn0zxaTC2HHCgu','BgLUDdPYzwDLEc1PBNzHBgLK','BwLU','BNvSBa','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','DxjS','yM9VBgvHBG','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','DMfSAwrHDg9YoMzVCI1ZAgfWzq','DMfSAwrHDg9YoMXPC3qTyxjN','Dw5PB24','mJm3otm2odHUCNz0BgC','D2fYBG','Cg9ZAxrPDMu','yxjYyxK','BgLUDdPVBMuTDgvZDc1WzxiTzMLSzq','BgLUDdPZy2vUyxjPBY1PBI1YB290','y3jHC2G','Aw50','BgLUDdPTDxn0ywnOzs1PBI1KC2W','zxjYB3i','BgL0zxjHBa','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','BxnLzgDL','y2HYB21LlwjLDge','y2HYB21PDw0','mJG3nJG2ofDMCvbxEq','BwfUDwfS','CMvJB3jK','BgLUDdPSzwDHy3KTBgf5B3v0','B2zM','DMfSAwrHDg9YoMfYAxr5','D2vIA2L0','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','DhjHBNnPzw50','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','zw51Bq','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','BNvTyMvY','zMLYzwzVEa','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','ywnJzxb0','mJi0oduWnxPmwfbNuq','Bwf4','mJu3ntq4ofbHDuL1CG','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','BgLUDdPNB3rVlwnVBMnHDa','DMfSAwrHDg9YoMLMlxnOyxbL','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','BgLUDdPKzwvWlwnZCW','mtuXnJiWyM5nv1jU','B2jQzwn0','lNvUB3rLC3qVzMfPBhvYzxm','C3rKAw8','zgvMyxvSDa'];_0x3fe9=function(){return _0x48f8b7;};return _0x3fe9();}
|
package/dist/driver/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5a9d21=_0x5961;(function(_0x13b4cc,_0x30ab44){const _0x2761fd={_0x403a6c:0x175,_0x4d1484:0x1c4,_0x284157:0x1b7,_0x1a641d:0x161},_0x15d443=_0x5961,_0x3ef846=_0x13b4cc();while(!![]){try{const _0x3cef68=parseInt(_0x15d443(0x187))/0x1+parseInt(_0x15d443(_0x2761fd._0x403a6c))/0x2+-parseInt(_0x15d443(0x1b9))/0x3*(-parseInt(_0x15d443(_0x2761fd._0x4d1484))/0x4)+-parseInt(_0x15d443(0x188))/0x5+parseInt(_0x15d443(_0x2761fd._0x284157))/0x6*(-parseInt(_0x15d443(0x1d3))/0x7)+-parseInt(_0x15d443(_0x2761fd._0x1a641d))/0x8+parseInt(_0x15d443(0x1cf))/0x9;if(_0x3cef68===_0x30ab44)break;else _0x3ef846['push'](_0x3ef846['shift']());}catch(_0x45a651){_0x3ef846['push'](_0x3ef846['shift']());}}}(_0x2065,0x4f4d9));var __defProp=Object[_0x5a9d21(0x174)],__name=(_0x43a279,_0x3ecc7d)=>__defProp(_0x43a279,_0x5a9d21(0x176),{'value':_0x3ecc7d,'configurable':!![]});function subscribe(_0x36ed07,_0x27a6f0){const _0x532a7f=_0x5a9d21;return _0x36ed07[_0x532a7f(0x1cb)](_0x27a6f0),()=>{const _0x2c70f9=_0x532a7f;_0x36ed07[_0x2c70f9(0x1d4)](_0x27a6f0);};}function _0x2065(){const _0x203bba=['nZG1nZa4uxHvDxv4','zgvSzxrL','AxneAxnHyMXLza','y2fSBhngB3i','rhjPDMvYrxjYB3i','B25ozxDqywDL','AxnwAxnPyMXL','ChvZAa','y2XVC2u','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','zxzHBhvHDgvpBKXVy2f0B3i','zNvUy3rPB24','ndiZmZm0nhL6zMncvq','Bwf5yMvuAhjVDW','CgfNzxm','zhjHz0fUzerYB3a','Bgf1BMnOzwq','C2f2zvn0B3jHz2vtDgf0zq','D2fPDezVCLrLEhq','y2fSBhm','D2fPDezVCLvYBa','zw1PDezHA2vqB3b1Ca','C2nYB2XSsw50B1zPzxC','zNjHBwvtDgfJAW','zxzHBhvHDgvszxn1Bhq','Dgv4DenVBNrLBNrcEurLzMf1Bhq','z2v0q29VA2LL','zMLSDgvY','y2HLy2TLzfn0yxrLqNLezwzHDwX0','ywn0AxzLswr4','y2HLy2TLzfn0yxrL','zgvMAw5LuhjVCgvYDhK','otm4odG0yMjAvNfu','BMfTzq','BMv3ugfNzuXPC3rLBMvYCW','C2v0q29VA2LL','y3jLyxrLuMvJB3jKzxi','Aw5WDxrwywX1zuj5rgvMyxvSDa','z2v0qxr0CMLIDxrL','yMvOyxzPB3i','CgfNzuXPC3q','AxnwAxnPyMXLqNLezwzHDwX0','z29gB3j3yxjK','ywn0AxzLugfNzq','Aw5UzxjuzxH0','C2vSzwn0t3b0Aw9U','iJ48l2rPDJ4','Bg9JywXtDg9YywDLu3rHDgu','ywjVDxq6yMXHBMS','DxjS','oda2nJjOwNjeC3C','nZq0mZm1AfbXB3zw','DxbSB2fKrMLSzq','C3bSAwnL','y29VA2LLu3rHDgu','C3rLChm','BMv0D29YA0vUDhjPzxm','y3vYCMvUDfvYBa','C3vIC2nYAwjL','z290BW','y29UBMvJDfnOyxjLza','z29cywnR','y29UC29SzuvUDhjPzxm','yxr0CMLIDxrLC0j5rgvMyxvSDa','C2v0tg9JywXtDg9YywDL','C2v0qwn0AxzLugfNzq','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','Dgv4DenVBNrLBNq','zxHPDezYyw1L','y2HLy2S','DgL0Bgu','y291BNrcEurLzMf1Bhq','zxzHBhvHDgu','Cg9W','zNjHBwvezxb0Aa','CMvJB3jKzxi','Cg9WDxbpBKnSAwnR','C2nYzwvUC2HVDa','lNbHz2u','zxjYB3jpBK5LEhrby3rPB24','zg91yMXLq2XPy2S','DhLWzq','CMvJB3jK','y3r4','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','pgrPDJ48l2rPDJ4','BMv3q29UDgv4Da','B25bzNrLCKnSAwnR','Bgf1BMnO','zMLSBa','D2fPDezVCG','Aw5ZCgvJDevSzw1LBNq','z2v0tg9JywXtDg9YywDL','y2XVC2vgywTLugfNzq','y291BNq','D2fPDezVCKXVywrtDgf0zq','D3nfBMrWB2LUDa','Dw5JAgvJAW','mtHxrwrcCuG','C2nVCgu','nJG0m29OqwfmuG','zhjPDMvY','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','Aw5UzxjuzxH0qNLezwzHDwX0','y29UDgv4Dhm','CMvM','zw50zxjgCMfTzq','rMfRzvbHz2u','zwXLBwvUDeHPBNrcEvjLzG','BgvUz3rO','yxr0ywnOrxHPC3rPBMC','mta3nNviEhPfDq','lNbHz2uW','B3v0zxjiDg1SqNLszwy','zNjVBq','Aw5WDxrwywX1zq','D2fPDezVCK5HDMLNyxrPB24','rMfRzunVBNrLEhq','ywrK','B3v0zxjive1m','CMvSB2fK','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','mtu4mZa5mxPyt2jYBq','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','AxneAxnHyMXLzej5rgvMyxvSDa','y29VA2LLCW'];_0x2065=function(){return _0x203bba;};return _0x2065();}__name(subscribe,_0x5a9d21(0x18f));import{UnotestError}from'@unotest/core';function _0x5961(_0x4fb701,_0x32f960){_0x4fb701=_0x4fb701-0x161;const _0x206560=_0x2065();let _0x59610e=_0x206560[_0x4fb701];if(_0x5961['QpDJsA']===undefined){var _0x257709=function(_0x390f4d){const _0x5e4b3b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x43a279='',_0x3ecc7d='';for(let _0x36ed07=0x0,_0x27a6f0,_0x1d5538,_0x178bc9=0x0;_0x1d5538=_0x390f4d['charAt'](_0x178bc9++);~_0x1d5538&&(_0x27a6f0=_0x36ed07%0x4?_0x27a6f0*0x40+_0x1d5538:_0x1d5538,_0x36ed07++%0x4)?_0x43a279+=String['fromCharCode'](0xff&_0x27a6f0>>(-0x2*_0x36ed07&0x6)):0x0){_0x1d5538=_0x5e4b3b['indexOf'](_0x1d5538);}for(let _0x6229a3=0x0,_0x47d9c6=_0x43a279['length'];_0x6229a3<_0x47d9c6;_0x6229a3++){_0x3ecc7d+='%'+('00'+_0x43a279['charCodeAt'](_0x6229a3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3ecc7d);};_0x5961['TNVATu']=_0x257709,_0x5961['XQIrHA']={},_0x5961['QpDJsA']=!![];}const _0x4297a8=_0x206560[0x0],_0x3702ec=_0x4fb701+_0x4297a8,_0x4b259c=_0x5961['XQIrHA'][_0x3702ec];return!_0x4b259c?(_0x59610e=_0x5961['TNVATu'](_0x59610e),_0x5961['XQIrHA'][_0x3702ec]=_0x59610e):_0x59610e=_0x4b259c,_0x59610e;}var DriverError=class extends UnotestError{static{__name(this,_0x5a9d21(0x1d7));}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}};function createRecorder(){const _0x58c492={_0x5af74d:0x1da},_0x7673d2=_0x5a9d21,_0x1d5538=[];let _0x178bc9=0x0;return{'push':__name(_0x6229a3=>_0x1d5538[_0x7673d2(0x1da)]({..._0x6229a3,'seq':_0x178bc9++}),_0x7673d2(_0x58c492._0x5af74d)),'calls':__name(()=>_0x1d5538,'calls')};}__name(createRecorder,_0x5a9d21(0x179));var FakePage=class{constructor(_0x47d9c6,_0x3d8efc,_0x30da08,_0x4499a8){const _0x2f3f65={_0x3cba12:0x1a0,_0x286be1:0x17c,_0xf7b93b:0x1b8,_0x5e9d3d:0x18e},_0x249b4f=_0x5a9d21;this[_0x249b4f(_0x2f3f65._0x3cba12)]=_0x47d9c6,this[_0x249b4f(_0x2f3f65._0x286be1)]=_0x3d8efc,this[_0x249b4f(_0x2f3f65._0xf7b93b)]=_0x30da08,this[_0x249b4f(_0x2f3f65._0x5e9d3d)]=_0x4499a8;}[_0x5a9d21(0x1a0)];['behavior'];[_0x5a9d21(0x1b8)];static{__name(this,_0x5a9d21(0x1c0));}[_0x5a9d21(0x18e)];[_0x5a9d21(0x1ac)];['record'](_0x3c75ea,_0x4517f1){const _0x291fcd={_0x41345a:0x1a0,_0x29e554:0x1da,_0x2bed46:0x1b8},_0x124dde=_0x5a9d21;this[_0x124dde(_0x291fcd._0x41345a)][_0x124dde(_0x291fcd._0x29e554)]({'scope':this[_0x124dde(_0x291fcd._0x2bed46)],'method':_0x3c75ea,'args':_0x4517f1});}[_0x5a9d21(0x162)](){const _0x2efeb9={_0x38ecb7:0x1a4,_0x16a88c:0x1a4},_0x278cc2=_0x5a9d21;if(this[_0x278cc2(0x17c)][_0x278cc2(_0x2efeb9._0x38ecb7)]){const _0x3f71ea=this[_0x278cc2(0x17c)][_0x278cc2(_0x2efeb9._0x16a88c)];this[_0x278cc2(0x17c)][_0x278cc2(0x1a4)]=void 0x0;throw _0x3f71ea;}}[_0x5a9d21(0x186)](){const _0x11de51=_0x5a9d21;return this[_0x11de51(0x18e)];}async['title'](){const _0x5ba6da=_0x5a9d21;return this[_0x5ba6da(0x1a7)](_0x5ba6da(0x19b),[]),'fake\x20title';}async['click'](_0x276453,_0x148b8e){const _0xe5e6e6={_0x56b477:0x1ac},_0x5c526e=_0x5a9d21;this['record']('click',[_0x276453,_0x148b8e]),this[_0x5c526e(0x162)](),this[_0x5c526e(_0xe5e6e6._0x56b477)]?.();}async['doubleClick'](_0x3f4dae,_0x5df536){const _0x3799bb=_0x5a9d21;this[_0x3799bb(0x1a7)](_0x3799bb(0x1a5),[_0x3f4dae,_0x5df536]),this['maybeThrow']();}async[_0x5a9d21(0x1ae)](_0x5d7865,_0x752cde,_0x10ccc5){const _0x1447f9={_0x2c3a83:0x1a7},_0x34fef5=_0x5a9d21;this[_0x34fef5(_0x1447f9._0x2c3a83)](_0x34fef5(0x1ae),[_0x5d7865,_0x752cde,_0x10ccc5]),this[_0x34fef5(0x162)]();}async['press'](_0x30a5be,_0x39e9ed,_0x58327a){const _0x17efba={_0x316b8e:0x162},_0x2c0308=_0x5a9d21;this['record']('press',[_0x30a5be,_0x39e9ed,_0x58327a]),this[_0x2c0308(_0x17efba._0x316b8e)]();}async[_0x5a9d21(0x19a)](_0x29c618,_0x268ec1){const _0x594dcd={_0x292d7c:0x162},_0x3daf41=_0x5a9d21;this[_0x3daf41(0x1a7)](_0x3daf41(0x19a),[_0x29c618,_0x268ec1]),this[_0x3daf41(_0x594dcd._0x292d7c)]();}async['uncheck'](_0x1e5f51,_0x38c6eb){const _0x3f486f={_0x12a24b:0x1b6},_0x1e3071=_0x5a9d21;this[_0x1e3071(0x1a7)](_0x1e3071(_0x3f486f._0x12a24b),[_0x1e5f51,_0x38c6eb]),this[_0x1e3071(0x162)]();}async['selectOption'](_0x155456,_0x4e8aed,_0x95896e){const _0x10f366={_0x358607:0x1a7,_0x20ff7c:0x182},_0x36f9e1=_0x5a9d21;this[_0x36f9e1(_0x10f366._0x358607)](_0x36f9e1(_0x10f366._0x20ff7c),[_0x155456,_0x4e8aed,_0x95896e]),this['maybeThrow']();}async['hover'](_0x175d1e,_0x20a64f){const _0x44659f=_0x5a9d21;this['record']('hover',[_0x175d1e,_0x20a64f]),this[_0x44659f(0x162)]();}async[_0x5a9d21(0x16b)](_0x99037f){const _0x2ffeaa={_0x5670af:0x1a7,_0x1846cc:0x16b},_0xb96843=_0x5a9d21;this[_0xb96843(_0x2ffeaa._0x5670af)](_0xb96843(_0x2ffeaa._0x1846cc),[_0x99037f]),this[_0xb96843(0x162)]();}async[_0x5a9d21(0x164)](_0x4af69f,_0x55c73e,_0xb00d50){const _0x5bf981=_0x5a9d21;this['record'](_0x5bf981(0x164),[_0x4af69f,_0x55c73e,_0xb00d50]),this[_0x5bf981(0x162)]();}async[_0x5a9d21(0x189)](_0x11c77d,_0xc3f4b7){const _0x73cb09={_0x4350c6:0x1a7},_0x34a6cd=_0x5a9d21;this[_0x34a6cd(_0x73cb09._0x4350c6)]('uploadFile',[_0x11c77d,_0xc3f4b7]),this[_0x34a6cd(0x162)]();}async['clipboardPaste'](_0x2a0f21,_0xaa5edf){const _0xa681b9={_0x337a9e:0x1a7},_0x366e9d=_0x5a9d21;this[_0x366e9d(_0xa681b9._0x337a9e)]('clipboardPaste',[_0x2a0f21,_0xaa5edf]),this['maybeThrow']();}async[_0x5a9d21(0x1b3)](_0x59ef90){const _0x216abb={_0x42cd49:0x1a7,_0x51d1fa:0x17c,_0x405fb5:0x19c},_0x420a7a=_0x5a9d21;return this[_0x420a7a(_0x216abb._0x42cd49)](_0x420a7a(0x1b3),[_0x59ef90]),this[_0x420a7a(_0x216abb._0x51d1fa)][_0x420a7a(_0x216abb._0x405fb5)]??0x1;}async[_0x5a9d21(0x198)](_0x5ad963){const _0x433347={_0x2d2470:0x1a7,_0x32e436:0x198},_0x4819da=_0x5a9d21;return this[_0x4819da(_0x433347._0x2d2470)](_0x4819da(_0x433347._0x32e436),[_0x5ad963]),this[_0x4819da(0x17c)][_0x4819da(0x16e)]??'';}async[_0x5a9d21(0x181)](_0x5af389){const _0x34d6d5={_0x53a07a:0x1a7,_0x1e1cb4:0x1bc,_0x104519:0x17c},_0x1561cf=_0x5a9d21;return this[_0x1561cf(_0x34d6d5._0x53a07a)](_0x1561cf(0x181),[_0x5af389]),this['behavior'][_0x1561cf(_0x34d6d5._0x1e1cb4)]??this[_0x1561cf(_0x34d6d5._0x104519)]['textContentByDefault']??'';}async[_0x5a9d21(0x1c8)](_0x370064){const _0x5e80d1={_0x570bfc:0x17a},_0x1fc97f=_0x5a9d21;return this[_0x1fc97f(0x1a7)](_0x1fc97f(0x1c8),[_0x370064]),this[_0x1fc97f(0x17c)][_0x1fc97f(_0x5e80d1._0x570bfc)]??'';}async[_0x5a9d21(0x173)](_0x26b529){const _0x55bcf4={_0x55db37:0x17c,_0x2b6d15:0x171},_0x416e89=_0x5a9d21;return this[_0x416e89(0x1a7)](_0x416e89(0x173),[_0x26b529]),this[_0x416e89(_0x55bcf4._0x55db37)][_0x416e89(_0x55bcf4._0x2b6d15)]??null;}async['isVisible'](_0x471bfc){const _0x542c1d={_0x4ff2d1:0x1d9,_0x1331a8:0x17c},_0x52af38=_0x5a9d21;return this[_0x52af38(0x1a7)](_0x52af38(_0x542c1d._0x4ff2d1),[_0x471bfc]),this[_0x52af38(_0x542c1d._0x1331a8)][_0x52af38(0x17e)]??!![];}async['isDisabled'](_0x1d6fe0){const _0x2e4a4a={_0x5b85ad:0x1a7,_0x5be00a:0x1d5,_0x2858fc:0x1d1},_0x32342f=_0x5a9d21;return this[_0x32342f(_0x2e4a4a._0x5b85ad)](_0x32342f(_0x2e4a4a._0x5be00a),[_0x1d6fe0]),this[_0x32342f(0x17c)][_0x32342f(_0x2e4a4a._0x2858fc)]??![];}async[_0x5a9d21(0x17b)](_0x45fb0b,_0x367450){const _0x43c885=_0x5a9d21;return this[_0x43c885(0x1a7)]('getAttribute',[_0x45fb0b,_0x367450]),this['behavior'][_0x43c885(0x194)]?.[_0x367450]??null;}async['waitFor'](_0xa21ad9,_0x219b71){const _0x31bece={_0x2f6ffe:0x1a7,_0x39aa1a:0x1af},_0x4c04d8=_0x5a9d21;this[_0x4c04d8(_0x31bece._0x2f6ffe)](_0x4c04d8(_0x31bece._0x39aa1a),[_0xa21ad9,_0x219b71]);}async['waitForUrl'](_0xde9133,_0x857ebf){const _0xf090de={_0x348504:0x1a7},_0x11aa85=_0x5a9d21;this[_0x11aa85(_0xf090de._0x348504)](_0x11aa85(0x169),[_0xde9133,_0x857ebf]);}async[_0x5a9d21(0x167)](_0xfc6bfc,_0x18f402){const _0x325f72={_0x4084aa:0x1a7},_0x3e2661=_0x5a9d21;this[_0x3e2661(_0x325f72._0x4084aa)](_0x3e2661(0x167),[_0xfc6bfc,_0x18f402]);}async[_0x5a9d21(0x1c9)](_0x22c384){const _0x251bc9=_0x5a9d21;this[_0x251bc9(0x1a7)]('waitForNavigation',[_0x22c384]);}async[_0x5a9d21(0x1b4)](_0x4551c8,_0x38b253){const _0x274644={_0x5cd89f:0x1b4},_0x483880=_0x5a9d21;this['record'](_0x483880(_0x274644._0x5cd89f),[_0x4551c8,_0x38b253]);}async[_0x5a9d21(0x190)](_0x1a91c1,_0x4533fd){const _0x3274e8=_0x5a9d21;this[_0x3274e8(0x1a7)]('goto',[_0x1a91c1,_0x4533fd]),this[_0x3274e8(0x18e)]=_0x1a91c1;}async[_0x5a9d21(0x1cd)](_0x3f4018){const _0x2d7ad5=_0x5a9d21;this['record'](_0x2d7ad5(0x1cd),[_0x3f4018]);}async[_0x5a9d21(0x192)](_0x360984){const _0x2a227f={_0x4f3682:0x192},_0x363777=_0x5a9d21;this[_0x363777(0x1a7)](_0x363777(_0x2a227f._0x4f3682),[_0x360984]);}async[_0x5a9d21(0x17f)](_0x43bc9c){const _0x2f3333={_0x315e9f:0x1a7,_0x5b92fe:0x17f},_0x28980d=_0x5a9d21;this[_0x28980d(_0x2f3333._0x315e9f)](_0x28980d(_0x2f3333._0x5b92fe),[_0x43bc9c]);}async[_0x5a9d21(0x19d)](_0x29943a){const _0x3f505f={_0x56b421:0x19d,_0x445665:0x16d},_0x3c3dfc=_0x5a9d21;return this['record'](_0x3c3dfc(_0x3f505f._0x56b421),[_0x29943a]),this[_0x3c3dfc(0x17c)][_0x3c3dfc(_0x3f505f._0x445665)];}async['evaluateOnLocator'](_0x15bcdc,_0x169d77){const _0xf45fb3=_0x5a9d21;return this['record'](_0xf45fb3(0x1dd),[_0x15bcdc,_0x169d77]),void 0x0;}async[_0x5a9d21(0x1b0)](_0x39b04e){const _0x4b20bd={_0x41e9ac:0x1a7,_0x2e3045:0x18c,_0xe8bdfc:0x1c1},_0x5cfb10=_0x5a9d21;this[_0x5cfb10(_0x4b20bd._0x41e9ac)](_0x5cfb10(0x1b0),[_0x39b04e]);if(_0x39b04e[_0x5cfb10(_0x4b20bd._0x2e3045)][_0x5cfb10(0x1c2)]!==0x1||_0x39b04e[_0x5cfb10(_0x4b20bd._0x2e3045)][0x0]['kind']!==_0x5cfb10(0x1be))return null;const _0x49f1e8=_0x39b04e['steps'][0x0]['ref'],_0x4e586f=this['behavior'][_0x5cfb10(_0x4b20bd._0xe8bdfc)]?.[_0x49f1e8];return _0x4e586f??null;}async[_0x5a9d21(0x1a2)](_0x41d13e){const _0x327674={_0x26f0f1:0x1a7,_0xce4e5c:0x1a2},_0x315cb8=_0x5a9d21;return this[_0x315cb8(_0x327674._0x26f0f1)](_0x315cb8(_0x327674._0xce4e5c),[_0x41d13e]),this['screenshotBytes'](_0x41d13e?.[_0x315cb8(0x1a6)]);}async['screenshotElement'](_0x16901e,_0x28a0c2){const _0x4a5a3c={_0x11f8d3:0x1a7},_0x522634=_0x5a9d21;return this[_0x522634(_0x4a5a3c._0x11f8d3)]('screenshotElement',[_0x16901e,_0x28a0c2]),this['screenshotBytes'](_0x28a0c2?.['type']);}['screenshotBytes'](_0x34a6bc){const _0x5bfdda={_0x44eefe:0x1c7,_0x503577:0x1de},_0x1643e2=_0x5a9d21,_0x21199e=this['behavior']['screenshotBytes'];if(_0x21199e===void 0x0)return Buffer[_0x1643e2(_0x5bfdda._0x44eefe)]('fake-png');return typeof _0x21199e===_0x1643e2(_0x5bfdda._0x503577)?_0x21199e(_0x34a6bc):_0x21199e;}async[_0x5a9d21(0x1cc)](_0x207bae){const _0x5a0fe8={_0x1518bb:0x1a7,_0x40eba2:0x18c,_0x2f920f:0x1c2,_0x275b0b:0x18c,_0x5b896c:0x1bb,_0x34dca9:0x1aa},_0x46f93b=_0x5a9d21;this[_0x46f93b(_0x5a0fe8._0x1518bb)]('outerHTML',[_0x207bae]);if(_0x207bae[_0x46f93b(_0x5a0fe8._0x40eba2)][_0x46f93b(_0x5a0fe8._0x2f920f)]===0x1&&_0x207bae[_0x46f93b(_0x5a0fe8._0x40eba2)][0x0]['kind']===_0x46f93b(0x1be)){const _0x28c45f=_0x207bae[_0x46f93b(_0x5a0fe8._0x275b0b)][0x0][_0x46f93b(0x1be)];return this[_0x46f93b(0x17c)][_0x46f93b(0x1c6)]?.[_0x28c45f]??_0x46f93b(_0x5a0fe8._0x5b896c)+_0x28c45f+_0x46f93b(0x183);}return _0x46f93b(_0x5a0fe8._0x34dca9);}},FakeContext=class{constructor(_0x103c2a,_0x316b52,_0x5e9bdc){const _0x949d90={_0x1e8dc0:0x1a0,_0x22f2ca:0x1ac,_0x598082:0x17d,_0x14eac6:0x18b},_0x7d2fde={_0x506aca:0x1a1},_0x3c559e=_0x5a9d21;this[_0x3c559e(_0x949d90._0x1e8dc0)]=_0x103c2a,this[_0x3c559e(0x17c)]=_0x316b52,this[_0x3c559e(0x1b8)]=_0x5e9bdc;const _0x5f476e=new FakePage(_0x103c2a,_0x316b52,_0x5e9bdc+_0x3c559e(0x1c5),_0x316b52['initialUrl']??_0x3c559e(0x185));_0x316b52['popupOnClick']&&(_0x5f476e[_0x3c559e(_0x949d90._0x22f2ca)]=()=>{const _0x127d56=_0x3c559e;this[_0x127d56(0x16a)](_0x316b52[_0x127d56(_0x7d2fde._0x506aca)]);}),this[_0x3c559e(_0x949d90._0x598082)]=[_0x5f476e],this[_0x3c559e(0x184)]={..._0x316b52['localStorage']??{}},this[_0x3c559e(_0x949d90._0x14eac6)]={..._0x316b52[_0x3c559e(0x1d2)]??{}};}[_0x5a9d21(0x1a0)];['behavior'];[_0x5a9d21(0x1b8)];static{__name(this,_0x5a9d21(0x1ca));}[_0x5a9d21(0x17d)];['activeIdx']=0x0;[_0x5a9d21(0x16c)]=[];[_0x5a9d21(0x184)];[_0x5a9d21(0x18b)];[_0x5a9d21(0x177)]=new Set();[_0x5a9d21(0x1a7)](_0x2e738d,_0x51aad1){const _0xdbcd47={_0x168617:0x1b8},_0x35b3f4=_0x5a9d21;this[_0x35b3f4(0x1a0)][_0x35b3f4(0x1da)]({'scope':this[_0x35b3f4(_0xdbcd47._0x168617)],'method':_0x2e738d,'args':_0x51aad1});}[_0x5a9d21(0x163)](){const _0x279433={_0x101bb3:0x17d},_0x9d33e4=_0x5a9d21;return this[_0x9d33e4(_0x279433._0x101bb3)];}[_0x5a9d21(0x180)](){const _0x1ea026={_0x55af4d:0x172,_0x4b1feb:0x1a9},_0x278917=_0x5a9d21,_0x6353b4=this[_0x278917(0x17d)][this[_0x278917(_0x1ea026._0x55af4d)]];if(!_0x6353b4)throw new DriverError(_0x278917(_0x1ea026._0x4b1feb),{'activeIdx':this[_0x278917(_0x1ea026._0x55af4d)]});return _0x6353b4;}[_0x5a9d21(0x193)](){const _0x500117={_0xa4b306:0x193},_0x460570=_0x5a9d21;return this[_0x460570(0x17c)][_0x460570(_0x500117._0xa4b306)]??[];}[_0x5a9d21(0x18d)](){const _0x1ae8ae={_0x380c3c:0x18d},_0x4d30bc=_0x5a9d21;return this[_0x4d30bc(0x17c)][_0x4d30bc(_0x1ae8ae._0x380c3c)]??[];}async[_0x5a9d21(0x196)](_0x516ebf){const _0x2c68c6={_0x492f4f:0x196,_0xe22b7e:0x1c2,_0x3dbbf4:0x1dc,_0x176144:0x16c},_0x11a278=_0x5a9d21;this[_0x11a278(0x1a7)](_0x11a278(_0x2c68c6._0x492f4f),[_0x516ebf]);if(_0x516ebf<0x0||_0x516ebf>=this[_0x11a278(0x17d)][_0x11a278(_0x2c68c6._0xe22b7e)])throw new DriverError(_0x11a278(_0x2c68c6._0x3dbbf4),{'index':_0x516ebf,'available':this['pageList'][_0x11a278(0x1c2)]});this[_0x11a278(0x172)]=_0x516ebf,this[_0x11a278(_0x2c68c6._0x176144)]['length']=0x0;}[_0x5a9d21(0x1d8)](_0x1a2735){return subscribe(this['newPageListeners'],_0x1a2735);}['emitFakePopup'](_0x585d50){const _0x35a556={_0x2c586f:0x1a3,_0x5c21a2:0x1da,_0x118c8d:0x177},_0xb5ee16=_0x5a9d21,_0x7299c1=this['scope']+_0xb5ee16(_0x35a556._0x2c586f)+this[_0xb5ee16(0x17d)]['length'],_0x8b18f1=new FakePage(this[_0xb5ee16(0x1a0)],this['behavior'],_0x7299c1,_0x585d50);this['pageList'][_0xb5ee16(_0x35a556._0x5c21a2)](_0x8b18f1);const _0x365cd8=this[_0xb5ee16(0x17d)]['length']-0x1;for(const _0x759452 of this[_0xb5ee16(_0x35a556._0x118c8d)]){try{_0x759452({'index':_0x365cd8,'url':_0x585d50});}catch{}}return _0x365cd8;}[_0x5a9d21(0x1b2)](_0x49cd8b){const _0x2dcb17={_0x5ee6ff:0x1dc,_0xc42d28:0x1c2,_0x1eb6cf:0x18a},_0x376d23=_0x5a9d21;if(_0x49cd8b<0x0||_0x49cd8b>=this[_0x376d23(0x17d)][_0x376d23(0x1c2)])throw new DriverError(_0x376d23(_0x2dcb17._0x5ee6ff),{'index':_0x49cd8b,'available':this['pageList'][_0x376d23(_0x2dcb17._0xc42d28)]});this[_0x376d23(0x17d)][_0x376d23(_0x2dcb17._0x1eb6cf)](_0x49cd8b,0x1);}async[_0x5a9d21(0x1bf)](_0x5b9f58){const _0x2e8cfc={_0x42e527:0x1a7,_0x4e85f1:0x1bf},_0x1dc200=_0x5a9d21;this[_0x1dc200(_0x2e8cfc._0x42e527)](_0x1dc200(_0x2e8cfc._0x4e85f1),[_0x5b9f58]);if(!_0x5b9f58[_0x1dc200(0x18c)][_0x1dc200(0x1c2)])throw new LocatorError('enterFrame\x20called\x20with\x20empty\x20locator',{'locator':_0x5b9f58});this['frameStack']['push'](_0x5b9f58);}async[_0x5a9d21(0x199)](){const _0x53202e={_0x2a0cc6:0x1a7,_0x249ebb:0x199,_0x60b95e:0x16c,_0x4b7b8f:0x1ce},_0x31a8bb=_0x5a9d21;this[_0x31a8bb(_0x53202e._0x2a0cc6)](_0x31a8bb(_0x53202e._0x249ebb),[]);if(this[_0x31a8bb(_0x53202e._0x60b95e)][_0x31a8bb(0x1c2)]===0x0)throw new DriverError(_0x31a8bb(_0x53202e._0x4b7b8f),{});this[_0x31a8bb(0x16c)][_0x31a8bb(0x19e)]();}async['setLocalStorage'](_0x3227f5,_0x21f586){const _0x3189e0={_0x7bbd36:0x195},_0x24d8e1=_0x5a9d21;this[_0x24d8e1(0x1a7)](_0x24d8e1(_0x3189e0._0x7bbd36),[_0x3227f5,_0x21f586]),this[_0x24d8e1(0x184)][_0x3227f5]=_0x21f586;}async[_0x5a9d21(0x1b1)](_0x57464f){const _0x246ddf={_0x20c71c:0x1b1},_0x2273a6=_0x5a9d21;return this[_0x2273a6(0x1a7)](_0x2273a6(_0x246ddf._0x20c71c),[_0x57464f]),this[_0x2273a6(0x184)][_0x57464f]??null;}async['setCookie'](_0x559782,_0x2f4e19,_0x5b9b3f){const _0x316a34={_0x2fd736:0x178,_0x46dab9:0x18b},_0x18c20d=_0x5a9d21;this[_0x18c20d(0x1a7)](_0x18c20d(_0x316a34._0x2fd736),[_0x559782,_0x2f4e19,_0x5b9b3f]),this[_0x18c20d(_0x316a34._0x46dab9)][_0x559782]=_0x2f4e19;}async[_0x5a9d21(0x16f)](_0x298269){const _0x44db3f={_0x45ffdb:0x18b},_0x2081d1=_0x5a9d21;return this['record'](_0x2081d1(0x16f),[_0x298269]),this[_0x2081d1(_0x44db3f._0x45ffdb)][_0x298269]??null;}async[_0x5a9d21(0x166)](_0xdf1f24){const _0x37163e=_0x5a9d21;this[_0x37163e(0x1a7)](_0x37163e(0x166),[_0xdf1f24]);}async['evaluate'](_0x5a1234){const _0x299996={_0x5e9bed:0x19d},_0x1382fa=_0x5a9d21;return this['record'](_0x1382fa(_0x299996._0x5e9bed),[_0x5a1234]),void 0x0;}async[_0x5a9d21(0x1db)](){const _0x2a08fe=_0x5a9d21;this[_0x2a08fe(0x1a7)]('close',[]);}[_0x5a9d21(0x19f)](){const _0x37d8e7={_0x58f156:0x1c2},_0x7aff93=_0x5a9d21;return this[_0x7aff93(0x16c)][_0x7aff93(_0x37d8e7._0x58f156)];}},FakeWebDriver=class{constructor(_0x417a36={}){const _0x3a7d00=_0x5a9d21;this[_0x3a7d00(0x17c)]=_0x417a36,this[_0x3a7d00(0x1a0)]=createRecorder();}['behavior'];static{__name(this,'FakeWebDriver');}[_0x5a9d21(0x165)]=![];['recorder'];[_0x5a9d21(0x1bd)]=[];async[_0x5a9d21(0x1ad)](_0x385a0a){const _0x160dbd={_0x2c9cbb:0x1da,_0x52d98d:0x1ad,_0x1d461d:0x165},_0x4a5d6d=_0x5a9d21;this['recorder'][_0x4a5d6d(_0x160dbd._0x2c9cbb)]({'scope':'driver','method':_0x4a5d6d(_0x160dbd._0x52d98d),'args':[_0x385a0a]}),this[_0x4a5d6d(_0x160dbd._0x1d461d)]=!![];}async[_0x5a9d21(0x1ab)](_0x3e6b53){const _0x21e444={_0x3f06f0:0x1da,_0x4c0731:0x1ba,_0x538a75:0x165,_0x3ea35f:0x197,_0x178a41:0x1a0,_0x512bfa:0x1c2,_0x1fcb46:0x1bd},_0x191a55=_0x5a9d21;this[_0x191a55(0x1a0)][_0x191a55(_0x21e444._0x3f06f0)]({'scope':_0x191a55(_0x21e444._0x4c0731),'method':_0x191a55(0x1ab),'args':[_0x3e6b53]});if(!this[_0x191a55(_0x21e444._0x538a75)])throw new DriverError(_0x191a55(_0x21e444._0x3ea35f),{});const _0x4f59f5=new FakeContext(this[_0x191a55(_0x21e444._0x178a41)],this['behavior'],_0x191a55(0x1a8)+this[_0x191a55(0x1bd)][_0x191a55(_0x21e444._0x512bfa)]);return this[_0x191a55(_0x21e444._0x1fcb46)]['push'](_0x4f59f5),_0x4f59f5;}async[_0x5a9d21(0x1db)](){const _0x3ea8bf={_0x264418:0x165},_0x30b103=_0x5a9d21;this[_0x30b103(0x1a0)]['push']({'scope':_0x30b103(0x1ba),'method':'close','args':[]}),this[_0x30b103(_0x3ea8bf._0x264418)]=![];}[_0x5a9d21(0x1b5)](){return void 0x0;}async[_0x5a9d21(0x191)](){throw new DriverError('connectShared\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0x5a9d21(0x1c3)](_0x352a9b){const _0x69ad48={_0x3e518e:0x1d0},_0x47e44a=_0x5a9d21;throw new DriverError(_0x47e44a(_0x69ad48._0x3e518e),{});}[_0x5a9d21(0x168)](){const _0x4226fc={_0x150027:0x1a0},_0x4ef717=_0x5a9d21;return this[_0x4ef717(_0x4226fc._0x150027)][_0x4ef717(0x168)]();}[_0x5a9d21(0x1d6)](_0x2a45ae){const _0x1477c4={_0x568e6a:0x168},_0x38cb05=_0x5a9d21;return this[_0x38cb05(0x1a0)][_0x38cb05(_0x1477c4._0x568e6a)]()[_0x38cb05(0x170)](_0x2da986=>_0x2da986['method']===_0x2a45ae);}};export{FakeWebDriver};
|
|
1
|
+
const _0x46b388=_0x1c30;(function(_0x3b60d9,_0x216fe3){const _0x13fae3={_0x203667:0x163,_0x34753f:0x150,_0x1a9df6:0x15d,_0x2f1e32:0x147,_0x3fd904:0x151,_0x35da79:0x135,_0x35c7c9:0x152,_0x1db706:0x13c},_0x417fe4=_0x1c30,_0x279bd8=_0x3b60d9();while(!![]){try{const _0x32fa07=-parseInt(_0x417fe4(_0x13fae3._0x203667))/0x1*(parseInt(_0x417fe4(_0x13fae3._0x34753f))/0x2)+parseInt(_0x417fe4(_0x13fae3._0x1a9df6))/0x3*(-parseInt(_0x417fe4(_0x13fae3._0x2f1e32))/0x4)+parseInt(_0x417fe4(0x141))/0x5+parseInt(_0x417fe4(0x16e))/0x6*(parseInt(_0x417fe4(0x12f))/0x7)+parseInt(_0x417fe4(_0x13fae3._0x3fd904))/0x8*(parseInt(_0x417fe4(_0x13fae3._0x35da79))/0x9)+parseInt(_0x417fe4(_0x13fae3._0x35c7c9))/0xa+-parseInt(_0x417fe4(_0x13fae3._0x1db706))/0xb*(parseInt(_0x417fe4(0x10b))/0xc);if(_0x32fa07===_0x216fe3)break;else _0x279bd8['push'](_0x279bd8['shift']());}catch(_0x22f153){_0x279bd8['push'](_0x279bd8['shift']());}}}(_0x52a6,0x54e29));var __defProp=Object[_0x46b388(0xfd)],__name=(_0x44198d,_0x40229f)=>__defProp(_0x44198d,_0x46b388(0xf7),{'value':_0x40229f,'configurable':!![]});function subscribe(_0x3915cd,_0x2ed959){const _0x3eab77=_0x46b388;return _0x3915cd[_0x3eab77(0x10f)](_0x2ed959),()=>{const _0x584422=_0x3eab77;_0x3915cd[_0x584422(0x104)](_0x2ed959);};}__name(subscribe,_0x46b388(0x11e));import{UnotestError}from'@unotest/core';function _0x52a6(){const _0x2e0aa3=['ywrK','rMfRzvDLyKrYAxzLCG','Aw5UzxjuzxH0','C2nYB2XSsw50B1zPzxC','z290BW','Aw5ZCgvJDevSzw1LBNq','zMLSBa','AxneAxnHyMXLza','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','y291BNq','B3v0zxjive1m','y2HLy2TLzfn0yxrLqNLezwzHDwX0','AxnwAxnPyMXLqNLezwzHDwX0','yxr0ywnOrxHPC3rPBMC','D2fPDezVCLrLEhq','C3vIC2nYAwjL','B25bzNrLCKnSAwnR','CgfNzxm','Bgf1BMnOzwq','zw1PDezHA2vqB3b1Ca','Ag92zxi','y2fSBhngB3i','B3v0zxjiDg1SqNLszwy','Bg9JywXtDg9YywDLu3rHDgu','pgrPDJ48l2rPDJ4','zMfRzsb0AxrSzq','z29gB3j3yxjK','ywjVDxq6yMXHBMS','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','BgvUz3rO','C2f2zvn0B3jHz2vtDgf0zq','zxjYB3jpBK5LEhrby3rPB24','ntyYmuzrs2vdsq','BMv0D29YA0vUDhjPzxm','y2HLy2TLzfn0yxrL','yMvOyxzPB3i','DxjS','Aw5WDxrwywX1zuj5rgvMyxvSDa','mZzQELrkCxi','z2v0qxr0CMLIDxrL','Bgf1BMnO','D2fPDezVCLvYBa','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','AxneAxnHyMXLzej5rgvMyxvSDa','tg9JyxrVCKvYCM9Y','mta2otC3mNbVwMnlva','zNjHBwvtDgfJAW','DxbSB2fKrMLSzq','Dw5JAgvJAW','C3bSAwnL','mJa1nta1nuPdsxLlra','C2nVCgu','Bwf5yMvuAhjVDW','Dgv4DenVBNrLBNq','zNjVBq','iJ48l2rPDJ4','mJC1mtyWoe9ozLLYDW','C2v0qwn0AxzLugfNzq','zhjHz0fUzerYB3a','Aw5WDxrwywX1zq','y2XPCgjVyxjKugfZDgu','z2v0q29VA2LL','Cg9W','AxnwAxnPyMXL','BMv3q29UDgv4Da','mtqWmZHHuNjrEeO','mteYmtK2oeLuzwHAqG','ndGXmty5meruy1PPvG','zw50zxjgCMfTzq','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','DhLWzq','rMfRzvbHz2u','ChvZAa','y2XVC2vgywTLugfNzq','y2HLy2S','zNvUy3rPB24','CMvJB3jKzxi','zMfRzs1WBMC','m2zsswfHAW','C2nYzwvUC2HVDevSzw1LBNq','y291BNrcEurLzMf1Bhq','Bwv0Ag9K','y29UDgv4Dhm','y3r4','nZvZBen1C1K','CgfNzuXPC3q','y29UBMvJDfnOyxjLza','y29UC29SzuvUDhjPzxm','CMvSB2fK','Cg9WDxbpBKnSAwnR','A2LUza','C2nYzwvUC2HVDej5DgvZ','BMv3ugfNzuXPC3rLBMvYCW','zxzHBhvHDgvszxn1Bhq','CMvM','mZCYmeP0A1LjrG','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','CMvJB3jK','zwXLBwvUDeHPBNrcEvjLzG','BMfTzq','zxzHBhvHDgu','lNbHz2u','z29cywnR','ChjLC3m','y3jLyxrLuMvJB3jKzxi','zgvMAw5LuhjVCgvYDhK','C3rLChm','zhjPDMvY','zxHPDezYyw1L','Dgv4DenVBNrLBNrcEurLzMf1Bhq','z2v0tg9JywXtDg9YywDL','C2v0q29VA2LL','zgvSzxrL','y2XVC2u','zMLSDgvY','y29VA2LLu3rHDgu','Bg9JywXtDg9YywDL','y2fSBhm','C2v0tg9JywXtDg9YywDL','ndHXsNDrt3i','C2nYzwvUC2HVDa','y3vYCMvUDfvYBa','ywn0AxzLswr4'];_0x52a6=function(){return _0x2e0aa3;};return _0x52a6();}var DriverError=class extends UnotestError{static{__name(this,'DriverError');}},LocatorError=class extends UnotestError{static{__name(this,_0x46b388(0x13b));}};function createRecorder(){const _0xe5eae7=_0x46b388,_0x351f00=[];let _0x35631f=0x0;return{'push':__name(_0x60f7c7=>_0x351f00[_0xe5eae7(0x157)]({..._0x60f7c7,'seq':_0x35631f++}),_0xe5eae7(0x157)),'calls':__name(()=>_0x351f00,_0xe5eae7(0x109))};}__name(createRecorder,_0x46b388(0xfc));function _0x1c30(_0x230f9e,_0x423dfe){_0x230f9e=_0x230f9e-0xf6;const _0x52a6df=_0x52a6();let _0x1c30b2=_0x52a6df[_0x230f9e];if(_0x1c30['pIYUPk']===undefined){var _0x317ee6=function(_0x2a0bde){const _0x657e3f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x44198d='',_0x40229f='';for(let _0x3915cd=0x0,_0x2ed959,_0x351f00,_0x35631f=0x0;_0x351f00=_0x2a0bde['charAt'](_0x35631f++);~_0x351f00&&(_0x2ed959=_0x3915cd%0x4?_0x2ed959*0x40+_0x351f00:_0x351f00,_0x3915cd++%0x4)?_0x44198d+=String['fromCharCode'](0xff&_0x2ed959>>(-0x2*_0x3915cd&0x6)):0x0){_0x351f00=_0x657e3f['indexOf'](_0x351f00);}for(let _0x60f7c7=0x0,_0x157a3a=_0x44198d['length'];_0x60f7c7<_0x157a3a;_0x60f7c7++){_0x40229f+='%'+('00'+_0x44198d['charCodeAt'](_0x60f7c7)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x40229f);};_0x1c30['lyAKJG']=_0x317ee6,_0x1c30['WgGVVd']={},_0x1c30['pIYUPk']=!![];}const _0x33a985=_0x52a6df[0x0],_0x1b7bf9=_0x230f9e+_0x33a985,_0x2f8117=_0x1c30['WgGVVd'][_0x1b7bf9];return!_0x2f8117?(_0x1c30b2=_0x1c30['lyAKJG'](_0x1c30b2),_0x1c30['WgGVVd'][_0x1b7bf9]=_0x1c30b2):_0x1c30b2=_0x2f8117,_0x1c30b2;}var FakePage=class{constructor(_0x157a3a,_0x42814a,_0xcff8d2,_0xad7aa2){const _0x592386={_0x3140b4:0x15b,_0x9178dd:0x142,_0x562cff:0x10d},_0xfe9217=_0x46b388;this[_0xfe9217(_0x592386._0x3140b4)]=_0x157a3a,this['behavior']=_0x42814a,this[_0xfe9217(_0x592386._0x9178dd)]=_0xcff8d2,this[_0xfe9217(_0x592386._0x562cff)]=_0xad7aa2;}[_0x46b388(0x15b)];['behavior'];['scope'];static{__name(this,_0x46b388(0x156));}[_0x46b388(0x10d)];[_0x46b388(0x11f)];[_0x46b388(0x170)](_0x51d3f0,_0x10812d){const _0x455a3f={_0x37215c:0x15b,_0x300fab:0x142},_0x709499=_0x46b388;this[_0x709499(_0x455a3f._0x37215c)]['push']({'scope':this[_0x709499(_0x455a3f._0x300fab)],'method':_0x51d3f0,'args':_0x10812d});}[_0x46b388(0x143)](){const _0x1bf21a={_0x595a00:0x132,_0x3c7665:0x132},_0x19725c=_0x46b388;if(this[_0x19725c(_0x1bf21a._0x595a00)][_0x19725c(0x12e)]){const _0x471c37=this[_0x19725c(_0x1bf21a._0x3c7665)]['errorOnNextAction'];this['behavior']['errorOnNextAction']=void 0x0;throw _0x471c37;}}[_0x46b388(0x133)](){return this['currentUrl'];}async['title'](){const _0x90277a={_0x5d2bd0:0x128},_0x52fcd8=_0x46b388;return this['record']('title',[]),_0x52fcd8(_0x90277a._0x5d2bd0);}async['click'](_0x258408,_0x4ea1a9){const _0x26bbec=_0x46b388;this[_0x26bbec(0x170)]('click',[_0x258408,_0x4ea1a9]),this[_0x26bbec(0x143)](),this[_0x26bbec(0x11f)]?.();}async['doubleClick'](_0x112962,_0x3cee2c){const _0x498052=_0x46b388;this[_0x498052(0x170)]('doubleClick',[_0x112962,_0x3cee2c]),this['maybeThrow']();}async[_0x46b388(0x115)](_0x72db8a,_0xd05842,_0x3253a5){const _0x4a97bf={_0x3b401f:0x115,_0x1776ab:0x143},_0x253ce8=_0x46b388;this['record'](_0x253ce8(_0x4a97bf._0x3b401f),[_0x72db8a,_0xd05842,_0x3253a5]),this[_0x253ce8(_0x4a97bf._0x1776ab)]();}async[_0x46b388(0xfb)](_0x2296e7,_0xdf536b,_0x1c3ab5){const _0x3eeb0a={_0x5d9c86:0x143},_0x386d86=_0x46b388;this[_0x386d86(0x170)](_0x386d86(0xfb),[_0x2296e7,_0xdf536b,_0x1c3ab5]),this[_0x386d86(_0x3eeb0a._0x5d9c86)]();}async[_0x46b388(0x159)](_0x75709c,_0x26c3e2){const _0x16d365={_0x4992b1:0x170,_0x5cb437:0x159,_0x12d180:0x143},_0x458fc5=_0x46b388;this[_0x458fc5(_0x16d365._0x4992b1)](_0x458fc5(_0x16d365._0x5cb437),[_0x75709c,_0x26c3e2]),this[_0x458fc5(_0x16d365._0x12d180)]();}async[_0x46b388(0x13f)](_0x100d55,_0x17e9c9){const _0x3090a5={_0x1891ce:0x143},_0x35f49d=_0x46b388;this[_0x35f49d(0x170)]('uncheck',[_0x100d55,_0x17e9c9]),this[_0x35f49d(_0x3090a5._0x1891ce)]();}async['selectOption'](_0x3969e2,_0x4449b8,_0x491a7e){const _0x505cdb={_0x5038c9:0x143},_0x4d168b=_0x46b388;this[_0x4d168b(0x170)]('selectOption',[_0x3969e2,_0x4449b8,_0x491a7e]),this[_0x4d168b(_0x505cdb._0x5038c9)]();}async[_0x46b388(0x123)](_0x3f84bb,_0x93a8c5){const _0x1e3edd=_0x46b388;this[_0x1e3edd(0x170)](_0x1e3edd(0x123),[_0x3f84bb,_0x93a8c5]),this['maybeThrow']();}async[_0x46b388(0x112)](_0x5d4359){const _0x4a2b35=_0x46b388;this['record'](_0x4a2b35(0x112),[_0x5d4359]),this[_0x4a2b35(0x143)]();}async['dragAndDrop'](_0x27d03b,_0x253526,_0x36ca30){const _0x4a0ffc={_0xcb59a4:0x143},_0x5ec085=_0x46b388;this[_0x5ec085(0x170)](_0x5ec085(0x149),[_0x27d03b,_0x253526,_0x36ca30]),this[_0x5ec085(_0x4a0ffc._0xcb59a4)]();}async[_0x46b388(0x13e)](_0x935011,_0x3e1def){const _0x195937={_0x38c0ca:0x170},_0x2e1933=_0x46b388;this[_0x2e1933(_0x195937._0x38c0ca)]('uploadFile',[_0x935011,_0x3e1def]),this['maybeThrow']();}async[_0x46b388(0x14b)](_0x3853b3,_0x1eea64){const _0x1944e6={_0x3d8ef7:0x143},_0x249b12=_0x46b388;this['record'](_0x249b12(0x14b),[_0x3853b3,_0x1eea64]),this[_0x249b12(_0x1944e6._0x3d8ef7)]();}async[_0x46b388(0x118)](_0xc025ee){const _0x309c9c={_0x4752bb:0x132,_0x2fbdf3:0x15f},_0x81b9d4=_0x46b388;return this['record'](_0x81b9d4(0x118),[_0xc025ee]),this[_0x81b9d4(_0x309c9c._0x4752bb)][_0x81b9d4(_0x309c9c._0x2fbdf3)]??0x1;}async[_0x46b388(0x144)](_0x352238){const _0x347748={_0x24d624:0x170,_0x8f6140:0x132},_0x64377c=_0x46b388;return this[_0x64377c(_0x347748._0x24d624)]('textContent',[_0x352238]),this[_0x64377c(_0x347748._0x8f6140)][_0x64377c(0x101)]??'';}async[_0x46b388(0x111)](_0xeb7b4e){const _0x125060={_0x5bc9d9:0x111,_0x4f2099:0x132,_0x974b27:0x101},_0x46a45a=_0x46b388;return this[_0x46a45a(0x170)](_0x46a45a(_0x125060._0x5bc9d9),[_0xeb7b4e]),this['behavior']['innerTextByDefault']??this[_0x46a45a(_0x125060._0x4f2099)][_0x46a45a(_0x125060._0x974b27)]??'';}async[_0x46b388(0x14a)](_0x1eea00){const _0x321cbc={_0x2da79a:0x134},_0x5598c3=_0x46b388;return this[_0x5598c3(0x170)]('inputValue',[_0x1eea00]),this[_0x5598c3(0x132)][_0x5598c3(_0x321cbc._0x2da79a)]??'';}async['checkedState'](_0x39a9b7){const _0x4a9032={_0x4d7eec:0x170,_0xf140b4:0x132,_0x224e38:0x11a},_0x39c57d=_0x46b388;return this[_0x39c57d(_0x4a9032._0x4d7eec)](_0x39c57d(0x131),[_0x39a9b7]),this[_0x39c57d(_0x4a9032._0xf140b4)][_0x39c57d(_0x4a9032._0x224e38)]??null;}async[_0x46b388(0x14e)](_0x116ffe){const _0x5b7e8c={_0x4d79a9:0x170},_0x19291d=_0x46b388;return this[_0x19291d(_0x5b7e8c._0x4d79a9)](_0x19291d(0x14e),[_0x116ffe]),this['behavior'][_0x19291d(0x11b)]??!![];}async[_0x46b388(0x116)](_0x190efc){const _0x508255={_0xd6901b:0x170,_0x25f74f:0x116,_0x1e8eb0:0x132},_0x426a5a=_0x46b388;return this[_0x426a5a(_0x508255._0xd6901b)](_0x426a5a(_0x508255._0x25f74f),[_0x190efc]),this[_0x426a5a(_0x508255._0x1e8eb0)][_0x426a5a(0x13a)]??![];}async[_0x46b388(0x136)](_0x18b32c,_0x33f9e1){const _0xd2f741={_0x4feb31:0x136},_0x2a5958=_0x46b388;return this[_0x2a5958(0x170)](_0x2a5958(_0xd2f741._0x4feb31),[_0x18b32c,_0x33f9e1]),this[_0x2a5958(0x132)]['attributesByDefault']?.[_0x33f9e1]??null;}async['waitFor'](_0x35652e,_0x5e5b0f){const _0x283ba4={_0x355deb:0x170},_0x4f8bd8=_0x46b388;this[_0x4f8bd8(_0x283ba4._0x355deb)]('waitFor',[_0x35652e,_0x5e5b0f]);}async[_0x46b388(0x138)](_0x33e3ec,_0x30b739){const _0x5a947e=_0x46b388;this[_0x5a947e(0x170)](_0x5a947e(0x138),[_0x33e3ec,_0x30b739]);}async['waitForText'](_0x529311,_0x2211e0){const _0x1fd571=_0x46b388;this[_0x1fd571(0x170)](_0x1fd571(0x11d),[_0x529311,_0x2211e0]);}async['waitForNavigation'](_0x153975){const _0x44db09=_0x46b388;this[_0x44db09(0x170)]('waitForNavigation',[_0x153975]);}async['waitForLoadState'](_0x337240,_0x41a934){const _0x18afe2={_0x402426:0x170},_0x417367=_0x46b388;this[_0x417367(_0x18afe2._0x402426)]('waitForLoadState',[_0x337240,_0x41a934]);}async[_0x46b388(0x113)](_0x521bb1,_0xc6072b){const _0xbdb8d5={_0x30a6fd:0x113},_0x4e4603=_0x46b388;this[_0x4e4603(0x170)](_0x4e4603(_0xbdb8d5._0x30a6fd),[_0x521bb1,_0xc6072b]),this['currentUrl']=_0x521bb1;}async[_0x46b388(0x167)](_0x5e34dc){const _0x157a4d={_0x3ed6ad:0x170},_0x272d17=_0x46b388;this[_0x272d17(_0x157a4d._0x3ed6ad)]('reload',[_0x5e34dc]);}async[_0x46b388(0xfa)](_0x226b5e){const _0x1e8e0a=_0x46b388;this[_0x1e8e0a(0x170)](_0x1e8e0a(0xfa),[_0x226b5e]);}async[_0x46b388(0x129)](_0x2a02fe){const _0x21ba06={_0x33519b:0x170},_0x2acd60=_0x46b388;this[_0x2acd60(_0x21ba06._0x33519b)](_0x2acd60(0x129),[_0x2a02fe]);}async[_0x46b388(0xf8)](_0x10214d){const _0x7ec2eb={_0x355cbd:0x16c},_0x5a220e=_0x46b388;return this['record'](_0x5a220e(0xf8),[_0x10214d]),this[_0x5a220e(0x132)][_0x5a220e(_0x7ec2eb._0x355cbd)];}async['evaluateOnLocator'](_0xc3c391,_0xba97e4){return this['record']('evaluateOnLocator',[_0xc3c391,_0xba97e4]),void 0x0;}async['inspectElement'](_0x157b8d){const _0x3402a1={_0x1ff0db:0x170,_0x24c3ad:0xfe,_0x3c25af:0x16d,_0x2f4f9e:0xf6},_0x4403e6=_0x46b388;this[_0x4403e6(_0x3402a1._0x1ff0db)](_0x4403e6(0x114),[_0x157b8d]);if(_0x157b8d[_0x4403e6(0xfe)]['length']!==0x1||_0x157b8d[_0x4403e6(_0x3402a1._0x24c3ad)][0x0][_0x4403e6(0x169)]!==_0x4403e6(_0x3402a1._0x3c25af))return null;const _0x4da694=_0x157b8d[_0x4403e6(0xfe)][0x0][_0x4403e6(0x16d)],_0x4fe2b8=this[_0x4403e6(0x132)][_0x4403e6(_0x3402a1._0x2f4f9e)]?.[_0x4da694];return _0x4fe2b8??null;}async[_0x46b388(0x10c)](_0x20d448){const _0x332183={_0x500ef3:0x10c,_0x26d459:0x16a},_0x31ff77=_0x46b388;return this[_0x31ff77(0x170)](_0x31ff77(_0x332183._0x500ef3),[_0x20d448]),this[_0x31ff77(_0x332183._0x26d459)](_0x20d448?.['type']);}async[_0x46b388(0x15e)](_0x20bc7a,_0x58fff4){const _0x4f21ad={_0x4c3687:0x16a},_0x4e63c6=_0x46b388;return this['record'](_0x4e63c6(0x15e),[_0x20bc7a,_0x58fff4]),this[_0x4e63c6(_0x4f21ad._0x4c3687)](_0x58fff4?.[_0x4e63c6(0x155)]);}[_0x46b388(0x16a)](_0x6073c2){const _0x1726f5={_0x218569:0x132,_0x1b9580:0x145,_0xd73d2f:0x15a},_0x2d815a=_0x46b388,_0x42d12c=this[_0x2d815a(_0x1726f5._0x218569)]['screenshotBytes'];if(_0x42d12c===void 0x0)return Buffer[_0x2d815a(_0x1726f5._0x1b9580)](_0x2d815a(0x15c));return typeof _0x42d12c===_0x2d815a(_0x1726f5._0xd73d2f)?_0x42d12c(_0x6073c2):_0x42d12c;}async['outerHTML'](_0x5228fe){const _0x2ccec3={_0xbe9aed:0x119,_0x20af85:0xfe,_0x42b5ed:0x16d,_0x1a0b88:0x125,_0x35910c:0x139,_0x3fddcc:0x146,_0x584096:0x127},_0x315952=_0x46b388;this[_0x315952(0x170)](_0x315952(_0x2ccec3._0xbe9aed),[_0x5228fe]);if(_0x5228fe[_0x315952(_0x2ccec3._0x20af85)]['length']===0x1&&_0x5228fe['steps'][0x0][_0x315952(0x169)]===_0x315952(_0x2ccec3._0x42b5ed)){const _0x5dcf3e=_0x5228fe[_0x315952(0xfe)][0x0][_0x315952(_0x2ccec3._0x42b5ed)];return this['behavior'][_0x315952(_0x2ccec3._0x1a0b88)]?.[_0x5dcf3e]??_0x315952(_0x2ccec3._0x35910c)+_0x5dcf3e+_0x315952(_0x2ccec3._0x3fddcc);}return _0x315952(_0x2ccec3._0x584096);}},FakeContext=class{constructor(_0x1b7813,_0x49bafa,_0x3fc97a){const _0x16cce2={_0x5d33d9:0x15b,_0x123f7b:0x142,_0x1ff43d:0x164,_0x3f2283:0x126,_0x5d9345:0x108},_0x59ad99={_0x323dcf:0x122},_0x483f40=_0x46b388;this[_0x483f40(_0x16cce2._0x5d33d9)]=_0x1b7813,this['behavior']=_0x49bafa,this[_0x483f40(_0x16cce2._0x123f7b)]=_0x3fc97a;const _0x5f09c7=new FakePage(_0x1b7813,_0x49bafa,_0x3fc97a+'.page0',_0x49bafa['initialUrl']??_0x483f40(0x12a));_0x49bafa[_0x483f40(0x168)]&&(_0x5f09c7[_0x483f40(0x11f)]=()=>{const _0x44bfb9=_0x483f40;this[_0x44bfb9(_0x59ad99._0x323dcf)](_0x49bafa['popupOnClick']);}),this[_0x483f40(_0x16cce2._0x1ff43d)]=[_0x5f09c7],this[_0x483f40(_0x16cce2._0x3f2283)]={..._0x49bafa[_0x483f40(_0x16cce2._0x5d9345)]??{}},this['cookieState']={..._0x49bafa['cookies']??{}};}['recorder'];['behavior'];[_0x46b388(0x142)];static{__name(this,'FakeContext');}[_0x46b388(0x164)];[_0x46b388(0x10e)]=0x0;[_0x46b388(0x13d)]=[];['localStorageState'];[_0x46b388(0x107)];[_0x46b388(0x16b)]=new Set();[_0x46b388(0x170)](_0x2ed94b,_0x2ce587){const _0x8c3370={_0x1ca895:0x15b,_0x2bde07:0x142},_0x74a83a=_0x46b388;this[_0x74a83a(_0x8c3370._0x1ca895)][_0x74a83a(0x157)]({'scope':this[_0x74a83a(_0x8c3370._0x2bde07)],'method':_0x2ed94b,'args':_0x2ce587});}[_0x46b388(0x120)](){const _0x59dcfc=_0x46b388;return this[_0x59dcfc(0x164)];}['activePage'](){const _0x393ae3={_0xda6ae0:0x10e,_0x4b3b85:0x10e},_0x2c2000=_0x46b388,_0x5c373f=this[_0x2c2000(0x164)][this[_0x2c2000(_0x393ae3._0xda6ae0)]];if(!_0x5c373f)throw new DriverError(_0x2c2000(0x154),{'activeIdx':this[_0x2c2000(_0x393ae3._0x4b3b85)]});return _0x5c373f;}['consoleEntries'](){const _0x1185ca={_0x5776fb:0x132,_0x5436ca:0x166},_0x478c21=_0x46b388;return this[_0x478c21(_0x1185ca._0x5776fb)][_0x478c21(_0x1185ca._0x5436ca)]??[];}[_0x46b388(0x130)](){const _0x518a1b={_0x3fa7cd:0x130},_0x36fa14=_0x46b388;return this[_0x36fa14(0x132)][_0x36fa14(_0x518a1b._0x3fa7cd)]??[];}async[_0x46b388(0x148)](_0x510b91){const _0x4e93a6={_0x259440:0x170,_0x2602d5:0x148,_0x3f8b6f:0x12b},_0xab73f2=_0x46b388;this[_0xab73f2(_0x4e93a6._0x259440)](_0xab73f2(_0x4e93a6._0x2602d5),[_0x510b91]);if(_0x510b91<0x0||_0x510b91>=this[_0xab73f2(0x164)]['length'])throw new DriverError(_0xab73f2(_0x4e93a6._0x3f8b6f),{'index':_0x510b91,'available':this['pageList']['length']});this[_0xab73f2(0x10e)]=_0x510b91,this[_0xab73f2(0x13d)]['length']=0x0;}['onNewPage'](_0x40c4ed){const _0x263117=_0x46b388;return subscribe(this[_0x263117(0x16b)],_0x40c4ed);}[_0x46b388(0x122)](_0x4c391c){const _0x28d0bf={_0x5f4018:0x142,_0x47b171:0xf9,_0x40e6a7:0x12c,_0xa435f8:0x15b,_0xf52e43:0x157},_0x615e61=_0x46b388,_0x51ff04=this[_0x615e61(_0x28d0bf._0x5f4018)]+_0x615e61(_0x28d0bf._0x47b171)+this['pageList'][_0x615e61(_0x28d0bf._0x40e6a7)],_0x33111a=new FakePage(this[_0x615e61(_0x28d0bf._0xa435f8)],this[_0x615e61(0x132)],_0x51ff04,_0x4c391c);this[_0x615e61(0x164)][_0x615e61(_0x28d0bf._0xf52e43)](_0x33111a);const _0x366d85=this[_0x615e61(0x164)][_0x615e61(0x12c)]-0x1;for(const _0x5caf51 of this[_0x615e61(0x16b)]){try{_0x5caf51({'index':_0x366d85,'url':_0x4c391c});}catch{}}return _0x366d85;}[_0x46b388(0x158)](_0x4d7635){const _0x24ad54={_0xbe472c:0x164,_0x1caf0f:0x12c},_0x35fc9b=_0x46b388;if(_0x4d7635<0x0||_0x4d7635>=this[_0x35fc9b(_0x24ad54._0xbe472c)][_0x35fc9b(_0x24ad54._0x1caf0f)])throw new DriverError(_0x35fc9b(0x12b),{'index':_0x4d7635,'available':this[_0x35fc9b(_0x24ad54._0xbe472c)][_0x35fc9b(0x12c)]});this[_0x35fc9b(0x164)][_0x35fc9b(0x140)](_0x4d7635,0x1);}async[_0x46b388(0x153)](_0x39f4b4){const _0x5eb83a={_0x452cf7:0x153,_0x3ed154:0xfe},_0x1026d3=_0x46b388;this['record'](_0x1026d3(_0x5eb83a._0x452cf7),[_0x39f4b4]);if(!_0x39f4b4[_0x1026d3(_0x5eb83a._0x3ed154)]['length'])throw new LocatorError('enterFrame\x20called\x20with\x20empty\x20locator',{'locator':_0x39f4b4});this['frameStack'][_0x1026d3(0x157)](_0x39f4b4);}async['exitFrame'](){const _0x36d96b={_0x54752a:0x100,_0x36aaae:0x13d},_0x39b16c=_0x46b388;this[_0x39b16c(0x170)](_0x39b16c(_0x36d96b._0x54752a),[]);if(this[_0x39b16c(0x13d)]['length']===0x0)throw new DriverError('exitFrame\x20called\x20with\x20no\x20frame\x20on\x20the\x20stack',{});this[_0x39b16c(_0x36d96b._0x36aaae)][_0x39b16c(0x14d)]();}async[_0x46b388(0x10a)](_0x59057c,_0x156647){const _0x124a0e=_0x46b388;this[_0x124a0e(0x170)]('setLocalStorage',[_0x59057c,_0x156647]),this[_0x124a0e(0x126)][_0x59057c]=_0x156647;}async['getLocalStorage'](_0x222a65){const _0x1945d5={_0x31da6e:0x126},_0x33b51a=_0x46b388;return this['record'](_0x33b51a(0x102),[_0x222a65]),this[_0x33b51a(_0x1945d5._0x31da6e)][_0x222a65]??null;}async[_0x46b388(0x103)](_0x3d497e,_0x59281d,_0x335302){const _0xffd692={_0x3e2728:0x103},_0x4f60e6=_0x46b388;this[_0x4f60e6(0x170)](_0x4f60e6(_0xffd692._0x3e2728),[_0x3d497e,_0x59281d,_0x335302]),this[_0x4f60e6(0x107)][_0x3d497e]=_0x59281d;}async[_0x46b388(0x14c)](_0x53ea6d){const _0xe2e1f0={_0x437b9a:0x107},_0x356815=_0x46b388;return this[_0x356815(0x170)]('getCookie',[_0x53ea6d]),this[_0x356815(_0xe2e1f0._0x437b9a)][_0x53ea6d]??null;}async['saveStorageState'](_0x3176be){const _0x2b50a0={_0x1baed8:0x12d},_0x25503e=_0x46b388;this[_0x25503e(0x170)](_0x25503e(_0x2b50a0._0x1baed8),[_0x3176be]);}async[_0x46b388(0xf8)](_0x24f6f4){const _0x1da5d6={_0x6d96b2:0x170,_0x3b5f8e:0xf8},_0x54108e=_0x46b388;return this[_0x54108e(_0x1da5d6._0x6d96b2)](_0x54108e(_0x1da5d6._0x3b5f8e),[_0x24f6f4]),void 0x0;}async[_0x46b388(0x105)](){const _0x4fd6e4=_0x46b388;this[_0x4fd6e4(0x170)]('close',[]);}['frameDepth'](){const _0x43db74={_0x312194:0x12c},_0x425909=_0x46b388;return this[_0x425909(0x13d)][_0x425909(_0x43db74._0x312194)];}},FakeWebDriver=class{constructor(_0x5cf2e3={}){const _0x48def5={_0x1f022f:0x15b},_0x310e41=_0x46b388;this[_0x310e41(0x132)]=_0x5cf2e3,this[_0x310e41(_0x48def5._0x1f022f)]=createRecorder();}['behavior'];static{__name(this,_0x46b388(0x110));}[_0x46b388(0x121)]=![];[_0x46b388(0x15b)];[_0x46b388(0x161)]=[];async[_0x46b388(0x137)](_0x1d6eaa){const _0x5bee0f={_0x380271:0x15b,_0x3b177d:0x157,_0x20ebe7:0xff},_0x12f900=_0x46b388;this[_0x12f900(_0x5bee0f._0x380271)][_0x12f900(_0x5bee0f._0x3b177d)]({'scope':_0x12f900(_0x5bee0f._0x20ebe7),'method':'launch','args':[_0x1d6eaa]}),this['launched']=!![];}async[_0x46b388(0x14f)](_0xa248f9){const _0xd2f275={_0x1848f4:0x14f,_0x14a146:0x16f,_0x299c51:0x162,_0x5ab702:0x161},_0x1664a1=_0x46b388;this[_0x1664a1(0x15b)][_0x1664a1(0x157)]({'scope':_0x1664a1(0xff),'method':_0x1664a1(_0xd2f275._0x1848f4),'args':[_0xa248f9]});if(!this[_0x1664a1(0x121)])throw new DriverError(_0x1664a1(_0xd2f275._0x14a146),{});const _0x200772=new FakeContext(this[_0x1664a1(0x15b)],this[_0x1664a1(0x132)],_0x1664a1(_0xd2f275._0x299c51)+this[_0x1664a1(_0xd2f275._0x5ab702)][_0x1664a1(0x12c)]);return this[_0x1664a1(_0xd2f275._0x5ab702)][_0x1664a1(0x157)](_0x200772),_0x200772;}async[_0x46b388(0x105)](){const _0x5a6c8b={_0x38c232:0x15b,_0x83487b:0x105},_0x1b3e49=_0x46b388;this[_0x1b3e49(_0x5a6c8b._0x38c232)]['push']({'scope':'driver','method':_0x1b3e49(_0x5a6c8b._0x83487b),'args':[]}),this[_0x1b3e49(0x121)]=![];}['wsEndpoint'](){return void 0x0;}async[_0x46b388(0x165)](){const _0x5c88a9=_0x46b388;throw new DriverError(_0x5c88a9(0x117),{});}[_0x46b388(0x11c)](_0x3e263f){throw new DriverError('attachExisting\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0x46b388(0x109)](){return this['recorder']['calls']();}[_0x46b388(0x124)](_0x5a0361){const _0x12a49f={_0x377218:0x109},_0x1ae154=_0x46b388;return this[_0x1ae154(0x15b)][_0x1ae154(_0x12a49f._0x377218)]()[_0x1ae154(0x106)](_0x26b38d=>_0x26b38d[_0x1ae154(0x160)]===_0x5a0361);}};export{FakeWebDriver};
|