@testmuai/playwright-bindings 0.1.44 → 0.1.45-beta.1
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/README.md +28 -0
- package/dist/configure.d.ts +3 -0
- package/dist/configure.d.ts.map +1 -1
- package/dist/configure.js +8 -0
- package/dist/configure.js.map +1 -1
- package/dist/errors.d.ts +6 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +9 -0
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +87 -100
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +71 -37
- package/dist/index.js.map +1 -1
- package/dist/router.d.ts +53 -0
- package/dist/router.d.ts.map +1 -0
- package/dist/router.js +137 -0
- package/dist/router.js.map +1 -0
- package/dist/v3/actionEngine.d.ts.map +1 -0
- package/dist/v3/actionEngine.js +194 -0
- package/dist/v3/actionEngine.js.map +1 -0
- package/dist/v3/actionSpecs.d.ts.map +1 -0
- package/dist/v3/actionSpecs.js +354 -0
- package/dist/v3/actionSpecs.js.map +1 -0
- package/dist/v3/capability.d.ts.map +1 -0
- package/dist/v3/capability.js +346 -0
- package/dist/v3/capability.js.map +1 -0
- package/dist/v3/downloadsPath.d.ts.map +1 -0
- package/dist/v3/downloadsPath.js.map +1 -0
- package/dist/v3/healCache.d.ts.map +1 -0
- package/dist/v3/healCache.js.map +1 -0
- package/dist/v3/healPatch.d.ts +22 -0
- package/dist/v3/healPatch.d.ts.map +1 -0
- package/dist/v3/healPatch.js +345 -0
- package/dist/v3/healPatch.js.map +1 -0
- package/dist/v3/helpers/a11yFlatten.d.ts.map +1 -0
- package/dist/v3/helpers/a11yFlatten.js +569 -0
- package/dist/v3/helpers/a11yFlatten.js.map +1 -0
- package/dist/v3/helpers/apiCalls.d.ts.map +1 -0
- package/dist/v3/helpers/apiCalls.js +59 -0
- package/dist/v3/helpers/apiCalls.js.map +1 -0
- package/dist/v3/helpers/assertion.d.ts.map +1 -0
- package/dist/v3/helpers/assertion.js +105 -0
- package/dist/v3/helpers/assertion.js.map +1 -0
- package/dist/v3/helpers/assertionV3.d.ts.map +1 -0
- package/dist/v3/helpers/assertionV3.js.map +1 -0
- package/dist/v3/helpers/autohealAx.d.ts.map +1 -0
- package/dist/v3/helpers/autohealAx.js +148 -0
- package/dist/v3/helpers/autohealAx.js.map +1 -0
- package/dist/v3/helpers/axTree/actionable.d.ts.map +1 -0
- package/dist/v3/helpers/axTree/actionable.js +404 -0
- package/dist/v3/helpers/axTree/actionable.js.map +1 -0
- package/dist/v3/helpers/axTree/captureAxTree.d.ts.map +1 -0
- package/dist/v3/helpers/axTree/captureAxTree.js.map +1 -0
- package/dist/v3/helpers/axTree/captureFrameForest.d.ts.map +1 -0
- package/dist/v3/helpers/axTree/captureFrameForest.js +475 -0
- package/dist/v3/helpers/axTree/captureFrameForest.js.map +1 -0
- package/dist/v3/helpers/axTree/index.d.ts.map +1 -0
- package/dist/v3/helpers/axTree/index.js.map +1 -0
- package/dist/v3/helpers/axTree/serializeAxTree.d.ts.map +1 -0
- package/dist/v3/helpers/axTree/serializeAxTree.js.map +1 -0
- package/dist/v3/helpers/clipboard-intercept.d.ts.map +1 -0
- package/dist/v3/helpers/clipboard-intercept.js.map +1 -0
- package/dist/v3/helpers/clipboard.d.ts.map +1 -0
- package/dist/v3/helpers/clipboard.js.map +1 -0
- package/dist/v3/helpers/condition.d.ts +100 -0
- package/dist/v3/helpers/condition.d.ts.map +1 -0
- package/dist/v3/helpers/condition.js +356 -0
- package/dist/v3/helpers/condition.js.map +1 -0
- package/dist/v3/helpers/cookies.d.ts.map +1 -0
- package/dist/v3/helpers/cookies.js +66 -0
- package/dist/v3/helpers/cookies.js.map +1 -0
- package/dist/v3/helpers/coordinateResolver.d.ts.map +1 -0
- package/dist/v3/helpers/coordinateResolver.js +118 -0
- package/dist/v3/helpers/coordinateResolver.js.map +1 -0
- package/dist/v3/helpers/coordinateResolverRead.d.ts.map +1 -0
- package/dist/v3/helpers/coordinateResolverRead.js +107 -0
- package/dist/v3/helpers/coordinateResolverRead.js.map +1 -0
- package/dist/v3/helpers/credits.d.ts.map +1 -0
- package/dist/v3/helpers/credits.js +52 -0
- package/dist/v3/helpers/credits.js.map +1 -0
- package/dist/v3/helpers/derive.d.ts.map +1 -0
- package/dist/v3/helpers/derive.js +87 -0
- package/dist/v3/helpers/derive.js.map +1 -0
- package/dist/v3/helpers/devtools.d.ts.map +1 -0
- package/dist/v3/helpers/devtools.js +1215 -0
- package/dist/v3/helpers/devtools.js.map +1 -0
- package/dist/v3/helpers/dialog.d.ts.map +1 -0
- package/dist/v3/helpers/dialog.js.map +1 -0
- package/dist/v3/helpers/drag.d.ts.map +1 -0
- package/dist/v3/helpers/drag.js +276 -0
- package/dist/v3/helpers/drag.js.map +1 -0
- package/dist/v3/helpers/evaluation/colors.d.ts.map +1 -0
- package/dist/v3/helpers/evaluation/colors.js.map +1 -0
- package/dist/v3/helpers/evaluation/evaluate.d.ts.map +1 -0
- package/dist/v3/helpers/evaluation/evaluate.js.map +1 -0
- package/dist/v3/helpers/executeApi.d.ts.map +1 -0
- package/dist/v3/helpers/executeApi.js +373 -0
- package/dist/v3/helpers/executeApi.js.map +1 -0
- package/dist/v3/helpers/executeDb.d.ts.map +1 -0
- package/dist/v3/helpers/executeDb.js +54 -0
- package/dist/v3/helpers/executeDb.js.map +1 -0
- package/dist/v3/helpers/executeJs.d.ts.map +1 -0
- package/dist/v3/helpers/executeJs.js +93 -0
- package/dist/v3/helpers/executeJs.js.map +1 -0
- package/dist/v3/helpers/gesture.d.ts.map +1 -0
- package/dist/v3/helpers/gesture.js +131 -0
- package/dist/v3/helpers/gesture.js.map +1 -0
- package/dist/v3/helpers/healCascade.d.ts.map +1 -0
- package/dist/v3/helpers/healCascade.js +418 -0
- package/dist/v3/helpers/healCascade.js.map +1 -0
- package/dist/v3/helpers/iframeA11y.d.ts.map +1 -0
- package/dist/v3/helpers/iframeA11y.js +128 -0
- package/dist/v3/helpers/iframeA11y.js.map +1 -0
- package/dist/v3/helpers/kaneCli.d.ts.map +1 -0
- package/dist/v3/helpers/kaneCli.js +319 -0
- package/dist/v3/helpers/kaneCli.js.map +1 -0
- package/dist/v3/helpers/loop.d.ts +4 -0
- package/dist/v3/helpers/loop.d.ts.map +1 -0
- package/dist/v3/helpers/loop.js +4 -0
- package/dist/v3/helpers/loop.js.map +1 -0
- package/dist/v3/helpers/math.d.ts.map +1 -0
- package/dist/v3/helpers/math.js +119 -0
- package/dist/v3/helpers/math.js.map +1 -0
- package/dist/v3/helpers/network.d.ts.map +1 -0
- package/dist/v3/helpers/network.js +185 -0
- package/dist/v3/helpers/network.js.map +1 -0
- package/dist/v3/helpers/pageReady.d.ts.map +1 -0
- package/dist/v3/helpers/pageReady.js +85 -0
- package/dist/v3/helpers/pageReady.js.map +1 -0
- package/dist/v3/helpers/png.d.ts.map +1 -0
- package/dist/v3/helpers/png.js.map +1 -0
- package/dist/v3/helpers/queryResult.d.ts.map +1 -0
- package/dist/v3/helpers/queryResult.js.map +1 -0
- package/dist/v3/helpers/runtimeSnapshot.d.ts.map +1 -0
- package/dist/v3/helpers/runtimeSnapshot.js +204 -0
- package/dist/v3/helpers/runtimeSnapshot.js.map +1 -0
- package/dist/v3/helpers/schemaAssertion.d.ts.map +1 -0
- package/dist/v3/helpers/schemaAssertion.js +117 -0
- package/dist/v3/helpers/schemaAssertion.js.map +1 -0
- package/dist/v3/helpers/screenshot.d.ts +41 -0
- package/dist/v3/helpers/screenshot.d.ts.map +1 -0
- package/dist/v3/helpers/screenshot.js +83 -0
- package/dist/v3/helpers/screenshot.js.map +1 -0
- package/dist/v3/helpers/scrollUntil.d.ts.map +1 -0
- package/dist/v3/helpers/scrollUntil.js +90 -0
- package/dist/v3/helpers/scrollUntil.js.map +1 -0
- package/dist/v3/helpers/smartui.d.ts.map +1 -0
- package/dist/v3/helpers/smartui.js +77 -0
- package/dist/v3/helpers/smartui.js.map +1 -0
- package/dist/v3/helpers/sseParser.d.ts.map +1 -0
- package/dist/v3/helpers/sseParser.js.map +1 -0
- package/dist/v3/helpers/tabs.d.ts +43 -0
- package/dist/v3/helpers/tabs.d.ts.map +1 -0
- package/dist/v3/helpers/tabs.js +258 -0
- package/dist/v3/helpers/tabs.js.map +1 -0
- package/dist/v3/helpers/text.d.ts.map +1 -0
- package/dist/v3/helpers/text.js.map +1 -0
- package/dist/v3/helpers/textNormalize.d.ts.map +1 -0
- package/dist/v3/helpers/textNormalize.js.map +1 -0
- package/dist/v3/helpers/textualAnalyzer/domStructured.d.ts.map +1 -0
- package/dist/v3/helpers/textualAnalyzer/domStructured.js +242 -0
- package/dist/v3/helpers/textualAnalyzer/domStructured.js.map +1 -0
- package/dist/v3/helpers/textualAnalyzer/evaluate.d.ts.map +1 -0
- package/dist/v3/helpers/textualAnalyzer/evaluate.js.map +1 -0
- package/dist/v3/helpers/textualAnalyzer/extractor.d.ts.map +1 -0
- package/dist/v3/helpers/textualAnalyzer/extractor.js.map +1 -0
- package/dist/v3/helpers/textualAnalyzer/heal.d.ts.map +1 -0
- package/dist/v3/helpers/textualAnalyzer/heal.js +120 -0
- package/dist/v3/helpers/textualAnalyzer/heal.js.map +1 -0
- package/dist/v3/helpers/textualAnalyzer/index.d.ts.map +1 -0
- package/dist/v3/helpers/textualAnalyzer/index.js +60 -0
- package/dist/v3/helpers/textualAnalyzer/index.js.map +1 -0
- package/dist/v3/helpers/textualAnalyzer/locatorEnrichment.d.ts.map +1 -0
- package/dist/v3/helpers/textualAnalyzer/locatorEnrichment.js +224 -0
- package/dist/v3/helpers/textualAnalyzer/locatorEnrichment.js.map +1 -0
- package/dist/v3/helpers/textualRead.d.ts.map +1 -0
- package/dist/v3/helpers/textualRead.js.map +1 -0
- package/dist/v3/helpers/vision.d.ts +79 -0
- package/dist/v3/helpers/vision.d.ts.map +1 -0
- package/dist/v3/helpers/vision.js +235 -0
- package/dist/v3/helpers/vision.js.map +1 -0
- package/dist/v3/helpers/visionFence.d.ts.map +1 -0
- package/dist/v3/helpers/visionFence.js.map +1 -0
- package/dist/v3/helpers/visionV3.d.ts +52 -0
- package/dist/v3/helpers/visionV3.d.ts.map +1 -0
- package/dist/v3/helpers/visionV3.js +366 -0
- package/dist/v3/helpers/visionV3.js.map +1 -0
- package/dist/v3/helpers/wait.d.ts.map +1 -0
- package/dist/v3/helpers/wait.js +48 -0
- package/dist/v3/helpers/wait.js.map +1 -0
- package/dist/v3/http.d.ts.map +1 -0
- package/dist/v3/http.js +45 -0
- package/dist/v3/http.js.map +1 -0
- package/dist/v3/httpClient.d.ts.map +1 -0
- package/dist/v3/httpClient.js.map +1 -0
- package/dist/v3/index.d.ts +40 -0
- package/dist/v3/index.d.ts.map +1 -0
- package/dist/v3/index.js +41 -0
- package/dist/v3/index.js.map +1 -0
- package/dist/v3/rankedLocator.d.ts.map +1 -0
- package/dist/v3/rankedLocator.js +85 -0
- package/dist/v3/rankedLocator.js.map +1 -0
- package/dist/v3/relayProxy.d.ts.map +1 -0
- package/dist/v3/relayProxy.js +485 -0
- package/dist/v3/relayProxy.js.map +1 -0
- package/dist/v3/reporters/index.d.ts.map +1 -0
- package/dist/v3/reporters/index.js +7 -0
- package/dist/v3/reporters/index.js.map +1 -0
- package/dist/v3/reporters/local.d.ts.map +1 -0
- package/dist/v3/reporters/local.js +40 -0
- package/dist/v3/reporters/local.js.map +1 -0
- package/dist/v3/reporters/lt.d.ts.map +1 -0
- package/dist/v3/reporters/lt.js +122 -0
- package/dist/v3/reporters/lt.js.map +1 -0
- package/dist/v3/reporters/null.d.ts.map +1 -0
- package/dist/v3/reporters/null.js.map +1 -0
- package/dist/v3/routeFailure.d.ts.map +1 -0
- package/dist/v3/routeFailure.js +34 -0
- package/dist/v3/routeFailure.js.map +1 -0
- package/dist/v3/session.d.ts.map +1 -0
- package/dist/v3/session.js +312 -0
- package/dist/v3/session.js.map +1 -0
- package/dist/v3/step.d.ts.map +1 -0
- package/dist/v3/step.js +112 -0
- package/dist/v3/step.js.map +1 -0
- package/dist/v3/stepVariables.d.ts.map +1 -0
- package/dist/v3/stepVariables.js +61 -0
- package/dist/v3/stepVariables.js.map +1 -0
- package/dist/v3/test.d.ts.map +1 -0
- package/dist/v3/test.js.map +1 -0
- package/dist/v3/testConfig.d.ts.map +1 -0
- package/dist/v3/testConfig.js.map +1 -0
- package/dist/v3/testState.d.ts.map +1 -0
- package/dist/v3/testState.js.map +1 -0
- package/dist/v3/vars.d.ts +84 -0
- package/dist/v3/vars.d.ts.map +1 -0
- package/dist/v3/vars.js +913 -0
- package/dist/v3/vars.js.map +1 -0
- package/dist/v3/visionLocator.d.ts.map +1 -0
- package/dist/v3/visionLocator.js +117 -0
- package/dist/v3/visionLocator.js.map +1 -0
- package/dist/v4/actionEngine.d.ts +37 -0
- package/dist/v4/actionEngine.d.ts.map +1 -0
- package/dist/v4/actionEngine.js +194 -0
- package/dist/v4/actionEngine.js.map +1 -0
- package/dist/v4/actionSpecs.d.ts +35 -0
- package/dist/v4/actionSpecs.d.ts.map +1 -0
- package/dist/v4/actionSpecs.js +354 -0
- package/dist/v4/actionSpecs.js.map +1 -0
- package/dist/v4/capability.d.ts +81 -0
- package/dist/v4/capability.d.ts.map +1 -0
- package/dist/v4/capability.js +346 -0
- package/dist/v4/capability.js.map +1 -0
- package/dist/v4/downloadsPath.d.ts +17 -0
- package/dist/v4/downloadsPath.d.ts.map +1 -0
- package/dist/v4/downloadsPath.js +26 -0
- package/dist/v4/downloadsPath.js.map +1 -0
- package/dist/v4/healCache.d.ts +28 -0
- package/dist/v4/healCache.d.ts.map +1 -0
- package/dist/v4/healCache.js +17 -0
- package/dist/v4/healCache.js.map +1 -0
- package/dist/v4/healPatch.d.ts +22 -0
- package/dist/v4/healPatch.d.ts.map +1 -0
- package/dist/v4/healPatch.js +415 -0
- package/dist/v4/healPatch.js.map +1 -0
- package/dist/v4/helpers/a11yFlatten.d.ts +37 -0
- package/dist/v4/helpers/a11yFlatten.d.ts.map +1 -0
- package/dist/v4/helpers/a11yFlatten.js +569 -0
- package/dist/v4/helpers/a11yFlatten.js.map +1 -0
- package/dist/v4/helpers/apiCalls.d.ts +26 -0
- package/dist/v4/helpers/apiCalls.d.ts.map +1 -0
- package/dist/v4/helpers/apiCalls.js +59 -0
- package/dist/v4/helpers/apiCalls.js.map +1 -0
- package/dist/v4/helpers/assertion.d.ts +26 -0
- package/dist/v4/helpers/assertion.d.ts.map +1 -0
- package/dist/v4/helpers/assertion.js +134 -0
- package/dist/v4/helpers/assertion.js.map +1 -0
- package/dist/v4/helpers/assertionV3.d.ts +70 -0
- package/dist/v4/helpers/assertionV3.d.ts.map +1 -0
- package/dist/v4/helpers/assertionV3.js +400 -0
- package/dist/v4/helpers/assertionV3.js.map +1 -0
- package/dist/v4/helpers/autohealAx.d.ts +41 -0
- package/dist/v4/helpers/autohealAx.d.ts.map +1 -0
- package/dist/v4/helpers/autohealAx.js +148 -0
- package/dist/v4/helpers/autohealAx.js.map +1 -0
- package/dist/v4/helpers/axTree/actionable.d.ts +143 -0
- package/dist/v4/helpers/axTree/actionable.d.ts.map +1 -0
- package/dist/v4/helpers/axTree/actionable.js +404 -0
- package/dist/v4/helpers/axTree/actionable.js.map +1 -0
- package/dist/v4/helpers/axTree/captureAxTree.d.ts +21 -0
- package/dist/v4/helpers/axTree/captureAxTree.d.ts.map +1 -0
- package/dist/v4/helpers/axTree/captureAxTree.js +15 -0
- package/dist/v4/helpers/axTree/captureAxTree.js.map +1 -0
- package/dist/v4/helpers/axTree/captureFrameForest.d.ts +52 -0
- package/dist/v4/helpers/axTree/captureFrameForest.d.ts.map +1 -0
- package/dist/v4/helpers/axTree/captureFrameForest.js +475 -0
- package/dist/v4/helpers/axTree/captureFrameForest.js.map +1 -0
- package/dist/v4/helpers/axTree/index.d.ts +10 -0
- package/dist/v4/helpers/axTree/index.d.ts.map +1 -0
- package/dist/v4/helpers/axTree/index.js +8 -0
- package/dist/v4/helpers/axTree/index.js.map +1 -0
- package/dist/v4/helpers/axTree/serializeAxTree.d.ts +106 -0
- package/dist/v4/helpers/axTree/serializeAxTree.d.ts.map +1 -0
- package/dist/v4/helpers/axTree/serializeAxTree.js +238 -0
- package/dist/v4/helpers/axTree/serializeAxTree.js.map +1 -0
- package/dist/v4/helpers/clipboard-intercept.d.ts +5 -0
- package/dist/v4/helpers/clipboard-intercept.d.ts.map +1 -0
- package/dist/v4/helpers/clipboard-intercept.js +149 -0
- package/dist/v4/helpers/clipboard-intercept.js.map +1 -0
- package/dist/v4/helpers/clipboard.d.ts +27 -0
- package/dist/v4/helpers/clipboard.d.ts.map +1 -0
- package/dist/v4/helpers/clipboard.js +70 -0
- package/dist/v4/helpers/clipboard.js.map +1 -0
- package/dist/v4/helpers/condition.d.ts +100 -0
- package/dist/v4/helpers/condition.d.ts.map +1 -0
- package/dist/v4/helpers/condition.js +356 -0
- package/dist/v4/helpers/condition.js.map +1 -0
- package/dist/v4/helpers/cookies.d.ts +12 -0
- package/dist/v4/helpers/cookies.d.ts.map +1 -0
- package/dist/v4/helpers/cookies.js +66 -0
- package/dist/v4/helpers/cookies.js.map +1 -0
- package/dist/v4/helpers/coordinateResolver.d.ts +29 -0
- package/dist/v4/helpers/coordinateResolver.d.ts.map +1 -0
- package/dist/v4/helpers/coordinateResolver.js +118 -0
- package/dist/v4/helpers/coordinateResolver.js.map +1 -0
- package/dist/v4/helpers/credits.d.ts +19 -0
- package/dist/v4/helpers/credits.d.ts.map +1 -0
- package/dist/v4/helpers/credits.js +52 -0
- package/dist/v4/helpers/credits.js.map +1 -0
- package/dist/v4/helpers/derive.d.ts +27 -0
- package/dist/v4/helpers/derive.d.ts.map +1 -0
- package/dist/v4/helpers/derive.js +87 -0
- package/dist/v4/helpers/derive.js.map +1 -0
- package/dist/v4/helpers/devtools.d.ts +39 -0
- package/dist/v4/helpers/devtools.d.ts.map +1 -0
- package/dist/v4/helpers/devtools.js +1215 -0
- package/dist/v4/helpers/devtools.js.map +1 -0
- package/dist/v4/helpers/dialog.d.ts +29 -0
- package/dist/v4/helpers/dialog.d.ts.map +1 -0
- package/dist/v4/helpers/dialog.js +35 -0
- package/dist/v4/helpers/dialog.js.map +1 -0
- package/dist/v4/helpers/drag.d.ts +38 -0
- package/dist/v4/helpers/drag.d.ts.map +1 -0
- package/dist/v4/helpers/drag.js +245 -0
- package/dist/v4/helpers/drag.js.map +1 -0
- package/dist/v4/helpers/evaluation/colors.d.ts +2 -0
- package/dist/v4/helpers/evaluation/colors.d.ts.map +1 -0
- package/dist/v4/helpers/evaluation/colors.js +151 -0
- package/dist/v4/helpers/evaluation/colors.js.map +1 -0
- package/dist/v4/helpers/evaluation/evaluate.d.ts +10 -0
- package/dist/v4/helpers/evaluation/evaluate.d.ts.map +1 -0
- package/dist/v4/helpers/evaluation/evaluate.js +423 -0
- package/dist/v4/helpers/evaluation/evaluate.js.map +1 -0
- package/dist/v4/helpers/executeApi.d.ts +63 -0
- package/dist/v4/helpers/executeApi.d.ts.map +1 -0
- package/dist/v4/helpers/executeApi.js +363 -0
- package/dist/v4/helpers/executeApi.js.map +1 -0
- package/dist/v4/helpers/executeDb.d.ts +11 -0
- package/dist/v4/helpers/executeDb.d.ts.map +1 -0
- package/dist/v4/helpers/executeDb.js +54 -0
- package/dist/v4/helpers/executeDb.js.map +1 -0
- package/dist/v4/helpers/executeJs.d.ts +16 -0
- package/dist/v4/helpers/executeJs.d.ts.map +1 -0
- package/dist/v4/helpers/executeJs.js +86 -0
- package/dist/v4/helpers/executeJs.js.map +1 -0
- package/dist/v4/helpers/gesture.d.ts +45 -0
- package/dist/v4/helpers/gesture.d.ts.map +1 -0
- package/dist/v4/helpers/gesture.js +131 -0
- package/dist/v4/helpers/gesture.js.map +1 -0
- package/dist/v4/helpers/healCascade.d.ts +39 -0
- package/dist/v4/helpers/healCascade.d.ts.map +1 -0
- package/dist/v4/helpers/healCascade.js +418 -0
- package/dist/v4/helpers/healCascade.js.map +1 -0
- package/dist/v4/helpers/kaneCli.d.ts +18 -0
- package/dist/v4/helpers/kaneCli.d.ts.map +1 -0
- package/dist/v4/helpers/kaneCli.js +319 -0
- package/dist/v4/helpers/kaneCli.js.map +1 -0
- package/dist/v4/helpers/loop.d.ts +4 -0
- package/dist/v4/helpers/loop.d.ts.map +1 -0
- package/dist/v4/helpers/loop.js +4 -0
- package/dist/v4/helpers/loop.js.map +1 -0
- package/dist/v4/helpers/math.d.ts +19 -0
- package/dist/v4/helpers/math.d.ts.map +1 -0
- package/dist/v4/helpers/math.js +117 -0
- package/dist/v4/helpers/math.js.map +1 -0
- package/dist/v4/helpers/network.d.ts +27 -0
- package/dist/v4/helpers/network.d.ts.map +1 -0
- package/dist/v4/helpers/network.js +185 -0
- package/dist/v4/helpers/network.js.map +1 -0
- package/dist/v4/helpers/pageReady.d.ts +27 -0
- package/dist/v4/helpers/pageReady.d.ts.map +1 -0
- package/dist/v4/helpers/pageReady.js +69 -0
- package/dist/v4/helpers/pageReady.js.map +1 -0
- package/dist/v4/helpers/png.d.ts +3 -0
- package/dist/v4/helpers/png.d.ts.map +1 -0
- package/dist/v4/helpers/png.js +18 -0
- package/dist/v4/helpers/png.js.map +1 -0
- package/dist/v4/helpers/queryResult.d.ts +13 -0
- package/dist/v4/helpers/queryResult.d.ts.map +1 -0
- package/dist/v4/helpers/queryResult.js +27 -0
- package/dist/v4/helpers/queryResult.js.map +1 -0
- package/dist/v4/helpers/runtimeSnapshot.d.ts +37 -0
- package/dist/v4/helpers/runtimeSnapshot.d.ts.map +1 -0
- package/dist/v4/helpers/runtimeSnapshot.js +101 -0
- package/dist/v4/helpers/runtimeSnapshot.js.map +1 -0
- package/dist/v4/helpers/schemaAssertion.d.ts +12 -0
- package/dist/v4/helpers/schemaAssertion.d.ts.map +1 -0
- package/dist/v4/helpers/schemaAssertion.js +117 -0
- package/dist/v4/helpers/schemaAssertion.js.map +1 -0
- package/dist/v4/helpers/screenshot.d.ts +40 -0
- package/dist/v4/helpers/screenshot.d.ts.map +1 -0
- package/dist/v4/helpers/screenshot.js +82 -0
- package/dist/v4/helpers/screenshot.js.map +1 -0
- package/dist/v4/helpers/scrollUntil.d.ts +13 -0
- package/dist/v4/helpers/scrollUntil.d.ts.map +1 -0
- package/dist/v4/helpers/scrollUntil.js +90 -0
- package/dist/v4/helpers/scrollUntil.js.map +1 -0
- package/dist/v4/helpers/smartui.d.ts +9 -0
- package/dist/v4/helpers/smartui.d.ts.map +1 -0
- package/dist/v4/helpers/smartui.js +77 -0
- package/dist/v4/helpers/smartui.js.map +1 -0
- package/dist/v4/helpers/sseParser.d.ts +34 -0
- package/dist/v4/helpers/sseParser.d.ts.map +1 -0
- package/dist/v4/helpers/sseParser.js +128 -0
- package/dist/v4/helpers/sseParser.js.map +1 -0
- package/dist/v4/helpers/tabs.d.ts +32 -0
- package/dist/v4/helpers/tabs.d.ts.map +1 -0
- package/dist/v4/helpers/tabs.js +89 -0
- package/dist/v4/helpers/tabs.js.map +1 -0
- package/dist/v4/helpers/text.d.ts +15 -0
- package/dist/v4/helpers/text.d.ts.map +1 -0
- package/dist/v4/helpers/text.js +24 -0
- package/dist/v4/helpers/text.js.map +1 -0
- package/dist/v4/helpers/textNormalize.d.ts +18 -0
- package/dist/v4/helpers/textNormalize.d.ts.map +1 -0
- package/dist/v4/helpers/textNormalize.js +39 -0
- package/dist/v4/helpers/textNormalize.js.map +1 -0
- package/dist/v4/helpers/textualAnalyzer/domStructured.d.ts +44 -0
- package/dist/v4/helpers/textualAnalyzer/domStructured.d.ts.map +1 -0
- package/dist/v4/helpers/textualAnalyzer/domStructured.js +242 -0
- package/dist/v4/helpers/textualAnalyzer/domStructured.js.map +1 -0
- package/dist/v4/helpers/textualAnalyzer/evaluate.d.ts +14 -0
- package/dist/v4/helpers/textualAnalyzer/evaluate.d.ts.map +1 -0
- package/dist/v4/helpers/textualAnalyzer/evaluate.js +5 -0
- package/dist/v4/helpers/textualAnalyzer/evaluate.js.map +1 -0
- package/dist/v4/helpers/textualAnalyzer/extractor.d.ts +21 -0
- package/dist/v4/helpers/textualAnalyzer/extractor.d.ts.map +1 -0
- package/dist/v4/helpers/textualAnalyzer/extractor.js +38 -0
- package/dist/v4/helpers/textualAnalyzer/extractor.js.map +1 -0
- package/dist/v4/helpers/textualAnalyzer/heal.d.ts +25 -0
- package/dist/v4/helpers/textualAnalyzer/heal.d.ts.map +1 -0
- package/dist/v4/helpers/textualAnalyzer/heal.js +120 -0
- package/dist/v4/helpers/textualAnalyzer/heal.js.map +1 -0
- package/dist/v4/helpers/textualAnalyzer/index.d.ts +29 -0
- package/dist/v4/helpers/textualAnalyzer/index.d.ts.map +1 -0
- package/dist/v4/helpers/textualAnalyzer/index.js +60 -0
- package/dist/v4/helpers/textualAnalyzer/index.js.map +1 -0
- package/dist/v4/helpers/textualAnalyzer/locatorEnrichment.d.ts +47 -0
- package/dist/v4/helpers/textualAnalyzer/locatorEnrichment.d.ts.map +1 -0
- package/dist/v4/helpers/textualAnalyzer/locatorEnrichment.js +224 -0
- package/dist/v4/helpers/textualAnalyzer/locatorEnrichment.js.map +1 -0
- package/dist/v4/helpers/vision.d.ts.map +1 -0
- package/dist/v4/helpers/vision.js +487 -0
- package/dist/v4/helpers/vision.js.map +1 -0
- package/dist/v4/helpers/wait.d.ts +16 -0
- package/dist/v4/helpers/wait.d.ts.map +1 -0
- package/dist/v4/helpers/wait.js +48 -0
- package/dist/v4/helpers/wait.js.map +1 -0
- package/dist/v4/http.d.ts +14 -0
- package/dist/v4/http.d.ts.map +1 -0
- package/dist/v4/http.js +45 -0
- package/dist/v4/http.js.map +1 -0
- package/dist/v4/httpClient.d.ts +18 -0
- package/dist/v4/httpClient.d.ts.map +1 -0
- package/dist/v4/httpClient.js +140 -0
- package/dist/v4/httpClient.js.map +1 -0
- package/dist/v4/index.d.ts +40 -0
- package/dist/v4/index.d.ts.map +1 -0
- package/dist/v4/index.js +41 -0
- package/dist/v4/index.js.map +1 -0
- package/dist/v4/rankedLocator.d.ts +27 -0
- package/dist/v4/rankedLocator.d.ts.map +1 -0
- package/dist/v4/rankedLocator.js +85 -0
- package/dist/v4/rankedLocator.js.map +1 -0
- package/dist/v4/relayProxy.d.ts +46 -0
- package/dist/v4/relayProxy.d.ts.map +1 -0
- package/dist/v4/relayProxy.js +485 -0
- package/dist/v4/relayProxy.js.map +1 -0
- package/dist/v4/reporters/index.d.ts +33 -0
- package/dist/v4/reporters/index.d.ts.map +1 -0
- package/dist/v4/reporters/index.js +7 -0
- package/dist/v4/reporters/index.js.map +1 -0
- package/dist/v4/reporters/local.d.ts +13 -0
- package/dist/v4/reporters/local.d.ts.map +1 -0
- package/dist/v4/reporters/local.js +40 -0
- package/dist/v4/reporters/local.js.map +1 -0
- package/dist/v4/reporters/lt.d.ts +28 -0
- package/dist/v4/reporters/lt.d.ts.map +1 -0
- package/dist/v4/reporters/lt.js +110 -0
- package/dist/v4/reporters/lt.js.map +1 -0
- package/dist/v4/reporters/null.d.ts +11 -0
- package/dist/v4/reporters/null.d.ts.map +1 -0
- package/dist/v4/reporters/null.js +10 -0
- package/dist/v4/reporters/null.js.map +1 -0
- package/dist/v4/routeFailure.d.ts +9 -0
- package/dist/v4/routeFailure.d.ts.map +1 -0
- package/dist/v4/routeFailure.js +34 -0
- package/dist/v4/routeFailure.js.map +1 -0
- package/dist/v4/session.d.ts +22 -0
- package/dist/v4/session.d.ts.map +1 -0
- package/dist/v4/session.js +312 -0
- package/dist/v4/session.js.map +1 -0
- package/dist/v4/step.d.ts +53 -0
- package/dist/v4/step.d.ts.map +1 -0
- package/dist/v4/step.js +95 -0
- package/dist/v4/step.js.map +1 -0
- package/dist/v4/stepVariables.d.ts +15 -0
- package/dist/v4/stepVariables.d.ts.map +1 -0
- package/dist/v4/stepVariables.js +61 -0
- package/dist/v4/stepVariables.js.map +1 -0
- package/dist/v4/test.d.ts +10 -0
- package/dist/v4/test.d.ts.map +1 -0
- package/dist/v4/test.js +5 -0
- package/dist/v4/test.js.map +1 -0
- package/dist/v4/testConfig.d.ts +12 -0
- package/dist/v4/testConfig.d.ts.map +1 -0
- package/dist/v4/testConfig.js +89 -0
- package/dist/v4/testConfig.js.map +1 -0
- package/dist/v4/testState.d.ts +10 -0
- package/dist/v4/testState.d.ts.map +1 -0
- package/dist/v4/testState.js +16 -0
- package/dist/v4/testState.js.map +1 -0
- package/dist/v4/vars.d.ts +84 -0
- package/dist/v4/vars.d.ts.map +1 -0
- package/dist/v4/vars.js +912 -0
- package/dist/v4/vars.js.map +1 -0
- package/dist/v4/visionLocator.d.ts +53 -0
- package/dist/v4/visionLocator.d.ts.map +1 -0
- package/dist/v4/visionLocator.js +117 -0
- package/dist/v4/visionLocator.js.map +1 -0
- package/package.json +1 -1
- package/dist/actionEngine.d.ts.map +0 -1
- package/dist/actionEngine.js +0 -194
- package/dist/actionEngine.js.map +0 -1
- package/dist/actionSpecs.d.ts.map +0 -1
- package/dist/actionSpecs.js +0 -354
- package/dist/actionSpecs.js.map +0 -1
- package/dist/capability.d.ts.map +0 -1
- package/dist/capability.js +0 -346
- package/dist/capability.js.map +0 -1
- package/dist/downloadsPath.d.ts.map +0 -1
- package/dist/downloadsPath.js.map +0 -1
- package/dist/healCache.d.ts.map +0 -1
- package/dist/healCache.js.map +0 -1
- package/dist/healPatch.d.ts +0 -20
- package/dist/healPatch.d.ts.map +0 -1
- package/dist/healPatch.js +0 -429
- package/dist/healPatch.js.map +0 -1
- package/dist/helpers/a11yFlatten.d.ts.map +0 -1
- package/dist/helpers/a11yFlatten.js +0 -569
- package/dist/helpers/a11yFlatten.js.map +0 -1
- package/dist/helpers/apiCalls.d.ts.map +0 -1
- package/dist/helpers/apiCalls.js +0 -59
- package/dist/helpers/apiCalls.js.map +0 -1
- package/dist/helpers/assertion.d.ts.map +0 -1
- package/dist/helpers/assertion.js +0 -152
- package/dist/helpers/assertion.js.map +0 -1
- package/dist/helpers/assertionV3.d.ts.map +0 -1
- package/dist/helpers/assertionV3.js.map +0 -1
- package/dist/helpers/autohealAx.d.ts.map +0 -1
- package/dist/helpers/autohealAx.js +0 -148
- package/dist/helpers/autohealAx.js.map +0 -1
- package/dist/helpers/axTree/actionable.d.ts.map +0 -1
- package/dist/helpers/axTree/actionable.js +0 -404
- package/dist/helpers/axTree/actionable.js.map +0 -1
- package/dist/helpers/axTree/captureAxTree.d.ts.map +0 -1
- package/dist/helpers/axTree/captureAxTree.js.map +0 -1
- package/dist/helpers/axTree/captureFrameForest.d.ts.map +0 -1
- package/dist/helpers/axTree/captureFrameForest.js +0 -475
- package/dist/helpers/axTree/captureFrameForest.js.map +0 -1
- package/dist/helpers/axTree/index.d.ts.map +0 -1
- package/dist/helpers/axTree/index.js.map +0 -1
- package/dist/helpers/axTree/serializeAxTree.d.ts.map +0 -1
- package/dist/helpers/axTree/serializeAxTree.js.map +0 -1
- package/dist/helpers/clipboard-intercept.d.ts.map +0 -1
- package/dist/helpers/clipboard-intercept.js.map +0 -1
- package/dist/helpers/clipboard.d.ts.map +0 -1
- package/dist/helpers/clipboard.js.map +0 -1
- package/dist/helpers/condition.d.ts +0 -100
- package/dist/helpers/condition.d.ts.map +0 -1
- package/dist/helpers/condition.js +0 -357
- package/dist/helpers/condition.js.map +0 -1
- package/dist/helpers/cookies.d.ts.map +0 -1
- package/dist/helpers/cookies.js +0 -66
- package/dist/helpers/cookies.js.map +0 -1
- package/dist/helpers/coordinateResolver.d.ts.map +0 -1
- package/dist/helpers/coordinateResolver.js +0 -118
- package/dist/helpers/coordinateResolver.js.map +0 -1
- package/dist/helpers/coordinateResolverRead.d.ts.map +0 -1
- package/dist/helpers/coordinateResolverRead.js +0 -107
- package/dist/helpers/coordinateResolverRead.js.map +0 -1
- package/dist/helpers/credits.d.ts.map +0 -1
- package/dist/helpers/credits.js +0 -52
- package/dist/helpers/credits.js.map +0 -1
- package/dist/helpers/derive.d.ts.map +0 -1
- package/dist/helpers/derive.js +0 -87
- package/dist/helpers/derive.js.map +0 -1
- package/dist/helpers/devtools.d.ts.map +0 -1
- package/dist/helpers/devtools.js +0 -1215
- package/dist/helpers/devtools.js.map +0 -1
- package/dist/helpers/dialog.d.ts.map +0 -1
- package/dist/helpers/dialog.js.map +0 -1
- package/dist/helpers/drag.d.ts.map +0 -1
- package/dist/helpers/drag.js +0 -276
- package/dist/helpers/drag.js.map +0 -1
- package/dist/helpers/evaluation/colors.d.ts.map +0 -1
- package/dist/helpers/evaluation/colors.js.map +0 -1
- package/dist/helpers/evaluation/evaluate.d.ts.map +0 -1
- package/dist/helpers/evaluation/evaluate.js.map +0 -1
- package/dist/helpers/executeApi.d.ts.map +0 -1
- package/dist/helpers/executeApi.js +0 -377
- package/dist/helpers/executeApi.js.map +0 -1
- package/dist/helpers/executeDb.d.ts.map +0 -1
- package/dist/helpers/executeDb.js +0 -54
- package/dist/helpers/executeDb.js.map +0 -1
- package/dist/helpers/executeJs.d.ts.map +0 -1
- package/dist/helpers/executeJs.js +0 -117
- package/dist/helpers/executeJs.js.map +0 -1
- package/dist/helpers/gesture.d.ts.map +0 -1
- package/dist/helpers/gesture.js +0 -131
- package/dist/helpers/gesture.js.map +0 -1
- package/dist/helpers/healCascade.d.ts.map +0 -1
- package/dist/helpers/healCascade.js +0 -418
- package/dist/helpers/healCascade.js.map +0 -1
- package/dist/helpers/iframeA11y.d.ts.map +0 -1
- package/dist/helpers/iframeA11y.js +0 -128
- package/dist/helpers/iframeA11y.js.map +0 -1
- package/dist/helpers/kaneCli.d.ts.map +0 -1
- package/dist/helpers/kaneCli.js +0 -319
- package/dist/helpers/kaneCli.js.map +0 -1
- package/dist/helpers/loop.d.ts +0 -6
- package/dist/helpers/loop.d.ts.map +0 -1
- package/dist/helpers/loop.js +0 -9
- package/dist/helpers/loop.js.map +0 -1
- package/dist/helpers/math.d.ts.map +0 -1
- package/dist/helpers/math.js +0 -152
- package/dist/helpers/math.js.map +0 -1
- package/dist/helpers/network.d.ts.map +0 -1
- package/dist/helpers/network.js +0 -185
- package/dist/helpers/network.js.map +0 -1
- package/dist/helpers/pageReady.d.ts.map +0 -1
- package/dist/helpers/pageReady.js +0 -85
- package/dist/helpers/pageReady.js.map +0 -1
- package/dist/helpers/png.d.ts.map +0 -1
- package/dist/helpers/png.js.map +0 -1
- package/dist/helpers/queryResult.d.ts.map +0 -1
- package/dist/helpers/queryResult.js.map +0 -1
- package/dist/helpers/runtimeSnapshot.d.ts.map +0 -1
- package/dist/helpers/runtimeSnapshot.js +0 -204
- package/dist/helpers/runtimeSnapshot.js.map +0 -1
- package/dist/helpers/schemaAssertion.d.ts.map +0 -1
- package/dist/helpers/schemaAssertion.js +0 -117
- package/dist/helpers/schemaAssertion.js.map +0 -1
- package/dist/helpers/screenshot.d.ts +0 -45
- package/dist/helpers/screenshot.d.ts.map +0 -1
- package/dist/helpers/screenshot.js +0 -90
- package/dist/helpers/screenshot.js.map +0 -1
- package/dist/helpers/scrollUntil.d.ts.map +0 -1
- package/dist/helpers/scrollUntil.js +0 -90
- package/dist/helpers/scrollUntil.js.map +0 -1
- package/dist/helpers/smartui.d.ts.map +0 -1
- package/dist/helpers/smartui.js +0 -77
- package/dist/helpers/smartui.js.map +0 -1
- package/dist/helpers/sseParser.d.ts.map +0 -1
- package/dist/helpers/sseParser.js.map +0 -1
- package/dist/helpers/tabs.d.ts +0 -44
- package/dist/helpers/tabs.d.ts.map +0 -1
- package/dist/helpers/tabs.js +0 -270
- package/dist/helpers/tabs.js.map +0 -1
- package/dist/helpers/text.d.ts.map +0 -1
- package/dist/helpers/text.js.map +0 -1
- package/dist/helpers/textNormalize.d.ts.map +0 -1
- package/dist/helpers/textNormalize.js.map +0 -1
- package/dist/helpers/textualAnalyzer/domStructured.d.ts.map +0 -1
- package/dist/helpers/textualAnalyzer/domStructured.js +0 -242
- package/dist/helpers/textualAnalyzer/domStructured.js.map +0 -1
- package/dist/helpers/textualAnalyzer/evaluate.d.ts.map +0 -1
- package/dist/helpers/textualAnalyzer/evaluate.js.map +0 -1
- package/dist/helpers/textualAnalyzer/extractor.d.ts.map +0 -1
- package/dist/helpers/textualAnalyzer/extractor.js.map +0 -1
- package/dist/helpers/textualAnalyzer/heal.d.ts.map +0 -1
- package/dist/helpers/textualAnalyzer/heal.js +0 -120
- package/dist/helpers/textualAnalyzer/heal.js.map +0 -1
- package/dist/helpers/textualAnalyzer/index.d.ts.map +0 -1
- package/dist/helpers/textualAnalyzer/index.js +0 -60
- package/dist/helpers/textualAnalyzer/index.js.map +0 -1
- package/dist/helpers/textualAnalyzer/locatorEnrichment.d.ts.map +0 -1
- package/dist/helpers/textualAnalyzer/locatorEnrichment.js +0 -224
- package/dist/helpers/textualAnalyzer/locatorEnrichment.js.map +0 -1
- package/dist/helpers/textualRead.d.ts.map +0 -1
- package/dist/helpers/textualRead.js.map +0 -1
- package/dist/helpers/vision.d.ts.map +0 -1
- package/dist/helpers/vision.js +0 -498
- package/dist/helpers/vision.js.map +0 -1
- package/dist/helpers/visionFence.d.ts.map +0 -1
- package/dist/helpers/visionFence.js.map +0 -1
- package/dist/helpers/visionV3.d.ts +0 -52
- package/dist/helpers/visionV3.d.ts.map +0 -1
- package/dist/helpers/visionV3.js +0 -366
- package/dist/helpers/visionV3.js.map +0 -1
- package/dist/helpers/wait.d.ts.map +0 -1
- package/dist/helpers/wait.js +0 -48
- package/dist/helpers/wait.js.map +0 -1
- package/dist/http.d.ts.map +0 -1
- package/dist/http.js +0 -45
- package/dist/http.js.map +0 -1
- package/dist/httpClient.d.ts.map +0 -1
- package/dist/httpClient.js.map +0 -1
- package/dist/rankedLocator.d.ts.map +0 -1
- package/dist/rankedLocator.js +0 -85
- package/dist/rankedLocator.js.map +0 -1
- package/dist/relayProxy.d.ts.map +0 -1
- package/dist/relayProxy.js +0 -485
- package/dist/relayProxy.js.map +0 -1
- package/dist/reporters/index.d.ts.map +0 -1
- package/dist/reporters/index.js +0 -7
- package/dist/reporters/index.js.map +0 -1
- package/dist/reporters/local.d.ts.map +0 -1
- package/dist/reporters/local.js +0 -40
- package/dist/reporters/local.js.map +0 -1
- package/dist/reporters/lt.d.ts.map +0 -1
- package/dist/reporters/lt.js +0 -127
- package/dist/reporters/lt.js.map +0 -1
- package/dist/reporters/null.d.ts.map +0 -1
- package/dist/reporters/null.js.map +0 -1
- package/dist/routeFailure.d.ts.map +0 -1
- package/dist/routeFailure.js +0 -34
- package/dist/routeFailure.js.map +0 -1
- package/dist/session.d.ts.map +0 -1
- package/dist/session.js +0 -312
- package/dist/session.js.map +0 -1
- package/dist/step.d.ts.map +0 -1
- package/dist/step.js +0 -112
- package/dist/step.js.map +0 -1
- package/dist/stepVariables.d.ts.map +0 -1
- package/dist/stepVariables.js +0 -61
- package/dist/stepVariables.js.map +0 -1
- package/dist/test.d.ts.map +0 -1
- package/dist/test.js.map +0 -1
- package/dist/testConfig.d.ts.map +0 -1
- package/dist/testConfig.js.map +0 -1
- package/dist/testState.d.ts.map +0 -1
- package/dist/testState.js.map +0 -1
- package/dist/vars.d.ts +0 -78
- package/dist/vars.d.ts.map +0 -1
- package/dist/vars.js +0 -912
- package/dist/vars.js.map +0 -1
- package/dist/visionLocator.d.ts.map +0 -1
- package/dist/visionLocator.js +0 -117
- package/dist/visionLocator.js.map +0 -1
- /package/dist/{actionEngine.d.ts → v3/actionEngine.d.ts} +0 -0
- /package/dist/{actionSpecs.d.ts → v3/actionSpecs.d.ts} +0 -0
- /package/dist/{capability.d.ts → v3/capability.d.ts} +0 -0
- /package/dist/{downloadsPath.d.ts → v3/downloadsPath.d.ts} +0 -0
- /package/dist/{downloadsPath.js → v3/downloadsPath.js} +0 -0
- /package/dist/{healCache.d.ts → v3/healCache.d.ts} +0 -0
- /package/dist/{healCache.js → v3/healCache.js} +0 -0
- /package/dist/{helpers → v3/helpers}/a11yFlatten.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/apiCalls.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/assertion.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/assertionV3.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/assertionV3.js +0 -0
- /package/dist/{helpers → v3/helpers}/autohealAx.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/axTree/actionable.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/axTree/captureAxTree.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/axTree/captureAxTree.js +0 -0
- /package/dist/{helpers → v3/helpers}/axTree/captureFrameForest.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/axTree/index.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/axTree/index.js +0 -0
- /package/dist/{helpers → v3/helpers}/axTree/serializeAxTree.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/axTree/serializeAxTree.js +0 -0
- /package/dist/{helpers → v3/helpers}/clipboard-intercept.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/clipboard-intercept.js +0 -0
- /package/dist/{helpers → v3/helpers}/clipboard.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/clipboard.js +0 -0
- /package/dist/{helpers → v3/helpers}/cookies.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/coordinateResolver.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/coordinateResolverRead.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/credits.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/derive.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/devtools.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/dialog.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/dialog.js +0 -0
- /package/dist/{helpers → v3/helpers}/drag.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/evaluation/colors.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/evaluation/colors.js +0 -0
- /package/dist/{helpers → v3/helpers}/evaluation/evaluate.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/evaluation/evaluate.js +0 -0
- /package/dist/{helpers → v3/helpers}/executeApi.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/executeDb.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/executeJs.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/gesture.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/healCascade.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/iframeA11y.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/kaneCli.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/math.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/network.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/pageReady.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/png.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/png.js +0 -0
- /package/dist/{helpers → v3/helpers}/queryResult.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/queryResult.js +0 -0
- /package/dist/{helpers → v3/helpers}/runtimeSnapshot.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/schemaAssertion.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/scrollUntil.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/smartui.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/sseParser.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/sseParser.js +0 -0
- /package/dist/{helpers → v3/helpers}/text.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/text.js +0 -0
- /package/dist/{helpers → v3/helpers}/textNormalize.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/textNormalize.js +0 -0
- /package/dist/{helpers → v3/helpers}/textualAnalyzer/domStructured.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/textualAnalyzer/evaluate.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/textualAnalyzer/evaluate.js +0 -0
- /package/dist/{helpers → v3/helpers}/textualAnalyzer/extractor.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/textualAnalyzer/extractor.js +0 -0
- /package/dist/{helpers → v3/helpers}/textualAnalyzer/heal.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/textualAnalyzer/index.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/textualAnalyzer/locatorEnrichment.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/textualRead.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/textualRead.js +0 -0
- /package/dist/{helpers → v3/helpers}/visionFence.d.ts +0 -0
- /package/dist/{helpers → v3/helpers}/visionFence.js +0 -0
- /package/dist/{helpers → v3/helpers}/wait.d.ts +0 -0
- /package/dist/{http.d.ts → v3/http.d.ts} +0 -0
- /package/dist/{httpClient.d.ts → v3/httpClient.d.ts} +0 -0
- /package/dist/{httpClient.js → v3/httpClient.js} +0 -0
- /package/dist/{rankedLocator.d.ts → v3/rankedLocator.d.ts} +0 -0
- /package/dist/{relayProxy.d.ts → v3/relayProxy.d.ts} +0 -0
- /package/dist/{reporters → v3/reporters}/index.d.ts +0 -0
- /package/dist/{reporters → v3/reporters}/local.d.ts +0 -0
- /package/dist/{reporters → v3/reporters}/lt.d.ts +0 -0
- /package/dist/{reporters → v3/reporters}/null.d.ts +0 -0
- /package/dist/{reporters → v3/reporters}/null.js +0 -0
- /package/dist/{routeFailure.d.ts → v3/routeFailure.d.ts} +0 -0
- /package/dist/{session.d.ts → v3/session.d.ts} +0 -0
- /package/dist/{step.d.ts → v3/step.d.ts} +0 -0
- /package/dist/{stepVariables.d.ts → v3/stepVariables.d.ts} +0 -0
- /package/dist/{test.d.ts → v3/test.d.ts} +0 -0
- /package/dist/{test.js → v3/test.js} +0 -0
- /package/dist/{testConfig.d.ts → v3/testConfig.d.ts} +0 -0
- /package/dist/{testConfig.js → v3/testConfig.js} +0 -0
- /package/dist/{testState.d.ts → v3/testState.d.ts} +0 -0
- /package/dist/{testState.js → v3/testState.js} +0 -0
- /package/dist/{visionLocator.d.ts → v3/visionLocator.d.ts} +0 -0
- /package/dist/{helpers → v4/helpers}/vision.d.ts +0 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Query layer for agent-executed API calls.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors devtools.ts: a module-level log that executeApi self-records
|
|
5
|
+
* into, plus apiCallsQuery which runs LLM-generated JS against a
|
|
6
|
+
* read-only view via new Function. Requests are stored AS RECEIVED —
|
|
7
|
+
* templates unresolved, secrets never enter the log.
|
|
8
|
+
*/
|
|
9
|
+
import { stringifyQueryResult } from './queryResult.js';
|
|
10
|
+
import { log } from '../../log.js';
|
|
11
|
+
const API_BODY_CAP = 65536;
|
|
12
|
+
// Entry-count cap (parity with devtools MAX_NETWORK): evict the oldest 10% when
|
|
13
|
+
// the log fills so a long-running session can't grow it without bound.
|
|
14
|
+
const MAX_API_CALLS = 5000;
|
|
15
|
+
const apiCallLog = [];
|
|
16
|
+
export function getApiCallLog() { return [...apiCallLog]; }
|
|
17
|
+
export function clearApiCallLog() { apiCallLog.length = 0; }
|
|
18
|
+
export function recordApiCall(request, response) {
|
|
19
|
+
const resp = { ...response };
|
|
20
|
+
if (typeof resp.response_body === 'string' && resp.response_body.length > API_BODY_CAP) {
|
|
21
|
+
resp.response_body = resp.response_body.slice(0, API_BODY_CAP);
|
|
22
|
+
}
|
|
23
|
+
if (apiCallLog.length >= MAX_API_CALLS)
|
|
24
|
+
apiCallLog.splice(0, MAX_API_CALLS / 10);
|
|
25
|
+
apiCallLog.push({ sequence: apiCallLog.length + 1, request, response: resp });
|
|
26
|
+
}
|
|
27
|
+
function buildApiCallsAPI(entries) {
|
|
28
|
+
return {
|
|
29
|
+
all() { return [...entries]; },
|
|
30
|
+
requests(opts) {
|
|
31
|
+
return entries.filter((e) => {
|
|
32
|
+
if (opts?.method && e.request.method.toUpperCase() !== opts.method.toUpperCase())
|
|
33
|
+
return false;
|
|
34
|
+
if (opts?.urlContains && !e.request.url.includes(opts.urlContains))
|
|
35
|
+
return false;
|
|
36
|
+
if (opts?.status !== undefined && e.response.status !== opts.status)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
});
|
|
40
|
+
},
|
|
41
|
+
last(opts) {
|
|
42
|
+
const m = this.requests(opts);
|
|
43
|
+
return m.length ? m[m.length - 1] : null;
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export async function apiCallsQuery(codeJs, entries) {
|
|
48
|
+
const api_calls = buildApiCallsAPI(entries ?? apiCallLog);
|
|
49
|
+
try {
|
|
50
|
+
const fn = new Function('api_calls', `"use strict";\n${codeJs}`);
|
|
51
|
+
const result = fn(api_calls);
|
|
52
|
+
return stringifyQueryResult(result);
|
|
53
|
+
}
|
|
54
|
+
catch (e) {
|
|
55
|
+
log.helper(`apiCallsQuery error: ${e}`);
|
|
56
|
+
return '';
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=apiCalls.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apiCalls.js","sourceRoot":"","sources":["../../../src/v4/helpers/apiCalls.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAiBnC,MAAM,YAAY,GAAG,KAAK,CAAC;AAC3B,gFAAgF;AAChF,uEAAuE;AACvE,MAAM,aAAa,GAAG,IAAI,CAAC;AAC3B,MAAM,UAAU,GAAmB,EAAE,CAAC;AAEtC,MAAM,UAAU,aAAa,KAAqB,OAAO,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;AAC3E,MAAM,UAAU,eAAe,KAAW,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;AAElE,MAAM,UAAU,aAAa,CAC3B,OAAgC,EAChC,QAAkC;IAElC,MAAM,IAAI,GAAG,EAAE,GAAG,QAAQ,EAAE,CAAC;IAC7B,IAAI,OAAO,IAAI,CAAC,aAAa,KAAK,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,YAAY,EAAE,CAAC;QACvF,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC;IACjE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AU,aAAa,CAAC,MAAc,EAAE,OAAwB;IAC1E,MAAM,SAAS,GAAG,gBAAgB,CAAC,OAAO,IAAI,UAAU,CAAC,CAAC;IAC1D,IAAI,CAAC;QACH,MAAM,EAAE,GAAG,IAAI,QAAQ,CAAC,WAAW,EAAE,kBAAkB,MAAM,EAAE,CAAC,CAAC;QACjE,MAAM,MAAM,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC;QAC7B,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC;IACtC,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,GAAG,CAAC,MAAM,CAAC,wBAAwB,CAAC,EAAE,CAAC,CAAC;QACxC,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Page } from 'playwright';
|
|
2
|
+
export interface SubCheck {
|
|
3
|
+
store_key?: string;
|
|
4
|
+
operator: string;
|
|
5
|
+
expected_value?: unknown;
|
|
6
|
+
expected?: unknown;
|
|
7
|
+
extracted_value?: unknown;
|
|
8
|
+
description?: string;
|
|
9
|
+
transforms?: string[];
|
|
10
|
+
json_path?: string | null;
|
|
11
|
+
rfc_json_path?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface AssertionTree {
|
|
14
|
+
composite_operator: 'and' | 'or';
|
|
15
|
+
sub_checks: SubCheck[];
|
|
16
|
+
claim?: string;
|
|
17
|
+
verification?: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface AssertionResult {
|
|
20
|
+
status: 'passed' | 'failed';
|
|
21
|
+
sub_results?: unknown[];
|
|
22
|
+
}
|
|
23
|
+
export declare function verifyAssertion(page: Page, claim: string, tree: AssertionTree): Promise<AssertionResult>;
|
|
24
|
+
export declare function _gateAssertionFailure(result: AssertionResult, assertionClaim: string): Promise<AssertionResult>;
|
|
25
|
+
export declare function evaluateBranch(subChecks: SubCheck[], compositeOperator?: 'and' | 'or'): Promise<boolean>;
|
|
26
|
+
//# sourceMapp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@ -0,0 +1,134 @@
|
|
|
1
|
+
import { fetchWithAuth } from '../http.js';
|
|
2
|
+
import { resolveVar } from '../vars.js';
|
|
3
|
+
import { config } from '../../config.js';
|
|
4
|
+
import { log, preview } from '../../log.js';
|
|
5
|
+
import { AssertionFailureError } from '../../errors.js';
|
|
6
|
+
import { takeScreenshot } from './screenshot.js';
|
|
7
|
+
import { evaluateSubChecks } from './evaluation/evaluate.js';
|
|
8
|
+
/** Resolve a sub-check's templated fields and cast the string-typed ones
|
|
9
|
+
* (description, expected_value, extracted_value) to strings. The variable
|
|
10
|
+
* store may hold non-string values (numbers, bools) and the server's
|
|
11
|
+
* EvaluateSubCheckRequest schema rejects non-strings on these fields. */
|
|
12
|
+
async function resolveSub(sub) {
|
|
13
|
+
const rawExpected = sub.expected_value ?? sub.expected ?? '';
|
|
14
|
+
const rawExtracted = sub.extracted_value ?? '';
|
|
15
|
+
const rawDescription = sub.description ?? '';
|
|
16
|
+
const toStr = (v) => v == null ? '' : typeof v === 'string' ? v : typeof v === 'object' ? JSON.stringify(v) : String(v);
|
|
17
|
+
return {
|
|
18
|
+
description: toStr(typeof rawDescription === 'string' ? await resolveVar(rawDescription) : rawDescription),
|
|
19
|
+
expected_value: toStr(typeof rawExpected === 'string' ? await resolveVar(rawExpected) : rawExpected),
|
|
20
|
+
extracted_value: toStr(typeof rawExtracted === 'string' ? await resolveVar(rawExtracted) : rawExtracted),
|
|
21
|
+
// Auteur replay parity (and playwright-python): an absent operator means
|
|
22
|
+
// equals and an explicit empty transforms list stays empty, so a recorded
|
|
23
|
+
// recipe reaches the same verdict in every runtime.
|
|
24
|
+
operator: sub.operator || 'equals',
|
|
25
|
+
transforms: sub.transforms ?? [],
|
|
26
|
+
// The json_path TRANSFORM is a no-op without its path argument
|
|
27
|
+
// (evaluate.ts gates on it) — dropping the key here turned every
|
|
28
|
+
// json_path derivation into a whole-value compare at replay.
|
|
29
|
+
json_path: sub.json_path ?? null,
|
|
30
|
+
...(sub.rfc_json_path ? { rfc_json_path: sub.rfc_json_path } : {}),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export async function verifyAssertion(page, claim, tree) {
|
|
34
|
+
const subChecks = tree.sub_checks ?? [];
|
|
35
|
+
const compositeOp = tree.composite_operator ?? 'and';
|
|
36
|
+
// Python prefers assertion_tree.claim over the passed-in claim
|
|
37
|
+
const assertionClaim = tree.claim ?? claim;
|
|
38
|
+
const hasStoreKeys = subChecks.some(s => s.store_key);
|
|
39
|
+
// Deterministic path: store_keys present, or smart mode is OFF
|
|
40
|
+
if (hasStoreKeys || !config.current.smart) {
|
|
41
|
+
log.helper(`[assertion] deterministic claim=${preview(assertionClaim, 80)}`);
|
|
42
|
+
const resolved = await Promise.all(subChecks.map(resolveSub));
|
|
43
|
+
const result = evaluateSubChecks(assertionClaim, compositeOp, resolved);
|
|
44
|
+
log.helper(`[assertion] result status=${result.status ?? 'unknown'}`);
|
|
45
|
+
return await _gateAssertionFailure(result, assertionClaim);
|
|
46
|
+
}
|
|
47
|
+
// Visual path: smart ON, no store_keys → screenshot-based LLM verification
|
|
48
|
+
log.helper(`[assertion] visual claim=${preview(assertionClaim, 80)}`);
|
|
49
|
+
const shotBytes = await takeScreenshot(page);
|
|
50
|
+
const screenshotB64 = shotBytes.toString('base64');
|
|
51
|
+
const currentUrl = page.url();
|
|
52
|
+
const body = {
|
|
53
|
+
screenshot_b64: screenshotB64,
|
|
54
|
+
claim: assertionClaim,
|
|
55
|
+
current_url: currentUrl,
|
|
56
|
+
composite_operator: compositeOp,
|
|
57
|
+
sub_checks: subChecks,
|
|
58
|
+
step: 0,
|
|
59
|
+
};
|
|
60
|
+
if (tree.verification !== undefined) {
|
|
61
|
+
body['verification'] = tree.verification;
|
|
62
|
+
}
|
|
63
|
+
const resp = await fetchWithAuth(`${config.current.aiApiHost}/api/v1/assertions/verify`, {
|
|
64
|
+
method: 'POST',
|
|
65
|
+
headers: { 'content-type': 'application/json' },
|
|
66
|
+
body: JSON.stringify(body),
|
|
67
|
+
});
|
|
68
|
+
if (!resp.ok) {
|
|
69
|
+
const text = await resp.text();
|
|
70
|
+
throw new Error(`Assertion API error ${resp.status}: ${text}`);
|
|
71
|
+
}
|
|
72
|
+
const result = (await resp.json());
|
|
73
|
+
log.helper(`[assertion] result status=${result.status ?? 'unknown'}`);
|
|
74
|
+
return await _gateAssertionFailure(result, assertionClaim);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The claim is rendered RESOLVED in the failure message, so it reads
|
|
78
|
+
* "Galaxy S23 is the device" rather than "{{smart.device_name}} is the device" —
|
|
79
|
+
* the latter names the variable but hides the value the comparison actually
|
|
80
|
+
* used, which is the one thing the reader needs.
|
|
81
|
+
*
|
|
82
|
+
* Substitution is per-token and only applied when a token actually resolves to
|
|
83
|
+
* something. Whole-string resolution is wrong here: an unknown variable renders
|
|
84
|
+
* as the empty string, which would silently DELETE the token from the message
|
|
85
|
+
* and leave the reader with less than they started with. An unresolvable token,
|
|
86
|
+
* an empty resolution, or a resolver error all keep the raw `{{...}}` text, so a
|
|
87
|
+
* plain-text claim renders exactly as before.
|
|
88
|
+
*/
|
|
89
|
+
async function _describeClaim(assertionClaim) {
|
|
90
|
+
const text = assertionClaim ?? '';
|
|
91
|
+
if (!text.includes('{{') && !text.includes('${'))
|
|
92
|
+
return text;
|
|
93
|
+
const tokens = text.match(/\{\{[^{}]*\}\}|\$\{[^{}]*\}/g);
|
|
94
|
+
if (!tokens)
|
|
95
|
+
return text;
|
|
96
|
+
let described = text;
|
|
97
|
+
for (const token of new Set(tokens)) {
|
|
98
|
+
let rendered = '';
|
|
99
|
+
try {
|
|
100
|
+
const resolved = await resolveVar(token);
|
|
101
|
+
rendered = typeof resolved === 'string' ? resolved : String(resolved ?? '');
|
|
102
|
+
}
|
|
103
|
+
catch {
|
|
104
|
+
rendered = '';
|
|
105
|
+
}
|
|
106
|
+
if (rendered !== '')
|
|
107
|
+
described = described.split(token).join(rendered);
|
|
108
|
+
}
|
|
109
|
+
return described;
|
|
110
|
+
}
|
|
111
|
+
export async function _gateAssertionFailure(result, assertionClaim) {
|
|
112
|
+
if (result.status !== 'failed')
|
|
113
|
+
return result;
|
|
114
|
+
const described = await _describeClaim(assertionClaim);
|
|
115
|
+
if (process.env.TESTMU_SKIP_ASSERTION_FAILURE) {
|
|
116
|
+
log.test(`[ASSERTION WARN] ${described} — Ignoring assertion failure: ${JSON.stringify(result)}`);
|
|
117
|
+
return result;
|
|
118
|
+
}
|
|
119
|
+
throw new AssertionFailureError(`Assertion failed: ${described}`, result);
|
|
120
|
+
}
|
|
121
|
+
export async function evaluateBranch(subChecks, compositeOperator = 'and') {
|
|
122
|
+
// PY parity: assertion.py:178,184,194 — top-level [if/else] markers, no indent.
|
|
123
|
+
log.test(`[if/else] evaluating ${compositeOperator} of ${subChecks.length} sub-check(s)`);
|
|
124
|
+
const resolved = await Promise.all(subChecks.map(resolveSub));
|
|
125
|
+
if (resolved.length === 0) {
|
|
126
|
+
log.test('[if/else] result=False (no valid sub-checks) → taking false branch');
|
|
127
|
+
return false;
|
|
128
|
+
}
|
|
129
|
+
const result = evaluateSubChecks(`Branch condition (${compositeOperator})`, compositeOperator, resolved);
|
|
130
|
+
const passed = result.status === 'passed';
|
|
131
|
+
log.test(`[if/else] result=${passed ? 'true' : 'false'} → taking ${passed ? 'true' : 'false'} branch`);
|
|
132
|
+
return passed;
|
|
133
|
+
}
|
|
134
|
+
//# sourceMappingURL=assertion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assertion.js","sourceRoot":"","sources":["../../../src/v4/helpers/assertion.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO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AG,CAAC,IAAI,CAAC,oBAAoB,SAAS,kCAAkC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAClG,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,MAAM,IAAI,qBAAqB,CAAC,qBAAqB,SAAS,EAAE,EAAE,MAAM,CAAC,CAAC;AAC5E,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,cAAc,CAClC,SAAqB,EACrB,oBAAkC,KAAK;IAEvC,gFAAgF;IAChF,GAAG,CAAC,IAAI,CAAC,wBAAwB,iBAAiB,OAAO,SAAS,CAAC,MAAM,eAAe,CAAC,CAAC;IAC1F,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC;IAC9D,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,GAAG,CAAC,IAAI,CAAC,oEAAoE,CAAC,CAAC;QAC/E,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,MAAM,GAAG,iBAAiB,CAAC,qBAAqB,iBAAiB,GAAG,EAAE,iBAAiB,EAAE,QAAQ,CAAC,CAAC;IACzG,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,KAAK,QAAQ,CAAC;IAC1C,GAAG,CAAC,IAAI,CAAC,oBAAoB,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,aAAa,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,SAAS,CAAC,CAAC;IACvG,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Code-side assertion evaluator — the V3 local-eval path.
|
|
3
|
+
*
|
|
4
|
+
* Port of PY _helpers/_assertion_v3_eval.py (itself ported from the Selenium
|
|
5
|
+
* runtime). Evaluates an operator/operand tree produced by the code generator
|
|
6
|
+
* purely locally: no analyzer API, no driver — dict values + the variable
|
|
7
|
+
* store only. Verdict-parity notes are inline where JS-native semantics had
|
|
8
|
+
* to be adapted (type tags, literal classification).
|
|
9
|
+
*/
|
|
10
|
+
/** Parse a CSS colour into canonical [r,g,b,alpha]; null → fall back to plain
|
|
11
|
+
* compare. A background_color query returns computed `rgb(245, 245, 245)`
|
|
12
|
+
* while the authored expected is `#f5f5f5` — equals must compare by value. */
|
|
13
|
+
export declare function normalizeColor(value: unknown): [number, number, number, number] | null;
|
|
14
|
+
/** Currency-tolerant numeric parse (V2 UIActions.string_to_float parity):
|
|
15
|
+
* "$7" -> 7, "7a" -> 7, "abc" -> 0, negative if '-' anywhere; a multi-dot
|
|
16
|
+
* residue like "1.2.3" THROWS — V2 crashed there and the loud failure is the
|
|
17
|
+
* faithful behavior. */
|
|
18
|
+
export declare function stringToFloat(value: unknown): number;
|
|
19
|
+
/** Parse a stringified JSON operand (V2 _json_obj/_json_arr parity). A real
|
|
20
|
+
* object/array passes through. A string parses with JSON.parse, falling back
|
|
21
|
+
* to a python-repr acceptance (single→double quotes, True/False/None). Parse
|
|
22
|
+
* failures THROW — a malformed operand fails loudly, never silently. */
|
|
23
|
+
export declare function jsonCoerce(value: unknown): unknown;
|
|
24
|
+
declare const ASSERTION_CONDITIONS: readonly ["equals", "not_equals", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "start_with", "end_with", "contains", "not_contains", "length_equals", "type_equals", "json_key_exists", "json_keys_count", "json_array_length_equals", "json_array_contains", "json_value_equals", "in", "not_in", "lower_case", "upper_case"];
|
|
25
|
+
export type AssertionConditionValue = (typeof ASSERTION_CONDITIONS)[number];
|
|
26
|
+
/** Resolve an operator string (aliases + case-insensitive); unknown THROWS —
|
|
27
|
+
* never a silent EQUALS fallback that would produce a wrong verdict. */
|
|
28
|
+
export declare function AssertionCondition(raw: string): AssertionConditionValue;
|
|
29
|
+
type LogicalOp = 'AND' | 'OR' | 'NOT';
|
|
30
|
+
export type AssertionResolver = (template: string, variables?: Record<string, unknown>) => unknown | Promise<unknown>;
|
|
31
|
+
export interface AssertionJson {
|
|
32
|
+
operator?: string | string[];
|
|
33
|
+
assertion_operands?: string[];
|
|
34
|
+
left_operand?: unknown;
|
|
35
|
+
right_operand?: unknown;
|
|
36
|
+
operands?: AssertionJson[];
|
|
37
|
+
sub_results?: unknown[];
|
|
38
|
+
sub_checks?: unknown[];
|
|
39
|
+
composite_operator?: string;
|
|
40
|
+
verification?: string;
|
|
41
|
+
claim?: string;
|
|
42
|
+
json_path?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare class Assertion {
|
|
45
|
+
readonly assertionOperator: AssertionConditionValue[];
|
|
46
|
+
readonly assertionOperands: LogicalOp[];
|
|
47
|
+
readonly leftOperand: unknown;
|
|
48
|
+
readonly rightOperand: unknown;
|
|
49
|
+
readonly operands: Assertion[];
|
|
50
|
+
readonly claim: string;
|
|
51
|
+
readonly jsonPath: string;
|
|
52
|
+
constructor(opts: {
|
|
53
|
+
assertionOperator?: AssertionConditionValue[];
|
|
54
|
+
assertionOperands?: LogicalOp[];
|
|
55
|
+
leftOperand?: unknown;
|
|
56
|
+
rightOperand?: unknown;
|
|
57
|
+
operands?: Assertion[];
|
|
58
|
+
claim?: string;
|
|
59
|
+
jsonPath?: string;
|
|
60
|
+
});
|
|
61
|
+
private resolve;
|
|
62
|
+
private accessNestedValue;
|
|
63
|
+
private evalLeafCondition;
|
|
64
|
+
/** Evaluate this node → [passed, usedVariables]. */
|
|
65
|
+
evaluate(variables?: Record<string, unknown>, getVariableValue?: AssertionResolver | null): Promise<[boolean, Record<string, unknown>]>;
|
|
66
|
+
/** Deserialize an assertion-tree dict (the generator's emitted shape). */
|
|
67
|
+
static fromJson(json: AssertionJson): Assertion;
|
|
68
|
+
}
|
|
69
|
+
export {};
|
|
70
|
+
//# sourceMappingURL=assertionV3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assertionV3.d.ts","sourceRoot":"","sources":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