@unotest/web 0.23.0 → 0.25.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,200 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.25.0] - 2026-08-29
4
+
5
+ ### Minor Changes
6
+
7
+ - adb9d72: Viewer: a pinned Home tab, a multi-row tab strip, and live tiles.
8
+
9
+ The viewer ships with `@unotest/web` and opens via `npx @unotest/web viewer`,
10
+ so the change lands here too. The project-health overview used to render
11
+ only when no tab was open — it disappeared exactly while you were working.
12
+ It is now a pinned first tab: always present, never closable, and where
13
+ "Close All" leaves you. The tab strip wraps into up to three rows instead
14
+ of scrolling sideways, tabs are pills (middle-click closes, `⋮` opens the
15
+ right-click actions), and the strip is a proper `tablist` for screen
16
+ readers. A scenario running right now breathes on the overview field: the
17
+ tile fades under a warm ring, still when paused. Full notes in
18
+ `@unotest/viewer`'s changelog.
19
+
20
+ - 70f2e11: Judge: provider edge cases, a startup preflight, and logs.
21
+
22
+ **Vertex `GOOGLE_CLOUD_LOCATION=global` could not work.** The endpoint was
23
+ built as `https://<location>-aiplatform.googleapis.com`, so `global` asked
24
+ `global-aiplatform.googleapis.com` — not a Vertex host. Google's edge
25
+ answered 404 with an HTML page, which arrived as "model not found". The
26
+ global endpoint has no region prefix; it is now special-cased. `global` is
27
+ the default in Google's own docs, so this was the first thing a Vertex user
28
+ hit. A model id containing a slash
29
+ (`publishers/anthropic/models/claude-haiku-4-5`) is now passed through
30
+ instead of being forced under `publishers/google`, and a pasted
31
+ `models/gemini-2.5-flash` no longer doubles the prefix on the Gemini API.
32
+
33
+ **Backend replies are classified instead of lumped together.**
34
+
35
+ - `401`/`403` → `config` with the variable to fix (`OPENAI_API_KEY`, ADC,
36
+ an expired `UNOTEST_JUDGE_ACCESS_TOKEN`), no longer indistinguishable
37
+ from a model fault.
38
+ - `429` and `5xx` → retried transparently with a short backoff that
39
+ honours `Retry-After`. A single rate limit used to kill a whole scenario.
40
+ The retry policy is a decorator over `JudgeProvider`, not a loop inside
41
+ the HTTP helper, so it covers every provider — `claude` spawns a process
42
+ and therefore had no re-send at all. A `claude` usage limit is
43
+ deliberately still reported rather than retried: the window is seconds,
44
+ the limit is not.
45
+ - A non-JSON error body says the endpoint is wrong rather than quoting an
46
+ HTML page back as the backend's opinion of the model. The body is kept
47
+ for `debug` logging.
48
+ - OpenAI `finish_reason: length` and Anthropic `stop_reason: max_tokens`
49
+ are named as token-limit truncation instead of surfacing as "did not
50
+ reply with the requested JSON verdict".
51
+ - The verdict parser accepts `"PASS"` and a JSON object embedded in prose —
52
+ providers without a JSON mode do both.
53
+
54
+ **`UNOTEST_JUDGE_VOTE=N` no longer fails on one bad ballot.** The N calls
55
+ ran under `Promise.all`, so voting — the reliability feature — tripled the
56
+ chance that one transient error killed the request. Errored ballots are now
57
+ dropped as long as a majority of the N calls still voted; a tie among the
58
+ survivors re-raises the failure rather than picking a side.
59
+
60
+ **The service checks its credentials before it says "listening".** Each
61
+ provider exposes a free probe (an ADC token exchange, `GET /models`,
62
+ `claude --version`) — no model call, no cost. A failing probe prints the
63
+ reason and exits non-zero (`UNOTEST_JUDGE_SKIP_PREFLIGHT=1` waives it), and
64
+ `npx @unotest/judge --check` runs just the probe for start scripts.
65
+ `GET /health` reports the same thing instead of an unconditional
66
+ `{"ok":true}`: `503` + `{"ok":false,"code":"config","error":"..."}`, cached
67
+ for a few seconds. The waiver covers the startup gate only — a service
68
+ started under it still answers `/health` from a real probe, and `--check`
69
+ still answers honestly, because the operator who reaches for the flag is
70
+ precisely the one whose credentials are dead. A static
71
+ `UNOTEST_JUDGE_ACCESS_TOKEN` is validated too, against Google's free
72
+ `tokeninfo`: those tokens live about an hour and refresh themselves never,
73
+ so "valid at startup" is a different question from "valid now".
74
+
75
+ ADC that expires on a daily reauth policy is a normal morning state, not a
76
+ one-off misconfiguration — it should not cost a five-minute run to
77
+ discover.
78
+
79
+ **New: `UNOTEST_JUDGE_LOG_LEVEL`** (falls back to the `UNOTEST_LOG_LEVEL`
80
+ `@unotest/web` already reads). At the default `info`, one line per judged
81
+ request — verdict, attempts, model, latency — with errors on stderr; a run
82
+ of 21 assertions with `VOTE=3` is 63 billed model calls that previously
83
+ left no trace. At `debug`, per call: the effective prompt (rubric
84
+ **including** any `UNOTEST_JUDGE_PREAMBLE`), each ballot with its
85
+ reasoning, and the raw provider reply. **The judged text is application
86
+ content** — debug writes it to stdout verbatim, which is why it is opt-in
87
+ and never the default.
88
+
89
+ An oversized request body now returns `413` with a reason; the socket used
90
+ to be destroyed while the client was still writing, so the client saw
91
+ `socket hang up`.
92
+
93
+ **`@unotest/web`:** the `judge:verdict` run artifact records `preamble`
94
+ beside `rubric` when one is set. The model saw the concatenation, but only
95
+ the split says which half came from the scenario and which from the
96
+ environment — without it, "a red step is explainable without a re-run" held
97
+ only for whoever also knew the env file. A judge request that outlives
98
+ `UNOTEST_JUDGE_TIMEOUT_MS` now says so, and names the service-side
99
+ `UNOTEST_JUDGE_CALL_TIMEOUT_MS` it may be racing.
100
+
101
+ The Claude CLI provider also stopped leaking a timer: the per-call budget
102
+ is now our own timer, cleared on every exit path. `child_process.spawn`'s
103
+ `timeout` option does not clear itself when the spawn fails, so a missing
104
+ binary held the event loop for the whole budget — 15s for a `--version`
105
+ probe, 120s for a verdict.
106
+
107
+ **Breaking (0.x minor):** `@unotest/judge` no longer exports `ExecFileFn` /
108
+ `ExecFileResult`; the Claude CLI provider takes `runImpl: RunProcess`
109
+ instead of `execImpl`, because the prompt moved from `argv` to stdin — a
110
+ long judged text used to overflow `ARG_MAX` and fail as a bare `E2BIG`.
111
+
112
+ ### Patch Changes
113
+
114
+ - Updated dependencies [70f2e11]
115
+ - Updated dependencies [adb9d72]
116
+ - @unotest/protocol@0.25.0
117
+ - @unotest/viewer@0.25.0
118
+ - @unotest/core@0.25.0
119
+ - @unotest/dsl@0.25.0
120
+ - @unotest/grounder-client@0.25.0
121
+
122
+ ## [0.24.0] - 2026-08-26
123
+
124
+ ### Minor Changes
125
+
126
+ - Judge: rendered text, one env namespace, preamble and majority vote.
127
+
128
+ **Breaking (judge env, no aliases).** Every `JUDGE_*` variable of the
129
+ `@unotest/judge` service is now `UNOTEST_JUDGE_*`, matching the client-side
130
+ names `@unotest/web` already used. `@unotest/judge` shipped a day before
131
+ this change with no known installs outside the monorepo, so the rename lands
132
+ without a deprecation window — the window would never be cheaper. Migration:
133
+
134
+ | Old | New |
135
+ | --------------------------- | ------------------------------------------- |
136
+ | `JUDGE_PROVIDER` | `UNOTEST_JUDGE_PROVIDER` |
137
+ | `JUDGE_MODEL` | `UNOTEST_JUDGE_MODEL` |
138
+ | `JUDGE_RETRIES` | `UNOTEST_JUDGE_RETRIES` |
139
+ | `JUDGE_TIMEOUT_MS` | `UNOTEST_JUDGE_CALL_TIMEOUT_MS` |
140
+ | `JUDGE_ACCESS_TOKEN` | `UNOTEST_JUDGE_ACCESS_TOKEN` |
141
+ | `JUDGE_CLAUDE_BIN` | `UNOTEST_JUDGE_CLAUDE_BIN` |
142
+ | `JUDGE_HOST` / `JUDGE_PORT` | `UNOTEST_JUDGE_HOST` / `UNOTEST_JUDGE_PORT` |
143
+ | `JUDGE_TOKEN` | `UNOTEST_JUDGE_TOKEN` |
144
+
145
+ Two names were deliberately not a straight prefixing. The service's per-call
146
+ budget became `UNOTEST_JUDGE_CALL_TIMEOUT_MS` because `UNOTEST_JUDGE_TIMEOUT_MS`
147
+ was already taken by the client's whole-request budget — same family, different
148
+ question. And the service's bearer token merged into the client's
149
+ `UNOTEST_JUDGE_TOKEN`: it is one secret, and in a shared overlay the two ends
150
+ have to carry the same value anyway.
151
+
152
+ **Behavioral fix: rendered text.** `assertJudge` and the DSL query
153
+ `getInnerText(loc)` now read `innerText`, not `textContent`. Both promised
154
+ rendered text and delivered the raw source-order concatenation: line breaks
155
+ gone, `display:none` subtrees and `<script>` contents folded in. A rubric
156
+ about structure ("the answer is three bullets") was unjudgeable, and
157
+ `getInnerText` returned text no user can see. Scenarios that relied on
158
+ hidden text reaching these two functions will now see it excluded.
159
+
160
+ **Vertex fixes.** `google-auth-library` moved from optional peer to a regular
161
+ dependency: as a peer it did not resolve under `npx @unotest/judge` at all,
162
+ which broke the advertised keyless path for anyone who never installs the
163
+ package locally. It is still loaded lazily, so non-vertex runs pay nothing.
164
+ Expired Application Default Credentials now produce
165
+ "run `gcloud auth application-default login`" instead of a raw Google OAuth
166
+ blob, read off the structured response body rather than message text.
167
+
168
+ **New: `UNOTEST_JUDGE_PREAMBLE`** (web side) — text prepended to every rubric
169
+ in the project, for standing context ("the app under test is a support bot,
170
+ Russian UI") that would otherwise be copy-pasted into each rubric. It applies
171
+ in both local and remote mode; a remote judge stays project-agnostic.
172
+
173
+ **New: `UNOTEST_JUDGE_VOTE=N`** (service side, odd N, default 1 = off) — N
174
+ independent calls decided by majority. It replaces `UNOTEST_JUDGE_RETRIES`
175
+ rather than stacking with it: re-asking is a deliberate bias toward `pass`,
176
+ a vote is deliberately symmetric, and running both would quietly restore the
177
+ bias the vote was chosen to remove. Ballots run concurrently, so a vote costs
178
+ N provider calls but roughly one call of wall-clock.
179
+
180
+ **Wire protocol.** New error code `config` on the judge's error responses:
181
+ the service's own setup is broken (bad env, expired credentials) and the
182
+ message carries the fix. `@unotest/web` surfaces it as a `ConfigError`
183
+ instead of burying it as a generic "judge unavailable" fault.
184
+
185
+ ### Patch Changes
186
+
187
+ - 1622687: assertJudge local mode: the "needs @unotest/judge installed" ConfigError
188
+ now appends the real import failure cause — a half-built dist failed the
189
+ same way and read as a phantom install problem. Also: the viewer
190
+ run-from-ui dogfood scenario accepts history's run-length collapse row.
191
+ - Updated dependencies
192
+ - @unotest/protocol@0.24.0
193
+ - @unotest/viewer@0.24.0
194
+ - @unotest/core@0.24.0
195
+ - @unotest/dsl@0.24.0
196
+ - @unotest/grounder-client@0.24.0
197
+
3
198
  ## [0.23.0] - 2026-08-26
4
199
 
5
200
  ### Minor Changes
@@ -1 +1 @@
1
- var _0x3673c0=_0x4f94;(function(_0x108810,_0x3506b1){var _0x4d02c6={_0xb476f8:0x84,_0x547eb5:0x79,_0xaec624:0xa7,_0x1904d8:0x98,_0x3d1342:0x9a,_0x1a714f:0x7b,_0x43fb23:0xa3},_0x344411=_0x4f94,_0xbfd4bc=_0x108810();while(!![]){try{var _0x5286e4=-parseInt(_0x344411(_0x4d02c6._0xb476f8))/0x1*(-parseInt(_0x344411(_0x4d02c6._0x547eb5))/0x2)+-parseInt(_0x344411(_0x4d02c6._0xaec624))/0x3+parseInt(_0x344411(_0x4d02c6._0x1904d8))/0x4*(-parseInt(_0x344411(_0x4d02c6._0x3d1342))/0x5)+-parseInt(_0x344411(0x8f))/0x6*(-parseInt(_0x344411(0xa5))/0x7)+parseInt(_0x344411(0x93))/0x8+parseInt(_0x344411(_0x4d02c6._0x1a714f))/0x9+-parseInt(_0x344411(_0x4d02c6._0x43fb23))/0xa;if(_0x5286e4===_0x3506b1)break;else _0xbfd4bc['push'](_0xbfd4bc['shift']());}catch(_0x45ec70){_0xbfd4bc['push'](_0xbfd4bc['shift']());}}}(_0x897c,0xa8a61));function _0x4f94(_0x485474,_0x441643){_0x485474=_0x485474-0x72;var _0x897c4a=_0x897c();var _0x4f9480=_0x897c4a[_0x485474];if(_0x4f94['Oattsn']===undefined){var _0x2e3b94=function(_0x3dc307){var _0x1f276e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3e9ae9='',_0x4409e7='';for(var _0x26e833=0x0,_0x5651e9,_0x56296d,_0x58bc46=0x0;_0x56296d=_0x3dc307['charAt'](_0x58bc46++);~_0x56296d&&(_0x5651e9=_0x26e833%0x4?_0x5651e9*0x40+_0x56296d:_0x56296d,_0x26e833++%0x4)?_0x3e9ae9+=String['fromCharCode'](0xff&_0x5651e9>>(-0x2*_0x26e833&0x6)):0x0){_0x56296d=_0x1f276e['indexOf'](_0x56296d);}for(var _0x46e738=0x0,_0x37cbb4=_0x3e9ae9['length'];_0x46e738<_0x37cbb4;_0x46e738++){_0x4409e7+='%'+('00'+_0x3e9ae9['charCodeAt'](_0x46e738)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4409e7);};_0x4f94['DSPlCk']=_0x2e3b94,_0x4f94['uRCphd']={},_0x4f94['Oattsn']=!![];}var _0x38613d=_0x897c4a[0x0],_0x199f5c=_0x485474+_0x38613d,_0x1fab64=_0x4f94['uRCphd'][_0x199f5c];return!_0x1fab64?(_0x4f9480=_0x4f94['DSPlCk'](_0x4f9480),_0x4f94['uRCphd'][_0x199f5c]=_0x4f9480):_0x4f9480=_0x1fab64,_0x4f9480;}import{z}from'zod';var BrowserSchema=z[_0x3673c0(0xab)]([_0x3673c0(0xa9),_0x3673c0(0xa1),'webkit']),BrowserChannelSchema=z[_0x3673c0(0x87)]([z[_0x3673c0(0x8b)]('chrome'),z[_0x3673c0(0x8b)](_0x3673c0(0x86)),z[_0x3673c0(0x8b)]('chrome-beta'),z[_0x3673c0(0x82)]()])[_0x3673c0(0x94)](),ViewportSchema=z[_0x3673c0(0xa8)]({'width':z[_0x3673c0(0xae)]()[_0x3673c0(0x85)]()['positive'](),'height':z['number']()['int']()['positive']()}),RetryReasonSchema=z[_0x3673c0(0xab)](['transient','network','crash']),RetryConfigSchema=z['object']({'count':z[_0x3673c0(0xae)]()[_0x3673c0(0x85)]()[_0x3673c0(0x88)](0x0)[_0x3673c0(0xaf)](0xa),'on':z[_0x3673c0(0xac)](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x3673c0(0xa8)]({'tier1':z[_0x3673c0(0x8b)](!![])[_0x3673c0(0x83)](!![]),'tier2':z[_0x3673c0(0x77)](),'tier3':z[_0x3673c0(0xa8)]({'network':z['boolean'](),'video':z['boolean']()}),'retention':z[_0x3673c0(0xa8)]({'runs':z[_0x3673c0(0xae)]()[_0x3673c0(0x85)]()[_0x3673c0(0x7f)](),'days':z[_0x3673c0(0xae)]()[_0x3673c0(0x85)]()['positive']()}),'storageDir':z[_0x3673c0(0x78)]()[_0x3673c0(0x88)](0x1)}),DialogPolicySchema=z['enum']([_0x3673c0(0x80),'dismiss',_0x3673c0(0xa6)]),LinterRuleIdSchema=z['enum']([_0x3673c0(0x90),_0x3673c0(0x8d),_0x3673c0(0x96),'lint:pause-explicit',_0x3673c0(0x99),_0x3673c0(0x91),_0x3673c0(0x81),_0x3673c0(0x72),'lint:goto-concat',_0x3673c0(0x89),_0x3673c0(0x9f),'lint:api-call-file-body','lint:lint-ok-missing-reason',_0x3673c0(0x75),_0x3673c0(0x74),_0x3673c0(0xa2),_0x3673c0(0x9d),_0x3673c0(0x7e),'validator:step-shape',_0x3673c0(0xa0),_0x3673c0(0x9c),'validator:for-shape',_0x3673c0(0xa4),'validator:var-shape',_0x3673c0(0x8c),_0x3673c0(0x95),_0x3673c0(0x8a),_0x3673c0(0xaa),'validator:list-arg',_0x3673c0(0x76)]),LinterSeveritySchema=z[_0x3673c0(0xab)](['off',_0x3673c0(0x7a),'error']),LinterConfigSchema=z[_0x3673c0(0xa8)]({'enabled':z[_0x3673c0(0x77)](),'rules':z[_0x3673c0(0x92)](LinterRuleIdSchema,LinterSeveritySchema)}),McpConfigSchema=z[_0x3673c0(0xa8)]({'transport':z[_0x3673c0(0x8b)](_0x3673c0(0x9e))}),SandboxConfigSchema=z[_0x3673c0(0xa8)]({'shellCwd':z[_0x3673c0(0x78)]()['optional'](),'shellTimeoutMs':z['number']()['int']()[_0x3673c0(0x7f)]()[_0x3673c0(0x94)](),'exportSecrets':z['array'](z['string']())[_0x3673c0(0x94)](),'database':z[_0x3673c0(0x78)]()[_0x3673c0(0x94)](),'apiBaseUrl':z[_0x3673c0(0x78)]()[_0x3673c0(0x97)]()['optional'](),'uploadDir':z[_0x3673c0(0x78)]()[_0x3673c0(0x94)]()}),WebServerConfigSchema=z['object']({'command':z[_0x3673c0(0x78)]()['min'](0x1),'url':z[_0x3673c0(0x78)]()[_0x3673c0(0x97)](),'reuseExistingServer':z['boolean']()[_0x3673c0(0x83)](!![]),'timeoutMs':z[_0x3673c0(0xae)]()[_0x3673c0(0x85)]()[_0x3673c0(0x7f)]()[_0x3673c0(0x83)](0xea60)}),UnotestConfigSchema=z[_0x3673c0(0xa8)]({'baseUrl':z[_0x3673c0(0x78)]()[_0x3673c0(0x97)]()[_0x3673c0(0x94)](),'webServer':WebServerConfigSchema[_0x3673c0(0x94)](),'browsers':z[_0x3673c0(0xac)](BrowserSchema)[_0x3673c0(0x88)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x3673c0(0x78)]()[_0x3673c0(0x94)](),'testDir':z[_0x3673c0(0x78)]()[_0x3673c0(0x88)](0x1),'helpersDir':z[_0x3673c0(0x78)]()[_0x3673c0(0x88)](0x1),'defaultTimeoutMs':z[_0x3673c0(0xae)]()[_0x3673c0(0x85)]()[_0x3673c0(0x7f)](),'defaultNavigationTimeoutMs':z['number']()[_0x3673c0(0x85)]()[_0x3673c0(0x7f)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x3673c0(0xa9)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x3673c0(0xad)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x3673c0(0x9b)},'dialogPolicy':_0x3673c0(0x80),'testDir':_0x3673c0(0x8e),'helpersDir':_0x3673c0(0x7c),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x3673c0(0x7a),'lint:xpath':_0x3673c0(0x7a),'lint:obfuscated-class':'warn','lint:pause-explicit':'warn','lint:disambig-by-index':_0x3673c0(0x7d),'lint:evaluate-discouraged':_0x3673c0(0x7a),'lint:scenario-in-root':'error','lint:mustache-in-dsl':'error','lint:goto-concat':'warn','lint:regex-invalid':_0x3673c0(0x73),'lint:echo-assert':_0x3673c0(0x7a),'lint:lint-ok-missing-reason':_0x3673c0(0x7a),'lint:flow-returns-value':'warn','validator:unknown-function':'error'}},'mcp':{'transport':_0x3673c0(0x9e)},'sandbox':{}};function _0x897c(){var _0x813d53=['BwfUDwfS','nZyZmZy4qwLmD2LM','B2jQzwn0','y2HYB21PDw0','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','zw51Bq','yxjYyxK','DhjHBNnPzw50','BNvTyMvY','Bwf4','BgLUDdPTDxn0ywnOzs1PBI1KC2W','zxjYB3i','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','yM9VBgvHBG','C3rYAw5N','mM5ZrKn5BG','D2fYBG','nJa1ndeZohL3sKTcza','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','B2zM','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','Cg9ZAxrPDMu','ywnJzxb0','BgLUDdPZy2vUyxjPBY1PBI1YB290','BNvSBa','zgvMyxvSDa','ntG5nJC4r2TwyvbK','Aw50','BxnLzgDL','Dw5PB24','BwLU','BgLUDdPYzwDLEc1PBNzHBgLK','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','BgL0zxjHBa','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','BgLUDdP4Cgf0Aa','Dw5VDgvZDc9LmMu','mJrcDMP4u2y','BgLUDdPKzwvWlwnZCW','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','CMvJB3jK','otuXnte5mNfYqwDAua','B3b0Aw9UywW','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','DxjS','mJeYz0Dnz3rx','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','mte1nJe1uM5ZB3Hl','lNvUB3rLC3qVzMfPBhvYzxm','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','DMfSAwrHDg9YoMfYzY1RAw5K','C3rKAw8','BgLUDdPLy2HVlwfZC2vYDa','DMfSAwrHDg9YoM1LDgeTC2HHCgu','zMLYzwzVEa','DMfSAwrHDg9YoMfYAxr5','mtm5ntGYmZbtrNDYrNC','DMfSAwrHDg9YoMLMlxnOyxbL','mtK1mdK0mKT5y1DHzW'];_0x897c=function(){return _0x813d53;};return _0x897c();}export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
1
+ var _0x17baec=_0x1bc8;(function(_0x350fe5,_0x1dd858){var _0x286110={_0x1a38ff:0x110,_0xd42cbe:0xe6,_0x467426:0x10e,_0x5ec3a4:0x109,_0x3d5261:0xf8,_0x1425ba:0xf2,_0x4bb9c8:0x11d,_0x22ed6a:0xf7},_0xa9b00e=_0x1bc8,_0x1d8761=_0x350fe5();while(!![]){try{var _0x28d445=parseInt(_0xa9b00e(_0x286110._0x1a38ff))/0x1*(-parseInt(_0xa9b00e(_0x286110._0xd42cbe))/0x2)+-parseInt(_0xa9b00e(_0x286110._0x467426))/0x3*(parseInt(_0xa9b00e(0xef))/0x4)+parseInt(_0xa9b00e(_0x286110._0x5ec3a4))/0x5+-parseInt(_0xa9b00e(_0x286110._0x3d5261))/0x6+-parseInt(_0xa9b00e(0xf0))/0x7*(parseInt(_0xa9b00e(_0x286110._0x1425ba))/0x8)+-parseInt(_0xa9b00e(_0x286110._0x4bb9c8))/0x9*(-parseInt(_0xa9b00e(0x11c))/0xa)+parseInt(_0xa9b00e(0xed))/0xb*(parseInt(_0xa9b00e(_0x286110._0x22ed6a))/0xc);if(_0x28d445===_0x1dd858)break;else _0x1d8761['push'](_0x1d8761['shift']());}catch(_0x7489bc){_0x1d8761['push'](_0x1d8761['shift']());}}}(_0x30f9,0x86908));function _0x1bc8(_0x523303,_0x477656){_0x523303=_0x523303-0xe0;var _0x30f964=_0x30f9();var _0x1bc80b=_0x30f964[_0x523303];if(_0x1bc8['fROSgj']===undefined){var _0x2659a1=function(_0x322809){var _0x2079f6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2fd026='',_0x2e085c='';for(var _0x22b087=0x0,_0x3e4599,_0xb6df33,_0x27cc01=0x0;_0xb6df33=_0x322809['charAt'](_0x27cc01++);~_0xb6df33&&(_0x3e4599=_0x22b087%0x4?_0x3e4599*0x40+_0xb6df33:_0xb6df33,_0x22b087++%0x4)?_0x2fd026+=String['fromCharCode'](0xff&_0x3e4599>>(-0x2*_0x22b087&0x6)):0x0){_0xb6df33=_0x2079f6['indexOf'](_0xb6df33);}for(var _0x402e8a=0x0,_0x448e19=_0x2fd026['length'];_0x402e8a<_0x448e19;_0x402e8a++){_0x2e085c+='%'+('00'+_0x2fd026['charCodeAt'](_0x402e8a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2e085c);};_0x1bc8['TYZSEc']=_0x2659a1,_0x1bc8['kREMdJ']={},_0x1bc8['fROSgj']=!![];}var _0x56e031=_0x30f964[0x0],_0x3171cb=_0x523303+_0x56e031,_0x2aef2c=_0x1bc8['kREMdJ'][_0x3171cb];return!_0x2aef2c?(_0x1bc80b=_0x1bc8['TYZSEc'](_0x1bc80b),_0x1bc8['kREMdJ'][_0x3171cb]=_0x1bc80b):_0x1bc80b=_0x2aef2c,_0x1bc80b;}import{z}from'zod';var BrowserSchema=z[_0x17baec(0x106)]([_0x17baec(0x11e),_0x17baec(0xe4),_0x17baec(0xfb)]),BrowserChannelSchema=z[_0x17baec(0x122)]([z['literal'](_0x17baec(0x10a)),z['literal'](_0x17baec(0x11f)),z[_0x17baec(0xf5)]('chrome-beta'),z['null']()])[_0x17baec(0xf6)](),ViewportSchema=z[_0x17baec(0x10c)]({'width':z['number']()[_0x17baec(0xe5)]()[_0x17baec(0xfa)](),'height':z['number']()['int']()['positive']()}),RetryReasonSchema=z[_0x17baec(0x106)]([_0x17baec(0x120),'network',_0x17baec(0xeb)]),RetryConfigSchema=z[_0x17baec(0x10c)]({'count':z[_0x17baec(0x112)]()[_0x17baec(0xe5)]()['min'](0x0)[_0x17baec(0xf3)](0xa),'on':z['array'](RetryReasonSchema)}),FailureBundleConfigSchema=z[_0x17baec(0x10c)]({'tier1':z[_0x17baec(0xf5)](!![])[_0x17baec(0x113)](!![]),'tier2':z[_0x17baec(0x102)](),'tier3':z['object']({'network':z[_0x17baec(0x102)](),'video':z[_0x17baec(0x102)]()}),'retention':z[_0x17baec(0x10c)]({'runs':z[_0x17baec(0x112)]()[_0x17baec(0xe5)]()['positive'](),'days':z[_0x17baec(0x112)]()[_0x17baec(0xe5)]()[_0x17baec(0xfa)]()}),'storageDir':z[_0x17baec(0xfd)]()[_0x17baec(0x121)](0x1)}),DialogPolicySchema=z[_0x17baec(0x106)]([_0x17baec(0x101),_0x17baec(0xf4),_0x17baec(0xe9)]),LinterRuleIdSchema=z[_0x17baec(0x106)]([_0x17baec(0x104),'lint:xpath',_0x17baec(0x107),_0x17baec(0xe7),_0x17baec(0x10d),_0x17baec(0xf9),_0x17baec(0x118),_0x17baec(0xe8),'lint:goto-concat',_0x17baec(0xe1),_0x17baec(0xff),_0x17baec(0xfc),'lint:lint-ok-missing-reason',_0x17baec(0x105),_0x17baec(0x119),_0x17baec(0x103),_0x17baec(0x116),_0x17baec(0xfe),_0x17baec(0x10b),'validator:meta-shape',_0x17baec(0x10f),_0x17baec(0x115),'validator:if-shape','validator:var-shape',_0x17baec(0x11b),_0x17baec(0xea),_0x17baec(0x108),_0x17baec(0x114),_0x17baec(0xec),_0x17baec(0x100)]),LinterSeveritySchema=z[_0x17baec(0x106)]([_0x17baec(0x117),'warn','error']),LinterConfigSchema=z[_0x17baec(0x10c)]({'enabled':z[_0x17baec(0x102)](),'rules':z['record'](LinterRuleIdSchema,LinterSeveritySchema)}),McpConfigSchema=z[_0x17baec(0x10c)]({'transport':z[_0x17baec(0xf5)](_0x17baec(0x111))}),SandboxConfigSchema=z[_0x17baec(0x10c)]({'shellCwd':z[_0x17baec(0xfd)]()[_0x17baec(0xf6)](),'shellTimeoutMs':z[_0x17baec(0x112)]()['int']()[_0x17baec(0xfa)]()[_0x17baec(0xf6)](),'exportSecrets':z['array'](z[_0x17baec(0xfd)]())[_0x17baec(0xf6)](),'database':z['string']()[_0x17baec(0xf6)](),'apiBaseUrl':z[_0x17baec(0xfd)]()[_0x17baec(0xf1)]()[_0x17baec(0xf6)](),'uploadDir':z[_0x17baec(0xfd)]()['optional']()}),WebServerConfigSchema=z[_0x17baec(0x10c)]({'command':z[_0x17baec(0xfd)]()[_0x17baec(0x121)](0x1),'url':z[_0x17baec(0xfd)]()[_0x17baec(0xf1)](),'reuseExistingServer':z[_0x17baec(0x102)]()[_0x17baec(0x113)](!![]),'timeoutMs':z[_0x17baec(0x112)]()[_0x17baec(0xe5)]()[_0x17baec(0xfa)]()[_0x17baec(0x113)](0xea60)}),UnotestConfigSchema=z['object']({'baseUrl':z[_0x17baec(0xfd)]()[_0x17baec(0xf1)]()[_0x17baec(0xf6)](),'webServer':WebServerConfigSchema['optional'](),'browsers':z[_0x17baec(0xe2)](BrowserSchema)[_0x17baec(0x121)](0x1),'channel':BrowserChannelSchema,'viewport':ViewportSchema,'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':z[_0x17baec(0xfd)]()[_0x17baec(0xf6)](),'testDir':z['string']()[_0x17baec(0x121)](0x1),'helpersDir':z['string']()[_0x17baec(0x121)](0x1),'defaultTimeoutMs':z[_0x17baec(0x112)]()[_0x17baec(0xe5)]()[_0x17baec(0xfa)](),'defaultNavigationTimeoutMs':z['number']()[_0x17baec(0xe5)]()[_0x17baec(0xfa)](),'linter':LinterConfigSchema,'mcp':McpConfigSchema,'sandbox':SandboxConfigSchema}),DEFAULT_CONFIG={'browsers':[_0x17baec(0x11e)],'viewport':{'width':0x500,'height':0x2d0},'retry':{'count':0x0,'on':[_0x17baec(0x120)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x17baec(0xe0)},'dialogPolicy':_0x17baec(0x101),'testDir':_0x17baec(0x123),'helpersDir':_0x17baec(0x11a),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x17baec(0xe3),'lint:xpath':'warn','lint:obfuscated-class':_0x17baec(0xe3),'lint:pause-explicit':_0x17baec(0xe3),'lint:disambig-by-index':_0x17baec(0x117),'lint:evaluate-discouraged':'warn','lint:scenario-in-root':'error','lint:mustache-in-dsl':_0x17baec(0xee),'lint:goto-concat':_0x17baec(0xe3),'lint:regex-invalid':'error','lint:echo-assert':_0x17baec(0xe3),'lint:lint-ok-missing-reason':_0x17baec(0xe3),'lint:flow-returns-value':_0x17baec(0xe3),'validator:unknown-function':'error'}},'mcp':{'transport':'stdio'},'sandbox':{}};function _0x30f9(){var _0x56a6d5=['ywnJzxb0','yM9VBgvHBG','DMfSAwrHDg9YoMfYAxr5','BgLUDdPKzwvWlwnZCW','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','zw51Bq','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','mty4ntG2nufeCvnIqW','y2HYB21L','DMfSAwrHDg9YoNn0zxaTC2HHCgu','B2jQzwn0','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','m0LeuLHlCq','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','mZuZALbRtMDR','C3rKAw8','BNvTyMvY','zgvMyxvSDa','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','DMfSAwrHDg9YoMzVCI1ZAgfWzq','DMfSAwrHDg9YoMfYzY1RAw5K','B2zM','BgLUDdPZy2vUyxjPBY1PBI1YB290','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','mtb3y1HgrKi','mZqZmtK3ou1sEeTtDG','y2HYB21PDw0','BxnLzgDL','DhjHBNnPzw50','BwLU','Dw5PB24','Dw5VDgvZDc9LmMu','lNvUB3rLC3qVzMfPBhvYzxm','BgLUDdPYzwDLEc1PBNzHBgLK','yxjYyxK','D2fYBG','zMLYzwzVEa','Aw50','ntG3meHnyLzTqq','BgLUDdPWyxvZzs1LEhbSAwnPDa','BgLUDdPTDxn0ywnOzs1PBI1KC2W','BwfUDwfS','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','y3jHC2G','DMfSAwrHDg9YoMXPC3qTyxjN','mtfvCLH4tfm','zxjYB3i','mtiWmJe1nKrPEKPcCq','mtrhvvfIvgS','DxjS','nZi5odi0Ae1sEhve','Bwf4','zgLZBwLZCW','BgL0zxjHBa','B3b0Aw9UywW','mJyYoda0otjvsxPJu3C','ntaYotKXnhDVAerXua','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','Cg9ZAxrPDMu','D2vIA2L0','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','C3rYAw5N','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','BgLUDdPLy2HVlwfZC2vYDa','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0'];_0x30f9=function(){return _0x56a6d5;};return _0x30f9();}export{BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,RetryConfigSchema,RetryReasonSchema,SandboxConfigSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema};
@@ -1,5 +1,5 @@
1
- import { E as ElementHint, N as NetworkEntry, W as WebDriver, L as LaunchOptions, C as ContextOptions, D as DriverContext } from '../interfaces-B-FxA_qn.js';
2
- export { A as ActionTimeout, a as CheckOptions, b as ClickOptions, c as CookieOptions, d as DriverPage, F as FillOptions, G as GotoOptions, H as HoverOptions, e as NavigationOptions, P as PressOptions, R as ReloadOptions, S as ScreenshotOptions, f as SelectOptions, V as Viewport, g as WaitOptions, h as WaitState } from '../interfaces-B-FxA_qn.js';
1
+ import { E as ElementHint, N as NetworkEntry, W as WebDriver, L as LaunchOptions, C as ContextOptions, D as DriverContext } from '../interfaces-SzdtOj1F.js';
2
+ export { A as ActionTimeout, a as CheckOptions, b as ClickOptions, c as CookieOptions, d as DriverPage, F as FillOptions, G as GotoOptions, H as HoverOptions, e as NavigationOptions, P as PressOptions, R as ReloadOptions, S as ScreenshotOptions, f as SelectOptions, V as Viewport, g as WaitOptions, h as WaitState } from '../interfaces-SzdtOj1F.js';
3
3
  import '@unotest/protocol';
4
4
  import '../config/schema.js';
5
5
  import 'zod';
@@ -23,6 +23,9 @@ interface FakeBehavior {
23
23
  countByDefault?: number;
24
24
  /** Default textContent() response. Default: ''. */
25
25
  textContentByDefault?: string;
26
+ /** Default innerText() response. Falls back to textContentByDefault when
27
+ * unset — most tests don't care about the rendered/raw distinction. */
28
+ innerTextByDefault?: string;
26
29
  /** Default inputValue() response. Default: ''. */
27
30
  inputValueByDefault?: string;
28
31
  /** Default isVisible() response. Default: true. */
@@ -1 +1 @@
1
- const _0x2c3ac0=_0x561f;(function(_0x337cf5,_0xdc7271){const _0x143fde={_0x360ea6:0x191,_0x392592:0x14c,_0x46b261:0x1a3,_0x31b62f:0x1a4,_0x5ca20f:0x188},_0x4c36f7=_0x561f,_0x95e2b9=_0x337cf5();while(!![]){try{const _0x29a8e7=-parseInt(_0x4c36f7(_0x143fde._0x360ea6))/0x1*(-parseInt(_0x4c36f7(0x17d))/0x2)+-parseInt(_0x4c36f7(_0x143fde._0x392592))/0x3+parseInt(_0x4c36f7(0x170))/0x4*(parseInt(_0x4c36f7(_0x143fde._0x46b261))/0x5)+parseInt(_0x4c36f7(0x19c))/0x6+parseInt(_0x4c36f7(0x135))/0x7*(parseInt(_0x4c36f7(_0x143fde._0x31b62f))/0x8)+parseInt(_0x4c36f7(_0x143fde._0x5ca20f))/0x9*(parseInt(_0x4c36f7(0x169))/0xa)+-parseInt(_0x4c36f7(0x13d))/0xb;if(_0x29a8e7===_0xdc7271)break;else _0x95e2b9['push'](_0x95e2b9['shift']());}catch(_0x5a6926){_0x95e2b9['push'](_0x95e2b9['shift']());}}}(_0x16c1,0xa88a5));var __defProp=Object[_0x2c3ac0(0x18e)],__name=(_0x988574,_0x3cc0b3)=>__defProp(_0x988574,_0x2c3ac0(0x14a),{'value':_0x3cc0b3,'configurable':!![]});function subscribe(_0x31f671,_0x38178e){const _0x5eefba={_0x3d5e29:0x143},_0x34f4fd=_0x2c3ac0;return _0x31f671[_0x34f4fd(_0x5eefba._0x3d5e29)](_0x38178e),()=>{const _0x371216=_0x34f4fd;_0x31f671[_0x371216(0x16c)](_0x38178e);};}__name(subscribe,_0x2c3ac0(0x1a0));function _0x561f(_0x37fada,_0x46b0b6){_0x37fada=_0x37fada-0x12b;const _0x16c15c=_0x16c1();let _0x561fb6=_0x16c15c[_0x37fada];if(_0x561f['IeSitP']===undefined){var _0x24bea4=function(_0xb8518b){const _0x4252a1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x988574='',_0x3cc0b3='';for(let _0x31f671=0x0,_0x38178e,_0x351ecc,_0x14e6cf=0x0;_0x351ecc=_0xb8518b['charAt'](_0x14e6cf++);~_0x351ecc&&(_0x38178e=_0x31f671%0x4?_0x38178e*0x40+_0x351ecc:_0x351ecc,_0x31f671++%0x4)?_0x988574+=String['fromCharCode'](0xff&_0x38178e>>(-0x2*_0x31f671&0x6)):0x0){_0x351ecc=_0x4252a1['indexOf'](_0x351ecc);}for(let _0x121a1b=0x0,_0x530251=_0x988574['length'];_0x121a1b<_0x530251;_0x121a1b++){_0x3cc0b3+='%'+('00'+_0x988574['charCodeAt'](_0x121a1b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3cc0b3);};_0x561f['DwlsTr']=_0x24bea4,_0x561f['eJvLZu']={},_0x561f['IeSitP']=!![];}const _0x10cb7b=_0x16c15c[0x0],_0x29bf09=_0x37fada+_0x10cb7b,_0x16b210=_0x561f['eJvLZu'][_0x29bf09];return!_0x16b210?(_0x561fb6=_0x561f['DwlsTr'](_0x561fb6),_0x561f['eJvLZu'][_0x29bf09]=_0x561fb6):_0x561fb6=_0x16b210,_0x561fb6;}import{UnotestError}from'@unotest/core';function _0x16c1(){const _0x5c5317=['D2fPDezVCLrLEhq','Aw5WDxrwywX1zq','ChvZAa','Dgv4DenVBNrLBNrcEurLzMf1Bhq','ntGXB0TSA1vQ','D2fPDezVCLvYBa','z29cywnR','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','zg91yMXLq2XPy2S','iJ48l2rPDJ4','tg9JyxrVCKvYCM9Y','mZmYotm0otfuvMvKr0W','yxr0CMLIDxrLC0j5rgvMyxvSDa','zMfRzs1WBMC','zhjPDMvY','y2XPy2S','CgfNzxm','ywrK','zxHPDezYyw1L','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','rMfRzunVBNrLEhq','Bwf5yMvuAhjVDW','C2vSzwn0t3b0Aw9U','ywn0AxzLswr4','BMfTzq','y2HLy2S','nZmYmteXt0Dyu29W','zw50zxjgCMfTzq','BgvUz3rO','B25bzNrLCKnSAwnR','AxneAxnHyMXLza','y2HLy2TLzfn0yxrL','D2fPDezVCG','z29gB3j3yxjK','y291BNrcEurLzMf1Bhq','zNjHBwvtDgfJAW','y3vYCMvUDfvYBa','AxnwAxnPyMXLqNLezwzHDwX0','z2v0qxr0CMLIDxrL','y29VA2LLCW','y2fSBhm','Cg9WDxbpBKnSAwnR','Bwv0Ag9K','z2v0q29VA2LL','C2v0q29VA2LL','Aw5WDxrwywX1zuj5rgvMyxvSDa','zxjYB3jpBK5LEhrby3rPB24','DgL0Bgu','zMfRzsb0AxrSzq','y29UDgv4Dhm','CMvSB2fK','z2v0tg9JywXtDg9YywDL','y29UC29SzuvUDhjPzxm','C3rLChm','Dgv4DenVBNrLBNq','mZaWBeTLzM5o','y2XVC2vgywTLugfNzq','B3v0zxjive1m','zgvSzxrL','ChjLC3m','y3r4','yxr0ywnOrxHPC3rPBMC','mtC4odqYoer6u3rVsG','C2nYB2XSsw50B1zPzxC','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','C2nVCgu','zw1PDezHA2vqB3b1Ca','ywn0AxzLugfNzq','Ag92zxi','CMvJB3jK','zwXLBwvUDeHPBNrcEvjLzG','Bgf1BMnO','A2LUza','zMLSBa','zxzHBhvHDgu','mta1ody2wen6qwXg','Dw5JAgvJAW','z290BW','zNjHBwvezxb0Aa','AxneAxnHyMXLzej5rgvMyxvSDa','y3jLyxrLuMvJB3jKzxi','C2v0qwn0AxzLugfNzq','y2HLy2TLzfn0yxrLqNLezwzHDwX0','CMvM','yMvOyxzPB3i','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','mtK3mZyXA1jMqxPw','Cg9W','zxzHBhvHDgvpBKXVy2f0B3i','CgfNzuXPC3q','y291BNq','rhjPDMvYrxjYB3i','zgvMAw5LuhjVCgvYDhK','rMfRzvbHz2u','DxbSB2fKrMLSzq','mNPdreHtuW','y29UBMvJDfnOyxjLza','Bg9JywXtDg9YywDLu3rHDgu','zMLSDgvY','y29VA2LLu3rHDgu','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','BMv3q29UDgv4Da','D2fPDezVCKXVywrtDgf0zq','BMv3ugfNzuXPC3rLBMvYCW','D2fPDezVCK5HDMLNyxrPB24','y2XVC2u','mZGXntKXmhvNquPpAW','lNbHz2uW','Bg9JywXtDg9YywDL','zhjHz0fUzerYB3a','C3vIC2nYAwjL','B3v0zxjiDg1SqNLszwy','AxnwAxnPyMXL','mtvkEuf3txy','mte3ntKYy29Wv0nA','C2v0tg9JywXtDg9YywDL','BMv0D29YA0vUDhjPzxm','y2XPCgjVyxjKugfZDgu','CMvJB3jKzxi','C2f2zvn0B3jHz2vtDgf0zq','Bgf1BMnOzwq','Aw5ZCgvJDevSzw1LBNq'];_0x16c1=function(){return _0x5c5317;};return _0x16c1();}var DriverError=class extends UnotestError{static{__name(this,_0x2c3ac0(0x18d));}},LocatorError=class extends UnotestError{static{__name(this,_0x2c3ac0(0x13c));}};function createRecorder(){const _0x2ace38=_0x2c3ac0,_0x351ecc=[];let _0x14e6cf=0x0;return{'push':__name(_0x121a1b=>_0x351ecc['push']({..._0x121a1b,'seq':_0x14e6cf++}),_0x2ace38(0x133)),'calls':__name(()=>_0x351ecc,_0x2ace38(0x15a))};}__name(createRecorder,_0x2c3ac0(0x182));var FakePage=class{constructor(_0x530251,_0x12389a,_0x3b6497,_0x161823){const _0x32464f={_0x26eab2:0x173,_0x306c3c:0x156},_0x4717ec=_0x2c3ac0;this[_0x4717ec(0x12d)]=_0x530251,this['behavior']=_0x12389a,this[_0x4717ec(_0x32464f._0x26eab2)]=_0x3b6497,this[_0x4717ec(_0x32464f._0x306c3c)]=_0x161823;}[_0x2c3ac0(0x12d)];[_0x2c3ac0(0x186)];[_0x2c3ac0(0x173)];static{__name(this,_0x2c3ac0(0x18f));}[_0x2c3ac0(0x156)];[_0x2c3ac0(0x14f)];['record'](_0x2fdc04,_0x1b95e2){const _0x4e1795={_0x2bda43:0x12d},_0x2b0e01=_0x2c3ac0;this[_0x2b0e01(_0x4e1795._0x2bda43)]['push']({'scope':this[_0x2b0e01(0x173)],'method':_0x2fdc04,'args':_0x1b95e2});}[_0x2c3ac0(0x147)](){const _0x2ca6f5={_0x314eb8:0x186},_0x2aa6c8=_0x2c3ac0;if(this[_0x2aa6c8(0x186)]['errorOnNextAction']){const _0x5e5ccb=this[_0x2aa6c8(_0x2ca6f5._0x314eb8)][_0x2aa6c8(0x160)];this['behavior']['errorOnNextAction']=void 0x0;throw _0x5e5ccb;}}['url'](){const _0xe9d892=_0x2c3ac0;return this[_0xe9d892(0x156)];}async[_0x2c3ac0(0x161)](){const _0xe7af={_0x43413e:0x177,_0x12d95f:0x161,_0x482c36:0x162},_0x411f59=_0x2c3ac0;return this[_0x411f59(_0xe7af._0x43413e)](_0x411f59(_0xe7af._0x12d95f),[]),_0x411f59(_0xe7af._0x482c36);}async[_0x2c3ac0(0x141)](_0x57d80f,_0x1bbdce){const _0x5e8096={_0x181384:0x177,_0x5bd7b6:0x141,_0xeb5631:0x147,_0x4a4e1e:0x14f},_0x314554=_0x2c3ac0;this[_0x314554(_0x5e8096._0x181384)](_0x314554(_0x5e8096._0x5bd7b6),[_0x57d80f,_0x1bbdce]),this[_0x314554(_0x5e8096._0xeb5631)](),this[_0x314554(_0x5e8096._0x4a4e1e)]?.();}async[_0x2c3ac0(0x13a)](_0x33f53d,_0x20c1c8){const _0xeed0a4={_0x3c48de:0x177,_0x54de19:0x147},_0x57d2ea=_0x2c3ac0;this[_0x57d2ea(_0xeed0a4._0x3c48de)]('doubleClick',[_0x33f53d,_0x20c1c8]),this[_0x57d2ea(_0xeed0a4._0x54de19)]();}async[_0x2c3ac0(0x17b)](_0x52e994,_0x555c41,_0x40d4c0){const _0x107e7a={_0x35221a:0x17b},_0x15f7a8=_0x2c3ac0;this[_0x15f7a8(0x177)](_0x15f7a8(_0x107e7a._0x35221a),[_0x52e994,_0x555c41,_0x40d4c0]),this[_0x15f7a8(0x147)]();}async[_0x2c3ac0(0x16d)](_0x3384e4,_0x53c19d,_0x30a693){const _0x19cd51=_0x2c3ac0;this['record'](_0x19cd51(0x16d),[_0x3384e4,_0x53c19d,_0x30a693]),this['maybeThrow']();}async[_0x2c3ac0(0x14b)](_0x4017c8,_0xd965d1){const _0x587d26={_0x3ed379:0x177,_0x43360e:0x14b},_0x24c860=_0x2c3ac0;this[_0x24c860(_0x587d26._0x3ed379)](_0x24c860(_0x587d26._0x43360e),[_0x4017c8,_0xd965d1]),this[_0x24c860(0x147)]();}async[_0x2c3ac0(0x17e)](_0x2c6cd8,_0x432236){const _0x130304={_0x54dbf5:0x177,_0x282ca5:0x17e,_0x5aca82:0x147},_0x37a7f3=_0x2c3ac0;this[_0x37a7f3(_0x130304._0x54dbf5)](_0x37a7f3(_0x130304._0x282ca5),[_0x2c6cd8,_0x432236]),this[_0x37a7f3(_0x130304._0x5aca82)]();}async[_0x2c3ac0(0x148)](_0x3a7f20,_0x5a34b6,_0x2bc730){const _0x23e245=_0x2c3ac0;this[_0x23e245(0x177)]('selectOption',[_0x3a7f20,_0x5a34b6,_0x2bc730]),this[_0x23e245(0x147)]();}async[_0x2c3ac0(0x176)](_0x5c6520,_0x231fca){const _0x13b245={_0x190600:0x177,_0x26d696:0x176},_0x288d6a=_0x2c3ac0;this[_0x288d6a(_0x13b245._0x190600)](_0x288d6a(_0x13b245._0x26d696),[_0x5c6520,_0x231fca]),this[_0x288d6a(0x147)]();}async[_0x2c3ac0(0x171)](_0x373278){const _0x365bb3={_0x1493e6:0x171,_0xdebf84:0x147},_0x38a654=_0x2c3ac0;this['record'](_0x38a654(_0x365bb3._0x1493e6),[_0x373278]),this[_0x38a654(_0x365bb3._0xdebf84)]();}async[_0x2c3ac0(0x19f)](_0x182170,_0xf69e69,_0xbee484){const _0x2a0d61={_0x4b6383:0x147},_0x24b71f=_0x2c3ac0;this[_0x24b71f(0x177)](_0x24b71f(0x19f),[_0x182170,_0xf69e69,_0xbee484]),this[_0x24b71f(_0x2a0d61._0x4b6383)]();}async[_0x2c3ac0(0x190)](_0x5f2f87,_0x339a2e){const _0x4d3e76={_0x222f33:0x177,_0x58308e:0x190},_0x3d8b4c=_0x2c3ac0;this[_0x3d8b4c(_0x4d3e76._0x222f33)](_0x3d8b4c(_0x4d3e76._0x58308e),[_0x5f2f87,_0x339a2e]),this[_0x3d8b4c(0x147)]();}async[_0x2c3ac0(0x12c)](_0x137774,_0x5945bb){const _0x4a3d5c=_0x2c3ac0;this['record'](_0x4a3d5c(0x12c),[_0x137774,_0x5945bb]),this['maybeThrow']();}async[_0x2c3ac0(0x18c)](_0x5f0a2f){const _0x50769b={_0x37c2e7:0x154},_0xca654c=_0x2c3ac0;return this[_0xca654c(0x177)](_0xca654c(0x18c),[_0x5f0a2f]),this[_0xca654c(0x186)][_0xca654c(_0x50769b._0x37c2e7)]??0x1;}async[_0x2c3ac0(0x168)](_0x503a19){const _0x58b61c={_0x53716a:0x186,_0xc66d8a:0x134},_0x22c4a6=_0x2c3ac0;return this[_0x22c4a6(0x177)](_0x22c4a6(0x168),[_0x503a19]),this[_0x22c4a6(_0x58b61c._0x53716a)][_0x22c4a6(_0x58b61c._0xc66d8a)]??'';}async['inputValue'](_0x4af890){const _0x23161b={_0x1e6678:0x177,_0x4e25e8:0x132,_0x2c08dd:0x15f},_0x4b4764=_0x2c3ac0;return this[_0x4b4764(_0x23161b._0x1e6678)](_0x4b4764(_0x23161b._0x4e25e8),[_0x4af890]),this[_0x4b4764(0x186)][_0x4b4764(_0x23161b._0x2c08dd)]??'';}async[_0x2c3ac0(0x151)](_0x23e18d){const _0x5cde1e={_0x3c1481:0x151,_0x8c5086:0x184},_0x27034e=_0x2c3ac0;return this[_0x27034e(0x177)](_0x27034e(_0x5cde1e._0x3c1481),[_0x23e18d]),this['behavior'][_0x27034e(_0x5cde1e._0x8c5086)]??null;}async[_0x2c3ac0(0x1a2)](_0x3a7d14){const _0x3fa527={_0x51a401:0x1a2,_0x4879ce:0x157},_0x2c7845=_0x2c3ac0;return this[_0x2c7845(0x177)](_0x2c7845(_0x3fa527._0x51a401),[_0x3a7d14]),this[_0x2c7845(0x186)][_0x2c7845(_0x3fa527._0x4879ce)]??!![];}async[_0x2c3ac0(0x150)](_0x459b13){const _0x101f65={_0x149f70:0x150,_0x18ff31:0x186,_0x544b82:0x181},_0x62dbba=_0x2c3ac0;return this[_0x62dbba(0x177)](_0x62dbba(_0x101f65._0x149f70),[_0x459b13]),this[_0x62dbba(_0x101f65._0x18ff31)][_0x62dbba(_0x101f65._0x544b82)]??![];}async[_0x2c3ac0(0x158)](_0xd68c2d,_0x1e546c){const _0x2ba34b=_0x2c3ac0;return this[_0x2ba34b(0x177)](_0x2ba34b(0x158),[_0xd68c2d,_0x1e546c]),this['behavior'][_0x2ba34b(0x13e)]?.[_0x1e546c]??null;}async['waitFor'](_0x28dcdf,_0x8a7223){const _0x3dbf2f={_0x20c88c:0x177},_0x5f222d=_0x2c3ac0;this[_0x5f222d(_0x3dbf2f._0x20c88c)](_0x5f222d(0x152),[_0x28dcdf,_0x8a7223]);}async[_0x2c3ac0(0x136)](_0x507768,_0x3ff1eb){const _0x490f3a={_0x11c89a:0x177},_0x83d0a5=_0x2c3ac0;this[_0x83d0a5(_0x490f3a._0x11c89a)](_0x83d0a5(0x136),[_0x507768,_0x3ff1eb]);}async[_0x2c3ac0(0x131)](_0x414d7e,_0xd21442){const _0x4fb38a={_0x571b2b:0x131},_0x6f2c13=_0x2c3ac0;this['record'](_0x6f2c13(_0x4fb38a._0x571b2b),[_0x414d7e,_0xd21442]);}async[_0x2c3ac0(0x19a)](_0x31c17d){const _0x3ef88a=_0x2c3ac0;this['record'](_0x3ef88a(0x19a),[_0x31c17d]);}async[_0x2c3ac0(0x198)](_0xd3152f,_0x2a4a5a){const _0x5a0208=_0x2c3ac0;this[_0x5a0208(0x177)](_0x5a0208(0x198),[_0xd3152f,_0x2a4a5a]);}async[_0x2c3ac0(0x17f)](_0x3b29e6,_0x399b1f){const _0x320317=_0x2c3ac0;this['record']('goto',[_0x3b29e6,_0x399b1f]),this[_0x320317(0x156)]=_0x3b29e6;}async[_0x2c3ac0(0x164)](_0x3145bb){const _0x350377={_0x477c9b:0x177},_0x531f19=_0x2c3ac0;this[_0x531f19(_0x350377._0x477c9b)](_0x531f19(0x164),[_0x3145bb]);}async[_0x2c3ac0(0x137)](_0x419f29){const _0xb812bc={_0x3ca4e7:0x137},_0x2b17fe=_0x2c3ac0;this['record'](_0x2b17fe(_0xb812bc._0x3ca4e7),[_0x419f29]);}async[_0x2c3ac0(0x153)](_0x5c6711){const _0x6198b5={_0xf94d06:0x177},_0x4271af=_0x2c3ac0;this[_0x4271af(_0x6198b5._0xf94d06)]('goForward',[_0x5c6711]);}async['evaluate'](_0x4120ee){const _0x5b9fed={_0x5f0200:0x17c},_0x23bf28=_0x2c3ac0;return this['record'](_0x23bf28(_0x5b9fed._0x5f0200),[_0x4120ee]),void 0x0;}async[_0x2c3ac0(0x18a)](_0x5d134b,_0x184635){const _0x34bbc4={_0x15f9d8:0x177},_0x2fdeb7=_0x2c3ac0;return this[_0x2fdeb7(_0x34bbc4._0x15f9d8)]('evaluateOnLocator',[_0x5d134b,_0x184635]),void 0x0;}async[_0x2c3ac0(0x130)](_0x30ffb9){const _0x21599b={_0x7da985:0x177,_0x6f99b0:0x14e,_0x18ae25:0x167,_0x4dd657:0x186},_0x3bcec1=_0x2c3ac0;this[_0x3bcec1(_0x21599b._0x7da985)](_0x3bcec1(0x130),[_0x30ffb9]);if(_0x30ffb9[_0x3bcec1(0x167)][_0x3bcec1(_0x21599b._0x6f99b0)]!==0x1||_0x30ffb9[_0x3bcec1(_0x21599b._0x18ae25)][0x0][_0x3bcec1(0x17a)]!=='ref')return null;const _0x219c1d=_0x30ffb9[_0x3bcec1(0x167)][0x0]['ref'],_0x2cdfaa=this[_0x3bcec1(_0x21599b._0x4dd657)][_0x3bcec1(0x178)]?.[_0x219c1d];return _0x2cdfaa??null;}async['screenshot'](_0x38de91){const _0x3134d9={_0x10f218:0x177,_0x3cd079:0x13f},_0x18ddab=_0x2c3ac0;return this[_0x18ddab(_0x3134d9._0x10f218)]('screenshot',[_0x38de91]),Buffer['from'](_0x18ddab(_0x3134d9._0x3cd079));}async[_0x2c3ac0(0x16b)](_0x48b088){const _0xd06b00={_0x348880:0x177,_0x5267a5:0x16b,_0x4130bc:0x17a,_0x35bd09:0x185,_0x29a474:0x167,_0x1d4fa6:0x1a1,_0x27d0b7:0x187,_0x3cc81c:0x13b},_0x392071=_0x2c3ac0;this[_0x392071(_0xd06b00._0x348880)](_0x392071(_0xd06b00._0x5267a5),[_0x48b088]);if(_0x48b088[_0x392071(0x167)][_0x392071(0x14e)]===0x1&&_0x48b088['steps'][0x0][_0x392071(_0xd06b00._0x4130bc)]===_0x392071(_0xd06b00._0x35bd09)){const _0x2746bf=_0x48b088[_0x392071(_0xd06b00._0x29a474)][0x0][_0x392071(0x185)];return this[_0x392071(0x186)][_0x392071(_0xd06b00._0x1d4fa6)]?.[_0x2746bf]??_0x392071(_0xd06b00._0x27d0b7)+_0x2746bf+_0x392071(_0xd06b00._0x3cc81c);}return'<div></div>';}},FakeContext=class{constructor(_0xa31004,_0x1307c7,_0x25a38c){const _0x3ffd4f={_0xcdab0e:0x186,_0x187968:0x193},_0x30f26a=_0x2c3ac0;this[_0x30f26a(0x12d)]=_0xa31004,this[_0x30f26a(_0x3ffd4f._0xcdab0e)]=_0x1307c7,this['scope']=_0x25a38c;const _0x45b672=new FakePage(_0xa31004,_0x1307c7,_0x25a38c+_0x30f26a(0x19d),_0x1307c7['initialUrl']??'about:blank');_0x1307c7[_0x30f26a(0x15b)]&&(_0x45b672['onAfterClick']=()=>{const _0x11debd=_0x30f26a;this[_0x11debd(0x174)](_0x1307c7['popupOnClick']);}),this[_0x30f26a(0x18b)]=[_0x45b672],this[_0x30f26a(_0x3ffd4f._0x187968)]={..._0x1307c7[_0x30f26a(0x19e)]??{}},this['cookieState']={..._0x1307c7[_0x30f26a(0x159)]??{}};}[_0x2c3ac0(0x12d)];[_0x2c3ac0(0x186)];['scope'];static{__name(this,_0x2c3ac0(0x146));}[_0x2c3ac0(0x18b)];[_0x2c3ac0(0x149)]=0x0;[_0x2c3ac0(0x155)]=[];['localStorageState'];[_0x2c3ac0(0x195)];[_0x2c3ac0(0x199)]=new Set();['record'](_0x107138,_0x455db9){const _0x5bf2dd={_0x55d442:0x133},_0x15c5db=_0x2c3ac0;this[_0x15c5db(0x12d)][_0x15c5db(_0x5bf2dd._0x55d442)]({'scope':this[_0x15c5db(0x173)],'method':_0x107138,'args':_0x455db9});}[_0x2c3ac0(0x142)](){return this['pageList'];}[_0x2c3ac0(0x175)](){const _0x206510={_0x6a4e0f:0x149,_0x2a9522:0x196},_0x4be433=_0x2c3ac0,_0x487d50=this[_0x4be433(0x18b)][this[_0x4be433(_0x206510._0x6a4e0f)]];if(!_0x487d50)throw new DriverError(_0x4be433(_0x206510._0x2a9522),{'activeIdx':this[_0x4be433(0x149)]});return _0x487d50;}[_0x2c3ac0(0x166)](){const _0x2eac0d=_0x2c3ac0;return this['behavior'][_0x2eac0d(0x166)]??[];}['networkEntries'](){const _0x213320={_0xff720b:0x12b},_0x5ecc8a=_0x2c3ac0;return this[_0x5ecc8a(0x186)][_0x5ecc8a(_0x213320._0xff720b)]??[];}async[_0x2c3ac0(0x183)](_0x475318){const _0x2ac99c={_0x4c8153:0x14e,_0xc1eb69:0x155},_0x4e6303=_0x2c3ac0;this[_0x4e6303(0x177)](_0x4e6303(0x183),[_0x475318]);if(_0x475318<0x0||_0x475318>=this['pageList'][_0x4e6303(_0x2ac99c._0x4c8153)])throw new DriverError(_0x4e6303(0x139),{'index':_0x475318,'available':this['pageList'][_0x4e6303(0x14e)]});this[_0x4e6303(0x149)]=_0x475318,this[_0x4e6303(_0x2ac99c._0xc1eb69)][_0x4e6303(0x14e)]=0x0;}['onNewPage'](_0x535d04){return subscribe(this['newPageListeners'],_0x535d04);}[_0x2c3ac0(0x174)](_0x55d547){const _0x5af29b={_0x34d859:0x18b},_0x47f752=_0x2c3ac0,_0x2b3157=this[_0x47f752(0x173)]+'.page'+this['pageList']['length'],_0x3cee08=new FakePage(this['recorder'],this[_0x47f752(0x186)],_0x2b3157,_0x55d547);this[_0x47f752(_0x5af29b._0x34d859)][_0x47f752(0x133)](_0x3cee08);const _0x221bc6=this[_0x47f752(0x18b)][_0x47f752(0x14e)]-0x1;for(const _0x2ce706 of this[_0x47f752(0x199)]){try{_0x2ce706({'index':_0x221bc6,'url':_0x55d547});}catch{}}return _0x221bc6;}[_0x2c3ac0(0x16a)](_0x4bcbcc){const _0xe906ae={_0x460c6e:0x18b,_0x2e3cac:0x14e},_0xa7ec38=_0x2c3ac0;if(_0x4bcbcc<0x0||_0x4bcbcc>=this[_0xa7ec38(0x18b)]['length'])throw new DriverError(_0xa7ec38(0x139),{'index':_0x4bcbcc,'available':this[_0xa7ec38(_0xe906ae._0x460c6e)][_0xa7ec38(_0xe906ae._0x2e3cac)]});this[_0xa7ec38(_0xe906ae._0x460c6e)]['splice'](_0x4bcbcc,0x1);}async[_0x2c3ac0(0x14d)](_0x10849e){const _0x2ee887={_0x2db1dc:0x177,_0x5c4fef:0x167},_0xe02c8d=_0x2c3ac0;this[_0xe02c8d(_0x2ee887._0x2db1dc)]('enterFrame',[_0x10849e]);if(!_0x10849e[_0xe02c8d(_0x2ee887._0x5c4fef)]['length'])throw new LocatorError('enterFrame\x20called\x20with\x20empty\x20locator',{'locator':_0x10849e});this[_0xe02c8d(0x155)]['push'](_0x10849e);}async[_0x2c3ac0(0x144)](){const _0x2d7701={_0x3ee7fa:0x189},_0x4c2a88=_0x2c3ac0;this[_0x4c2a88(0x177)]('exitFrame',[]);if(this['frameStack'][_0x4c2a88(0x14e)]===0x0)throw new DriverError(_0x4c2a88(0x145),{});this[_0x4c2a88(0x155)][_0x4c2a88(_0x2d7701._0x3ee7fa)]();}async[_0x2c3ac0(0x1a5)](_0x42d9fc,_0x4393dc){const _0x30bff9={_0x290d34:0x1a5},_0x1d60d5=_0x2c3ac0;this[_0x1d60d5(0x177)](_0x1d60d5(_0x30bff9._0x290d34),[_0x42d9fc,_0x4393dc]),this[_0x1d60d5(0x193)][_0x42d9fc]=_0x4393dc;}async[_0x2c3ac0(0x165)](_0x438208){const _0x1574fb={_0x5c9301:0x193},_0x4ef3f7=_0x2c3ac0;return this[_0x4ef3f7(0x177)](_0x4ef3f7(0x165),[_0x438208]),this[_0x4ef3f7(_0x1574fb._0x5c9301)][_0x438208]??null;}async[_0x2c3ac0(0x15e)](_0xd26b26,_0x86739e,_0x218bff){const _0x1d8ca9={_0x2cdd6a:0x15e},_0x31b759=_0x2c3ac0;this['record'](_0x31b759(_0x1d8ca9._0x2cdd6a),[_0xd26b26,_0x86739e,_0x218bff]),this['cookieState'][_0xd26b26]=_0x86739e;}async[_0x2c3ac0(0x15d)](_0x32eb75){const _0x390a74={_0x1c00c9:0x15d},_0x560870=_0x2c3ac0;return this[_0x560870(0x177)](_0x560870(_0x390a74._0x1c00c9),[_0x32eb75]),this[_0x560870(0x195)][_0x32eb75]??null;}async[_0x2c3ac0(0x12e)](_0x5e3b4a){const _0x27d0dd={_0x136165:0x177},_0x46b53c=_0x2c3ac0;this[_0x46b53c(_0x27d0dd._0x136165)](_0x46b53c(0x12e),[_0x5e3b4a]);}async['evaluate'](_0x13e7cc){return this['record']('evaluate',[_0x13e7cc]),void 0x0;}async[_0x2c3ac0(0x19b)](){const _0x22460d=_0x2c3ac0;this[_0x22460d(0x177)](_0x22460d(0x19b),[]);}[_0x2c3ac0(0x180)](){const _0x16825d={_0x2f8986:0x14e},_0x6953d9=_0x2c3ac0;return this[_0x6953d9(0x155)][_0x6953d9(_0x16825d._0x2f8986)];}},FakeWebDriver=class{constructor(_0x2168e9={}){const _0x3c0eea=_0x2c3ac0;this[_0x3c0eea(0x186)]=_0x2168e9,this['recorder']=createRecorder();}[_0x2c3ac0(0x186)];static{__name(this,'FakeWebDriver');}[_0x2c3ac0(0x12f)]=![];[_0x2c3ac0(0x12d)];['contexts']=[];async[_0x2c3ac0(0x179)](_0x216341){const _0x42ea54=_0x2c3ac0;this[_0x42ea54(0x12d)][_0x42ea54(0x133)]({'scope':_0x42ea54(0x140),'method':_0x42ea54(0x179),'args':[_0x216341]}),this[_0x42ea54(0x12f)]=!![];}async['newContext'](_0x27a249){const _0x29f0cb={_0x539b30:0x12f,_0x525655:0x138,_0x26e849:0x16e,_0x426ef1:0x14e,_0x1fe2cd:0x163},_0x599061=_0x2c3ac0;this['recorder'][_0x599061(0x133)]({'scope':'driver','method':_0x599061(0x197),'args':[_0x27a249]});if(!this[_0x599061(_0x29f0cb._0x539b30)])throw new DriverError(_0x599061(_0x29f0cb._0x525655),{});const _0x2e1080=new FakeContext(this[_0x599061(0x12d)],this['behavior'],_0x599061(_0x29f0cb._0x26e849)+this[_0x599061(0x163)][_0x599061(_0x29f0cb._0x426ef1)]);return this[_0x599061(_0x29f0cb._0x1fe2cd)][_0x599061(0x133)](_0x2e1080),_0x2e1080;}async[_0x2c3ac0(0x19b)](){const _0x2a687a={_0x8cd408:0x12d,_0x3493b8:0x140,_0x1d86bc:0x12f},_0x1f1883=_0x2c3ac0;this[_0x1f1883(_0x2a687a._0x8cd408)][_0x1f1883(0x133)]({'scope':_0x1f1883(_0x2a687a._0x3493b8),'method':_0x1f1883(0x19b),'args':[]}),this[_0x1f1883(_0x2a687a._0x1d86bc)]=![];}['wsEndpoint'](){return void 0x0;}async[_0x2c3ac0(0x192)](){const _0x1cdca7=_0x2c3ac0;throw new DriverError(_0x1cdca7(0x172),{});}[_0x2c3ac0(0x16f)](){throw new DriverError('attachExisting\x20not\x20supported\x20by\x20FakeWebDriver',{});}[_0x2c3ac0(0x15a)](){const _0x1251a0={_0x2ae96d:0x12d},_0x38227c=_0x2c3ac0;return this[_0x38227c(_0x1251a0._0x2ae96d)][_0x38227c(0x15a)]();}['callsFor'](_0x58d81c){const _0x195237={_0x3a1b3b:0x12d,_0x40fd07:0x15a},_0x5244d2=_0x2c3ac0;return this[_0x5244d2(_0x195237._0x3a1b3b)][_0x5244d2(_0x195237._0x40fd07)]()[_0x5244d2(0x194)](_0x1d457a=>_0x1d457a[_0x5244d2(0x15c)]===_0x58d81c);}};export{FakeWebDriver};
1
+ const _0x2a65d9=_0x3259;(function(_0x4cd682,_0x37f1ff){const _0x1fcf1d={_0x9b691e:0x1b0,_0x2bb407:0x1b1,_0x34b030:0x178,_0x334153:0x177,_0x9aceb2:0x15c,_0x19c290:0x18d,_0x2e10c3:0x1c0},_0x5ab0db=_0x3259,_0x569db4=_0x4cd682();while(!![]){try{const _0x5602d3=-parseInt(_0x5ab0db(_0x1fcf1d._0x9b691e))/0x1+parseInt(_0x5ab0db(0x192))/0x2+-parseInt(_0x5ab0db(_0x1fcf1d._0x2bb407))/0x3+-parseInt(_0x5ab0db(_0x1fcf1d._0x34b030))/0x4+parseInt(_0x5ab0db(_0x1fcf1d._0x334153))/0x5*(parseInt(_0x5ab0db(_0x1fcf1d._0x9aceb2))/0x6)+parseInt(_0x5ab0db(0x16b))/0x7+parseInt(_0x5ab0db(_0x1fcf1d._0x19c290))/0x8*(parseInt(_0x5ab0db(_0x1fcf1d._0x2e10c3))/0x9);if(_0x5602d3===_0x37f1ff)break;else _0x569db4['push'](_0x569db4['shift']());}catch(_0x28ae04){_0x569db4['push'](_0x569db4['shift']());}}}(_0x1fc2,0xbfb34));var __defProp=Object[_0x2a65d9(0x1a5)],__name=(_0x5a01f5,_0x41f354)=>__defProp(_0x5a01f5,_0x2a65d9(0x186),{'value':_0x41f354,'configurable':!![]});function subscribe(_0x2bb8fa,_0x5a75fd){const _0x590bbe={_0x3b7865:0x1ce},_0xe6c846=_0x2a65d9;return _0x2bb8fa[_0xe6c846(_0x590bbe._0x3b7865)](_0x5a75fd),()=>{_0x2bb8fa['delete'](_0x5a75fd);};}__name(subscribe,'subscribe');import{UnotestError}from'@unotest/core';var DriverError=class extends UnotestError{static{__name(this,_0x2a65d9(0x18f));}},LocatorError=class extends UnotestError{static{__name(this,'LocatorError');}};function createRecorder(){const _0x2ac56a=_0x2a65d9,_0x411443=[];let _0x2677a9=0x0;return{'push':__name(_0x3f50f8=>_0x411443[_0x2ac56a(0x1ac)]({..._0x3f50f8,'seq':_0x2677a9++}),'push'),'calls':__name(()=>_0x411443,'calls')};}function _0x3259(_0x5dcc3f,_0x2ea03c){_0x5dcc3f=_0x5dcc3f-0x15a;const _0x1fc27a=_0x1fc2();let _0x3259e9=_0x1fc27a[_0x5dcc3f];if(_0x3259['nIQuxk']===undefined){var _0x48ed56=function(_0x29c343){const _0x16247c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5a01f5='',_0x41f354='';for(let _0x2bb8fa=0x0,_0x5a75fd,_0x411443,_0x2677a9=0x0;_0x411443=_0x29c343['charAt'](_0x2677a9++);~_0x411443&&(_0x5a75fd=_0x2bb8fa%0x4?_0x5a75fd*0x40+_0x411443:_0x411443,_0x2bb8fa++%0x4)?_0x5a01f5+=String['fromCharCode'](0xff&_0x5a75fd>>(-0x2*_0x2bb8fa&0x6)):0x0){_0x411443=_0x16247c['indexOf'](_0x411443);}for(let _0x3f50f8=0x0,_0x594515=_0x5a01f5['length'];_0x3f50f8<_0x594515;_0x3f50f8++){_0x41f354+='%'+('00'+_0x5a01f5['charCodeAt'](_0x3f50f8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x41f354);};_0x3259['fZCLCx']=_0x48ed56,_0x3259['KVLEhH']={},_0x3259['nIQuxk']=!![];}const _0x4d79be=_0x1fc27a[0x0],_0x4baffe=_0x5dcc3f+_0x4d79be,_0x3e9c3c=_0x3259['KVLEhH'][_0x4baffe];return!_0x3e9c3c?(_0x3259e9=_0x3259['fZCLCx'](_0x3259e9),_0x3259['KVLEhH'][_0x4baffe]=_0x3259e9):_0x3259e9=_0x3e9c3c,_0x3259e9;}__name(createRecorder,'createRecorder');var FakePage=class{constructor(_0x594515,_0x326815,_0x462a2d,_0x4e98e1){const _0x3444e1=_0x2a65d9;this[_0x3444e1(0x1be)]=_0x594515,this[_0x3444e1(0x1d1)]=_0x326815,this[_0x3444e1(0x1cb)]=_0x462a2d,this['currentUrl']=_0x4e98e1;}[_0x2a65d9(0x1be)];[_0x2a65d9(0x1d1)];[_0x2a65d9(0x1cb)];static{__name(this,_0x2a65d9(0x16c));}[_0x2a65d9(0x1aa)];[_0x2a65d9(0x1c4)];[_0x2a65d9(0x19d)](_0x477a9,_0x2efba2){const _0x9c58fd={_0x48c28e:0x1ac,_0x22118a:0x1cb},_0x41d401=_0x2a65d9;this[_0x41d401(0x1be)][_0x41d401(_0x9c58fd._0x48c28e)]({'scope':this[_0x41d401(_0x9c58fd._0x22118a)],'method':_0x477a9,'args':_0x2efba2});}[_0x2a65d9(0x19b)](){const _0x4a9571={_0x514048:0x1ad},_0x1ba434=_0x2a65d9;if(this[_0x1ba434(0x1d1)]['errorOnNextAction']){const _0x4d88d6=this[_0x1ba434(0x1d1)][_0x1ba434(0x1ad)];this['behavior'][_0x1ba434(_0x4a9571._0x514048)]=void 0x0;throw _0x4d88d6;}}[_0x2a65d9(0x1d4)](){return this['currentUrl'];}async['title'](){const _0x3fad82={_0x582cd0:0x1b4},_0x953bcc=_0x2a65d9;return this['record'](_0x953bcc(_0x3fad82._0x582cd0),[]),_0x953bcc(0x1d5);}async['click'](_0x1c2faf,_0x48574e){const _0x47a4c4={_0x5d4ad8:0x19d,_0x5add90:0x19b,_0x3b1968:0x1c4},_0x4aadd0=_0x2a65d9;this[_0x4aadd0(_0x47a4c4._0x5d4ad8)](_0x4aadd0(0x161),[_0x1c2faf,_0x48574e]),this[_0x4aadd0(_0x47a4c4._0x5add90)](),this[_0x4aadd0(_0x47a4c4._0x3b1968)]?.();}async[_0x2a65d9(0x167)](_0x17b61d,_0x386cee){const _0x51ad6d={_0x17333b:0x19d},_0x244531=_0x2a65d9;this[_0x244531(_0x51ad6d._0x17333b)]('doubleClick',[_0x17b61d,_0x386cee]),this['maybeThrow']();}async[_0x2a65d9(0x1b3)](_0x141327,_0xc1fda8,_0x1ce4b1){const _0x4680f7=_0x2a65d9;this[_0x4680f7(0x19d)](_0x4680f7(0x1b3),[_0x141327,_0xc1fda8,_0x1ce4b1]),this['maybeThrow']();}async[_0x2a65d9(0x16d)](_0xdd326e,_0x2567ad,_0x3293b7){const _0x180411={_0x40ec8c:0x19b},_0x12cde2=_0x2a65d9;this[_0x12cde2(0x19d)](_0x12cde2(0x16d),[_0xdd326e,_0x2567ad,_0x3293b7]),this[_0x12cde2(_0x180411._0x40ec8c)]();}async[_0x2a65d9(0x1c2)](_0x54a6f1,_0x2f56e0){const _0x2e125f={_0x2a38d6:0x19d,_0x27282c:0x1c2},_0x104b91=_0x2a65d9;this[_0x104b91(_0x2e125f._0x2a38d6)](_0x104b91(_0x2e125f._0x27282c),[_0x54a6f1,_0x2f56e0]),this['maybeThrow']();}async[_0x2a65d9(0x1a7)](_0x26e2d1,_0x7476c0){const _0x4da82e=_0x2a65d9;this['record'](_0x4da82e(0x1a7),[_0x26e2d1,_0x7476c0]),this[_0x4da82e(0x19b)]();}async[_0x2a65d9(0x1ae)](_0x29be46,_0x765550,_0x2f1dc6){const _0x1cd5dd={_0x4ca583:0x19b},_0x56294d=_0x2a65d9;this['record']('selectOption',[_0x29be46,_0x765550,_0x2f1dc6]),this[_0x56294d(_0x1cd5dd._0x4ca583)]();}async['hover'](_0x5e7183,_0xda138b){const _0x16268b={_0x2bf859:0x19b},_0x106ee3=_0x2a65d9;this[_0x106ee3(0x19d)](_0x106ee3(0x1d2),[_0x5e7183,_0xda138b]),this[_0x106ee3(_0x16268b._0x2bf859)]();}async[_0x2a65d9(0x1a8)](_0xf2611f){const _0x346a50={_0x337b04:0x1a8},_0x3e542d=_0x2a65d9;this[_0x3e542d(0x19d)](_0x3e542d(_0x346a50._0x337b04),[_0xf2611f]),this[_0x3e542d(0x19b)]();}async[_0x2a65d9(0x170)](_0x2267f3,_0x5406f2,_0x4d70b2){const _0x1f0458=_0x2a65d9;this[_0x1f0458(0x19d)]('dragAndDrop',[_0x2267f3,_0x5406f2,_0x4d70b2]),this['maybeThrow']();}async[_0x2a65d9(0x19a)](_0xd1ce05,_0x2a657c){const _0x226be8={_0x4344b4:0x19a},_0x1d40cc=_0x2a65d9;this[_0x1d40cc(0x19d)](_0x1d40cc(_0x226be8._0x4344b4),[_0xd1ce05,_0x2a657c]),this[_0x1d40cc(0x19b)]();}async[_0x2a65d9(0x1af)](_0x12a6d1,_0x3e460f){const _0x3c2ed4={_0x4a48df:0x1af},_0x3c4f76=_0x2a65d9;this['record'](_0x3c4f76(_0x3c2ed4._0x4a48df),[_0x12a6d1,_0x3e460f]),this['maybeThrow']();}async[_0x2a65d9(0x1a0)](_0x256922){const _0x1a34ee={_0x1680eb:0x1d1},_0x5e2292=_0x2a65d9;return this[_0x5e2292(0x19d)](_0x5e2292(0x1a0),[_0x256922]),this[_0x5e2292(_0x1a34ee._0x1680eb)][_0x5e2292(0x181)]??0x1;}async[_0x2a65d9(0x193)](_0x3a0c4b){const _0x1ec0d0={_0x27bce0:0x1d1},_0x59374b=_0x2a65d9;return this[_0x59374b(0x19d)]('textContent',[_0x3a0c4b]),this[_0x59374b(_0x1ec0d0._0x27bce0)][_0x59374b(0x199)]??'';}async[_0x2a65d9(0x15a)](_0x1814f9){const _0x2106e0={_0x25f528:0x15a,_0x5d9843:0x1d1,_0x15dd4d:0x190,_0x36f80b:0x1d1},_0x476169=_0x2a65d9;return this[_0x476169(0x19d)](_0x476169(_0x2106e0._0x25f528),[_0x1814f9]),this[_0x476169(_0x2106e0._0x5d9843)][_0x476169(_0x2106e0._0x15dd4d)]??this[_0x476169(_0x2106e0._0x36f80b)]['textContentByDefault']??'';}async[_0x2a65d9(0x1d3)](_0x274635){const _0x37d894={_0x1a7b8b:0x1d3,_0xe1ab85:0x1d1,_0x374996:0x1b5},_0x23e666=_0x2a65d9;return this['record'](_0x23e666(_0x37d894._0x1a7b8b),[_0x274635]),this[_0x23e666(_0x37d894._0xe1ab85)][_0x23e666(_0x37d894._0x374996)]??'';}async[_0x2a65d9(0x1ca)](_0x368701){const _0x4163bf=_0x2a65d9;return this['record'](_0x4163bf(0x1ca),[_0x368701]),this[_0x4163bf(0x1d1)][_0x4163bf(0x1bf)]??null;}async[_0x2a65d9(0x187)](_0x5efeb0){const _0x487666={_0xe439e8:0x19d},_0x428ee6=_0x2a65d9;return this[_0x428ee6(_0x487666._0xe439e8)](_0x428ee6(0x187),[_0x5efeb0]),this['behavior']['isVisibleByDefault']??!![];}async[_0x2a65d9(0x1d8)](_0x1d2176){const _0x760198=_0x2a65d9;return this['record']('isDisabled',[_0x1d2176]),this['behavior'][_0x760198(0x1b8)]??![];}async[_0x2a65d9(0x1a4)](_0x3c52a9,_0x2b18a2){const _0x145027={_0x50a9f1:0x19d,_0x3c5fc8:0x1a4,_0x33c177:0x16f},_0x2543f8=_0x2a65d9;return this[_0x2543f8(_0x145027._0x50a9f1)](_0x2543f8(_0x145027._0x3c5fc8),[_0x3c52a9,_0x2b18a2]),this[_0x2543f8(0x1d1)][_0x2543f8(_0x145027._0x33c177)]?.[_0x2b18a2]??null;}async['waitFor'](_0x11766e,_0x217807){const _0x4737fd=_0x2a65d9;this['record'](_0x4737fd(0x189),[_0x11766e,_0x217807]);}async[_0x2a65d9(0x1c1)](_0x21b16f,_0x457f05){const _0x274e82={_0x4032c1:0x1c1},_0x178036=_0x2a65d9;this[_0x178036(0x19d)](_0x178036(_0x274e82._0x4032c1),[_0x21b16f,_0x457f05]);}async['waitForText'](_0x13debb,_0x3f4ece){const _0x134940={_0x31e472:0x19d},_0x535302=_0x2a65d9;this[_0x535302(_0x134940._0x31e472)](_0x535302(0x197),[_0x13debb,_0x3f4ece]);}async[_0x2a65d9(0x17c)](_0x4e9864){this['record']('waitForNavigation',[_0x4e9864]);}async[_0x2a65d9(0x163)](_0x196e6b,_0x35ae05){const _0x390e12={_0x331ce9:0x19d,_0x569ad6:0x163},_0x460655=_0x2a65d9;this[_0x460655(_0x390e12._0x331ce9)](_0x460655(_0x390e12._0x569ad6),[_0x196e6b,_0x35ae05]);}async['goto'](_0x26e113,_0x2264f7){const _0x26cc52=_0x2a65d9;this['record'](_0x26cc52(0x1c6),[_0x26e113,_0x2264f7]),this[_0x26cc52(0x1aa)]=_0x26e113;}async['reload'](_0x314159){const _0x22d0c1={_0x32c23b:0x19d},_0x151ef6=_0x2a65d9;this[_0x151ef6(_0x22d0c1._0x32c23b)](_0x151ef6(0x17e),[_0x314159]);}async[_0x2a65d9(0x16a)](_0x10362d){const _0x38401a=_0x2a65d9;this[_0x38401a(0x19d)](_0x38401a(0x16a),[_0x10362d]);}async[_0x2a65d9(0x16e)](_0x196bc8){const _0x1356c8={_0x1a0578:0x19d},_0x59aa55=_0x2a65d9;this[_0x59aa55(_0x1356c8._0x1a0578)](_0x59aa55(0x16e),[_0x196bc8]);}async['evaluate'](_0x4a142a){const _0x33c61f=_0x2a65d9;return this['record'](_0x33c61f(0x19f),[_0x4a142a]),void 0x0;}async['evaluateOnLocator'](_0x1900bd,_0x1462a6){const _0x1fe6e2={_0x1a5a28:0x19d,_0x33a7b6:0x15e},_0x5ffbf6=_0x2a65d9;return this[_0x5ffbf6(_0x1fe6e2._0x1a5a28)](_0x5ffbf6(_0x1fe6e2._0x33a7b6),[_0x1900bd,_0x1462a6]),void 0x0;}async['inspectElement'](_0x594e0a){const _0x4de92d={_0x487f86:0x168,_0x194864:0x1cc,_0x538031:0x191,_0x553839:0x1b2},_0x1cfd63=_0x2a65d9;this[_0x1cfd63(0x19d)](_0x1cfd63(0x188),[_0x594e0a]);if(_0x594e0a['steps'][_0x1cfd63(_0x4de92d._0x487f86)]!==0x1||_0x594e0a[_0x1cfd63(_0x4de92d._0x194864)][0x0]['kind']!==_0x1cfd63(_0x4de92d._0x538031))return null;const _0x444e53=_0x594e0a[_0x1cfd63(_0x4de92d._0x194864)][0x0]['ref'],_0x59fc3a=this[_0x1cfd63(0x1d1)][_0x1cfd63(_0x4de92d._0x553839)]?.[_0x444e53];return _0x59fc3a??null;}async[_0x2a65d9(0x196)](_0x4cbb67){const _0x30f795={_0x1cd12e:0x196},_0x393b52=_0x2a65d9;return this['record'](_0x393b52(_0x30f795._0x1cd12e),[_0x4cbb67]),Buffer[_0x393b52(0x1a1)](_0x393b52(0x1bb));}async[_0x2a65d9(0x198)](_0x3f9038){const _0x25fb6e={_0x3cfb4c:0x1cc,_0x26cf05:0x191,_0x180f68:0x1cc,_0x2ea524:0x191,_0x4c9061:0x1d1,_0x555516:0x18b,_0x330925:0x1d7,_0x5bd19e:0x172},_0x156312=_0x2a65d9;this[_0x156312(0x19d)](_0x156312(0x198),[_0x3f9038]);if(_0x3f9038['steps'][_0x156312(0x168)]===0x1&&_0x3f9038[_0x156312(_0x25fb6e._0x3cfb4c)][0x0][_0x156312(0x1b9)]===_0x156312(_0x25fb6e._0x26cf05)){const _0x1727d8=_0x3f9038[_0x156312(_0x25fb6e._0x180f68)][0x0][_0x156312(_0x25fb6e._0x2ea524)];return this[_0x156312(_0x25fb6e._0x4c9061)][_0x156312(0x1c9)]?.[_0x1727d8]??_0x156312(_0x25fb6e._0x555516)+_0x1727d8+_0x156312(_0x25fb6e._0x330925);}return _0x156312(_0x25fb6e._0x5bd19e);}},FakeContext=class{constructor(_0x5e62dc,_0x42949c,_0xcc112d){const _0x16c157={_0x1f2ece:0x1cb,_0x4dad27:0x1a6,_0x5e0c6a:0x17d,_0x1d2aac:0x175,_0x1ae5ac:0x19c,_0x56bb9b:0x15b},_0x5f3405=_0x2a65d9;this['recorder']=_0x5e62dc,this[_0x5f3405(0x1d1)]=_0x42949c,this[_0x5f3405(_0x16c157._0x1f2ece)]=_0xcc112d;const _0x2789ca=new FakePage(_0x5e62dc,_0x42949c,_0xcc112d+'.page0',_0x42949c[_0x5f3405(_0x16c157._0x4dad27)]??'about:blank');_0x42949c[_0x5f3405(_0x16c157._0x5e0c6a)]&&(_0x2789ca[_0x5f3405(0x1c4)]=()=>{const _0x11b343=_0x5f3405;this[_0x11b343(0x1d0)](_0x42949c['popupOnClick']);}),this[_0x5f3405(_0x16c157._0x1d2aac)]=[_0x2789ca],this['localStorageState']={..._0x42949c[_0x5f3405(_0x16c157._0x1ae5ac)]??{}},this[_0x5f3405(_0x16c157._0x56bb9b)]={..._0x42949c[_0x5f3405(0x1bc)]??{}};}[_0x2a65d9(0x1be)];[_0x2a65d9(0x1d1)];[_0x2a65d9(0x1cb)];static{__name(this,_0x2a65d9(0x173));}[_0x2a65d9(0x175)];[_0x2a65d9(0x15d)]=0x0;[_0x2a65d9(0x18e)]=[];[_0x2a65d9(0x1c3)];['cookieState'];[_0x2a65d9(0x1ab)]=new Set();[_0x2a65d9(0x19d)](_0x376ca4,_0xe46cfd){const _0x1400f0={_0x25ae25:0x1be,_0x5b0cf5:0x1ac,_0x5e00b8:0x1cb},_0x1aff51=_0x2a65d9;this[_0x1aff51(_0x1400f0._0x25ae25)][_0x1aff51(_0x1400f0._0x5b0cf5)]({'scope':this[_0x1aff51(_0x1400f0._0x5e00b8)],'method':_0x376ca4,'args':_0xe46cfd});}[_0x2a65d9(0x1b6)](){const _0x385395={_0x302414:0x175},_0x359cd1=_0x2a65d9;return this[_0x359cd1(_0x385395._0x302414)];}[_0x2a65d9(0x179)](){const _0x520108={_0x36be53:0x160},_0x125eeb=_0x2a65d9,_0xa56370=this['pageList'][this[_0x125eeb(0x15d)]];if(!_0xa56370)throw new DriverError(_0x125eeb(_0x520108._0x36be53),{'activeIdx':this[_0x125eeb(0x15d)]});return _0xa56370;}[_0x2a65d9(0x195)](){const _0x2d418c=_0x2a65d9;return this[_0x2d418c(0x1d1)][_0x2d418c(0x195)]??[];}['networkEntries'](){const _0x50c459={_0x117c83:0x1d1},_0x1e0652=_0x2a65d9;return this[_0x1e0652(_0x50c459._0x117c83)][_0x1e0652(0x1c8)]??[];}async[_0x2a65d9(0x1cf)](_0x4f2726){const _0x1b2d2f={_0x2fc339:0x19d,_0x157496:0x15d},_0x43c603=_0x2a65d9;this[_0x43c603(_0x1b2d2f._0x2fc339)]('setActivePage',[_0x4f2726]);if(_0x4f2726<0x0||_0x4f2726>=this[_0x43c603(0x175)]['length'])throw new DriverError('page\x20index\x20out\x20of\x20range',{'index':_0x4f2726,'available':this[_0x43c603(0x175)][_0x43c603(0x168)]});this[_0x43c603(_0x1b2d2f._0x157496)]=_0x4f2726,this['frameStack']['length']=0x0;}['onNewPage'](_0x13f73a){return subscribe(this['newPageListeners'],_0x13f73a);}[_0x2a65d9(0x1d0)](_0x4b7865){const _0x1e6b05={_0x432c7f:0x185,_0x40f889:0x168,_0x13d298:0x1d1},_0x110b87=_0x2a65d9,_0x4e3794=this[_0x110b87(0x1cb)]+_0x110b87(_0x1e6b05._0x432c7f)+this[_0x110b87(0x175)][_0x110b87(_0x1e6b05._0x40f889)],_0x39c412=new FakePage(this[_0x110b87(0x1be)],this[_0x110b87(_0x1e6b05._0x13d298)],_0x4e3794,_0x4b7865);this[_0x110b87(0x175)]['push'](_0x39c412);const _0x51c851=this[_0x110b87(0x175)][_0x110b87(0x168)]-0x1;for(const _0x14fbb4 of this['newPageListeners']){try{_0x14fbb4({'index':_0x51c851,'url':_0x4b7865});}catch{}}return _0x51c851;}[_0x2a65d9(0x169)](_0x1df27f){const _0x3739a4={_0x1680b9:0x1c7,_0x3e1bb:0x164},_0x31a984=_0x2a65d9;if(_0x1df27f<0x0||_0x1df27f>=this[_0x31a984(0x175)]['length'])throw new DriverError(_0x31a984(_0x3739a4._0x1680b9),{'index':_0x1df27f,'available':this['pageList']['length']});this['pageList'][_0x31a984(_0x3739a4._0x3e1bb)](_0x1df27f,0x1);}async[_0x2a65d9(0x1a9)](_0x17eace){const _0x11530f={_0xe756bf:0x1cc,_0x2dc16e:0x168,_0x51f163:0x1bd,_0x367dac:0x1ac},_0x4b1265=_0x2a65d9;this[_0x4b1265(0x19d)](_0x4b1265(0x1a9),[_0x17eace]);if(!_0x17eace[_0x4b1265(_0x11530f._0xe756bf)][_0x4b1265(_0x11530f._0x2dc16e)])throw new LocatorError(_0x4b1265(_0x11530f._0x51f163),{'locator':_0x17eace});this['frameStack'][_0x4b1265(_0x11530f._0x367dac)](_0x17eace);}async[_0x2a65d9(0x1ba)](){const _0x543da6={_0x368255:0x19d,_0x2e767f:0x1ba,_0x46b670:0x184,_0x476000:0x18e,_0x4b72d3:0x19e},_0x254a0e=_0x2a65d9;this[_0x254a0e(_0x543da6._0x368255)](_0x254a0e(_0x543da6._0x2e767f),[]);if(this[_0x254a0e(0x18e)][_0x254a0e(0x168)]===0x0)throw new DriverError(_0x254a0e(_0x543da6._0x46b670),{});this[_0x254a0e(_0x543da6._0x476000)][_0x254a0e(_0x543da6._0x4b72d3)]();}async['setLocalStorage'](_0x5e9b06,_0x45c80f){const _0x4683ad={_0x36cca7:0x19d,_0x52bc3f:0x194},_0x2f663f=_0x2a65d9;this[_0x2f663f(_0x4683ad._0x36cca7)](_0x2f663f(_0x4683ad._0x52bc3f),[_0x5e9b06,_0x45c80f]),this[_0x2f663f(0x1c3)][_0x5e9b06]=_0x45c80f;}async[_0x2a65d9(0x18c)](_0x30fb01){const _0x467e24={_0x16be8c:0x1c3},_0x2ca18e=_0x2a65d9;return this[_0x2ca18e(0x19d)](_0x2ca18e(0x18c),[_0x30fb01]),this[_0x2ca18e(_0x467e24._0x16be8c)][_0x30fb01]??null;}async['setCookie'](_0x2299e0,_0x313512,_0x34f965){const _0x2e7863={_0x4c538e:0x19d,_0x33a7fe:0x180},_0x41d0b7=_0x2a65d9;this[_0x41d0b7(_0x2e7863._0x4c538e)](_0x41d0b7(_0x2e7863._0x33a7fe),[_0x2299e0,_0x313512,_0x34f965]),this[_0x41d0b7(0x15b)][_0x2299e0]=_0x313512;}async[_0x2a65d9(0x1d6)](_0x10aecf){const _0x4c99f3=_0x2a65d9;return this[_0x4c99f3(0x19d)](_0x4c99f3(0x1d6),[_0x10aecf]),this['cookieState'][_0x10aecf]??null;}async[_0x2a65d9(0x1a2)](_0x29f56e){const _0x403cd1=_0x2a65d9;this['record'](_0x403cd1(0x1a2),[_0x29f56e]);}async[_0x2a65d9(0x19f)](_0x4ee16e){const _0x32358a={_0x29a1dc:0x19f},_0x12d5c3=_0x2a65d9;return this['record'](_0x12d5c3(_0x32358a._0x29a1dc),[_0x4ee16e]),void 0x0;}async[_0x2a65d9(0x1cd)](){const _0x3e5432=_0x2a65d9;this[_0x3e5432(0x19d)](_0x3e5432(0x1cd),[]);}[_0x2a65d9(0x165)](){const _0x44bde5={_0x41e56d:0x18e},_0x2bcdaa=_0x2a65d9;return this[_0x2bcdaa(_0x44bde5._0x41e56d)][_0x2bcdaa(0x168)];}},FakeWebDriver=class{constructor(_0x4412e7={}){const _0x1aec4f=_0x2a65d9;this['behavior']=_0x4412e7,this[_0x1aec4f(0x1be)]=createRecorder();}['behavior'];static{__name(this,'FakeWebDriver');}[_0x2a65d9(0x17f)]=![];[_0x2a65d9(0x1be)];[_0x2a65d9(0x17b)]=[];async[_0x2a65d9(0x183)](_0x34be81){const _0x527741={_0x2fe53b:0x1be,_0x597127:0x1b7},_0x232d7d=_0x2a65d9;this[_0x232d7d(_0x527741._0x2fe53b)][_0x232d7d(0x1ac)]({'scope':_0x232d7d(_0x527741._0x597127),'method':'launch','args':[_0x34be81]}),this[_0x232d7d(0x17f)]=!![];}async[_0x2a65d9(0x1a3)](_0xf1e338){const _0x7fb7ad={_0x3d538f:0x1be,_0x176944:0x17a,_0x3d7ffd:0x17b,_0x5740c7:0x1ac},_0x19141b=_0x2a65d9;this[_0x19141b(_0x7fb7ad._0x3d538f)][_0x19141b(0x1ac)]({'scope':_0x19141b(0x1b7),'method':_0x19141b(0x1a3),'args':[_0xf1e338]});if(!this[_0x19141b(0x17f)])throw new DriverError(_0x19141b(0x171),{});const _0x14451a=new FakeContext(this['recorder'],this[_0x19141b(0x1d1)],_0x19141b(_0x7fb7ad._0x176944)+this['contexts']['length']);return this[_0x19141b(_0x7fb7ad._0x3d7ffd)][_0x19141b(_0x7fb7ad._0x5740c7)](_0x14451a),_0x14451a;}async['close'](){const _0xcdec26={_0x254f47:0x1be,_0x82fa4:0x1cd,_0x24e5de:0x17f},_0x24fed3=_0x2a65d9;this[_0x24fed3(_0xcdec26._0x254f47)]['push']({'scope':'driver','method':_0x24fed3(_0xcdec26._0x82fa4),'args':[]}),this[_0x24fed3(_0xcdec26._0x24e5de)]=![];}[_0x2a65d9(0x176)](){return void 0x0;}async[_0x2a65d9(0x15f)](){const _0x22f174={_0x189466:0x18a},_0x2470fa=_0x2a65d9;throw new DriverError(_0x2470fa(_0x22f174._0x189466),{});}[_0x2a65d9(0x182)](){const _0x4918ea=_0x2a65d9;throw new DriverError(_0x4918ea(0x162),{});}[_0x2a65d9(0x166)](){const _0x20e5bf={_0x1b8e5a:0x166},_0x3df7b9=_0x2a65d9;return this['recorder'][_0x3df7b9(_0x20e5bf._0x1b8e5a)]();}['callsFor'](_0xdbac60){const _0x4e8501={_0x53089f:0x1be,_0x7b36aa:0x166},_0x1a2af1=_0x2a65d9;return this[_0x1a2af1(_0x4e8501._0x53089f)][_0x1a2af1(_0x4e8501._0x7b36aa)]()[_0x1a2af1(0x174)](_0x42c304=>_0x42c304[_0x1a2af1(0x1c5)]===_0xdbac60);}};export{FakeWebDriver};function _0x1fc2(){const _0x554740=['AxneAxnHyMXLzej5rgvMyxvSDa','A2LUza','zxHPDezYyw1L','zMfRzs1WBMC','y29VA2LLCW','zw50zxjgCMfTzsbJywXSzwqGD2L0AcbLBxb0EsbSB2nHDg9Y','CMvJB3jKzxi','y2HLy2TLzfn0yxrLqNLezwzHDwX0','mZztv1HjBxm','D2fPDezVCLvYBa','y2HLy2S','Bg9JywXtDg9YywDLu3rHDgu','B25bzNrLCKnSAwnR','Bwv0Ag9K','z290BW','CgfNzsbPBMrLEcbVDxqGB2yGCMfUz2u','BMv0D29YA0vUDhjPzxm','B3v0zxjiDg1SqNLszwy','y2HLy2TLzfn0yxrL','C2nVCgu','C3rLChm','y2XVC2u','ywrK','C2v0qwn0AxzLugfNzq','zw1PDezHA2vqB3b1Ca','yMvOyxzPB3i','Ag92zxi','Aw5WDxrwywX1zq','DxjS','zMfRzsb0AxrSzq','z2v0q29VA2LL','iJ48l2rPDJ4','AxneAxnHyMXLza','Aw5UzxjuzxH0','y29VA2LLu3rHDgu','mtH1AMzpv1q','ywn0AxzLswr4','zxzHBhvHDgvpBKXVy2f0B3i','y29UBMvJDfnOyxjLza','BM8Gywn0AxzLihbHz2uGAw4Gy29UDgv4Da','y2XPy2S','yxr0ywnOrxHPC3rPBMCGBM90ihn1ChbVCNrLzcbIEsbgywTLv2vIrhjPDMvY','D2fPDezVCKXVywrtDgf0zq','C3bSAwnL','zNjHBwvezxb0Aa','y2fSBhm','zg91yMXLq2XPy2S','BgvUz3rO','y2XVC2vgywTLugfNzq','z29cywnR','nJmZmZKZnKnwy05wsq','rMfRzvbHz2u','ChjLC3m','z29gB3j3yxjK','yxr0CMLIDxrLC0j5rgvMyxvSDa','zhjHz0fUzerYB3a','BMv3q29UDgv4DcbJywXSzwqGyMvMB3jLigXHDw5JAcGP','pgrPDJ48l2rPDJ4','rMfRzunVBNrLEhq','zMLSDgvY','CgfNzuXPC3q','D3nfBMrWB2LUDa','mtu1nJmXmfnMwgzRAq','mZaXodu0oeHUwfjUBq','ywn0AxzLugfNzq','y3r4','y29UDgv4Dhm','D2fPDezVCK5HDMLNyxrPB24','Cg9WDxbpBKnSAwnR','CMvSB2fK','Bgf1BMnOzwq','C2v0q29VA2LL','y291BNrcEurLzMf1Bhq','yxr0ywnOrxHPC3rPBMC','Bgf1BMnO','zxHPDezYyw1LignHBgXLzcb3AxrOig5VigzYyw1Lig9UihrOzsbZDgfJAW','lNbHz2u','BMfTzq','AxnwAxnPyMXL','Aw5ZCgvJDevSzw1LBNq','D2fPDezVCG','y29UBMvJDfnOyxjLzcbUB3qGC3vWCg9YDgvKigj5iezHA2vxzwjeCML2zxi','pgrPDIbKyxrHlxvUB3rLC3qTCMvMpsi','z2v0tg9JywXtDg9YywDL','ntGWnJq4EuTntenc','zNjHBwvtDgfJAW','rhjPDMvYrxjYB3i','Aw5UzxjuzxH0qNLezwzHDwX0','CMvM','mtK2ntC5mLb6whPcCG','Dgv4DenVBNrLBNq','C2v0tg9JywXtDg9YywDL','y29UC29SzuvUDhjPzxm','C2nYzwvUC2HVDa','D2fPDezVCLrLEhq','B3v0zxjive1m','Dgv4DenVBNrLBNrcEurLzMf1Bhq','DxbSB2fKrMLSzq','Bwf5yMvuAhjVDW','Bg9JywXtDg9YywDL','CMvJB3jK','Cg9W','zxzHBhvHDgu','y291BNq','zNjVBq','C2f2zvn0B3jHz2vtDgf0zq','BMv3q29UDgv4Da','z2v0qxr0CMLIDxrL','zgvMAw5LuhjVCgvYDhK','Aw5PDgLHBfvYBa','Dw5JAgvJAW','C2nYB2XSsw50B1zPzxC','zw50zxjgCMfTzq','y3vYCMvUDfvYBa','BMv3ugfNzuXPC3rLBMvYCW','ChvZAa','zxjYB3jpBK5LEhrby3rPB24','C2vSzwn0t3b0Aw9U','y2XPCgjVyxjKugfZDgu','ota5mtm2t0z1rKHk','mtK4odyZmwr1AeHOwq','zwXLBwvUDeHPBNrcEvjLzG','zMLSBa','DgL0Bgu','Aw5WDxrwywX1zuj5rgvMyxvSDa','CgfNzxm','zhjPDMvY'];_0x1fc2=function(){return _0x554740;};return _0x1fc2();}
@@ -1,5 +1,5 @@
1
- import { i as LocatorValue, W as WebDriver, D as DriverContext, d as DriverPage } from '../interfaces-B-FxA_qn.js';
2
- export { j as LocatorStep, k as appendStep, l as describeLocator, m as isLocatorValue, r as rootedAt } from '../interfaces-B-FxA_qn.js';
1
+ import { i as LocatorValue, W as WebDriver, D as DriverContext, d as DriverPage } from '../interfaces-SzdtOj1F.js';
2
+ export { j as LocatorStep, k as appendStep, l as describeLocator, m as isLocatorValue, r as rootedAt } from '../interfaces-SzdtOj1F.js';
3
3
  import { Matcher, RegexLiteral, JudgeRequest, JudgeVerdict } from '@unotest/protocol';
4
4
  import { ExecutionWalker, ExecutionEvent, RunResult, RunOptions } from '@unotest/dsl/executor';
5
5
  export { ExecutionError, ExecutionEvent, RunOptions, RunResult } from '@unotest/dsl/executor';