@testmuai/playwright-bindings 0.1.44 → 0.1.45

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.
Files changed (858) hide show
  1. package/README.md +28 -0
  2. package/dist/configure.d.ts +8 -0
  3. package/dist/configure.d.ts.map +1 -1
  4. package/dist/configure.js +15 -0
  5. package/dist/configure.js.map +1 -1
  6. package/dist/errors.d.ts +6 -0
  7. package/dist/errors.d.ts.map +1 -1
  8. package/dist/errors.js +9 -0
  9. package/dist/errors.js.map +1 -1
  10. package/dist/index.d.ts +87 -100
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +71 -37
  13. package/dist/index.js.map +1 -1
  14. package/dist/router.d.ts +53 -0
  15. package/dist/router.d.ts.map +1 -0
  16. package/dist/router.js +137 -0
  17. package/dist/router.js.map +1 -0
  18. package/dist/v3/actionEngine.d.ts.map +1 -0
  19. package/dist/v3/actionEngine.js +194 -0
  20. package/dist/v3/actionEngine.js.map +1 -0
  21. package/dist/v3/actionSpecs.d.ts.map +1 -0
  22. package/dist/v3/actionSpecs.js +354 -0
  23. package/dist/v3/actionSpecs.js.map +1 -0
  24. package/dist/v3/capability.d.ts.map +1 -0
  25. package/dist/v3/capability.js +346 -0
  26. package/dist/v3/capability.js.map +1 -0
  27. package/dist/v3/downloadsPath.d.ts.map +1 -0
  28. package/dist/v3/downloadsPath.js.map +1 -0
  29. package/dist/v3/healCache.d.ts.map +1 -0
  30. package/dist/v3/healCache.js.map +1 -0
  31. package/dist/v3/healPatch.d.ts +22 -0
  32. package/dist/v3/healPatch.d.ts.map +1 -0
  33. package/dist/v3/healPatch.js +345 -0
  34. package/dist/v3/healPatch.js.map +1 -0
  35. package/dist/v3/helpers/a11yFlatten.d.ts.map +1 -0
  36. package/dist/v3/helpers/a11yFlatten.js +569 -0
  37. package/dist/v3/helpers/a11yFlatten.js.map +1 -0
  38. package/dist/v3/helpers/apiCalls.d.ts.map +1 -0
  39. package/dist/v3/helpers/apiCalls.js +59 -0
  40. package/dist/v3/helpers/apiCalls.js.map +1 -0
  41. package/dist/v3/helpers/assertion.d.ts.map +1 -0
  42. package/dist/v3/helpers/assertion.js +105 -0
  43. package/dist/v3/helpers/assertion.js.map +1 -0
  44. package/dist/v3/helpers/assertionV3.d.ts +91 -0
  45. package/dist/v3/helpers/assertionV3.d.ts.map +1 -0
  46. package/dist/v3/helpers/assertionV3.js +556 -0
  47. package/dist/v3/helpers/assertionV3.js.map +1 -0
  48. package/dist/v3/helpers/autohealAx.d.ts.map +1 -0
  49. package/dist/v3/helpers/autohealAx.js +148 -0
  50. package/dist/v3/helpers/autohealAx.js.map +1 -0
  51. package/dist/v3/helpers/axTree/actionable.d.ts.map +1 -0
  52. package/dist/v3/helpers/axTree/actionable.js +404 -0
  53. package/dist/v3/helpers/axTree/actionable.js.map +1 -0
  54. package/dist/v3/helpers/axTree/captureAxTree.d.ts.map +1 -0
  55. package/dist/v3/helpers/axTree/captureAxTree.js.map +1 -0
  56. package/dist/v3/helpers/axTree/captureFrameForest.d.ts.map +1 -0
  57. package/dist/v3/helpers/axTree/captureFrameForest.js +475 -0
  58. package/dist/v3/helpers/axTree/captureFrameForest.js.map +1 -0
  59. package/dist/v3/helpers/axTree/index.d.ts.map +1 -0
  60. package/dist/v3/helpers/axTree/index.js.map +1 -0
  61. package/dist/v3/helpers/axTree/serializeAxTree.d.ts.map +1 -0
  62. package/dist/v3/helpers/axTree/serializeAxTree.js.map +1 -0
  63. package/dist/v3/helpers/clipboard-intercept.d.ts.map +1 -0
  64. package/dist/v3/helpers/clipboard-intercept.js.map +1 -0
  65. package/dist/v3/helpers/clipboard.d.ts.map +1 -0
  66. package/dist/v3/helpers/clipboard.js.map +1 -0
  67. package/dist/v3/helpers/condition.d.ts +100 -0
  68. package/dist/v3/helpers/condition.d.ts.map +1 -0
  69. package/dist/v3/helpers/condition.js +365 -0
  70. package/dist/v3/helpers/condition.js.map +1 -0
  71. package/dist/v3/helpers/cookies.d.ts.map +1 -0
  72. package/dist/v3/helpers/cookies.js +66 -0
  73. package/dist/v3/helpers/cookies.js.map +1 -0
  74. package/dist/v3/helpers/coordinateResolver.d.ts.map +1 -0
  75. package/dist/v3/helpers/coordinateResolver.js +118 -0
  76. package/dist/v3/helpers/coordinateResolver.js.map +1 -0
  77. package/dist/v3/helpers/coordinateResolverRead.d.ts.map +1 -0
  78. package/dist/v3/helpers/coordinateResolverRead.js +107 -0
  79. package/dist/v3/helpers/coordinateResolverRead.js.map +1 -0
  80. package/dist/v3/helpers/credits.d.ts.map +1 -0
  81. package/dist/v3/helpers/credits.js +52 -0
  82. package/dist/v3/helpers/credits.js.map +1 -0
  83. package/dist/v3/helpers/derive.d.ts.map +1 -0
  84. package/dist/v3/helpers/derive.js +87 -0
  85. package/dist/v3/helpers/derive.js.map +1 -0
  86. package/dist/v3/helpers/devtools.d.ts.map +1 -0
  87. package/dist/v3/helpers/devtools.js +1215 -0
  88. package/dist/v3/helpers/devtools.js.map +1 -0
  89. package/dist/v3/helpers/dialog.d.ts.map +1 -0
  90. package/dist/v3/helpers/dialog.js.map +1 -0
  91. package/dist/v3/helpers/drag.d.ts.map +1 -0
  92. package/dist/v3/helpers/drag.js +276 -0
  93. package/dist/v3/helpers/drag.js.map +1 -0
  94. package/dist/v3/helpers/evaluation/colors.d.ts.map +1 -0
  95. package/dist/v3/helpers/evaluation/colors.js.map +1 -0
  96. package/dist/v3/helpers/evaluation/evaluate.d.ts.map +1 -0
  97. package/dist/v3/helpers/evaluation/evaluate.js.map +1 -0
  98. package/dist/v3/helpers/executeApi.d.ts.map +1 -0
  99. package/dist/v3/helpers/executeApi.js +393 -0
  100. package/dist/v3/helpers/executeApi.js.map +1 -0
  101. package/dist/v3/helpers/executeDb.d.ts.map +1 -0
  102. package/dist/v3/helpers/executeDb.js +54 -0
  103. package/dist/v3/helpers/executeDb.js.map +1 -0
  104. package/dist/v3/helpers/executeJs.d.ts.map +1 -0
  105. package/dist/v3/helpers/executeJs.js +93 -0
  106. package/dist/v3/helpers/executeJs.js.map +1 -0
  107. package/dist/v3/helpers/gesture.d.ts.map +1 -0
  108. package/dist/v3/helpers/gesture.js +131 -0
  109. package/dist/v3/helpers/gesture.js.map +1 -0
  110. package/dist/v3/helpers/healCascade.d.ts.map +1 -0
  111. package/dist/v3/helpers/healCascade.js +431 -0
  112. package/dist/v3/helpers/healCascade.js.map +1 -0
  113. package/dist/v3/helpers/iframeA11y.d.ts.map +1 -0
  114. package/dist/v3/helpers/iframeA11y.js +128 -0
  115. package/dist/v3/helpers/iframeA11y.js.map +1 -0
  116. package/dist/v3/helpers/kaneCli.d.ts.map +1 -0
  117. package/dist/v3/helpers/kaneCli.js +319 -0
  118. package/dist/v3/helpers/kaneCli.js.map +1 -0
  119. package/dist/v3/helpers/loop.d.ts +4 -0
  120. package/dist/v3/helpers/loop.d.ts.map +1 -0
  121. package/dist/v3/helpers/loop.js +4 -0
  122. package/dist/v3/helpers/loop.js.map +1 -0
  123. package/dist/v3/helpers/math.d.ts.map +1 -0
  124. package/dist/v3/helpers/math.js +119 -0
  125. package/dist/v3/helpers/math.js.map +1 -0
  126. package/dist/v3/helpers/network.d.ts.map +1 -0
  127. package/dist/v3/helpers/network.js +185 -0
  128. package/dist/v3/helpers/network.js.map +1 -0
  129. package/dist/v3/helpers/pageReady.d.ts.map +1 -0
  130. package/dist/v3/helpers/pageReady.js +85 -0
  131. package/dist/v3/helpers/pageReady.js.map +1 -0
  132. package/dist/v3/helpers/png.d.ts.map +1 -0
  133. package/dist/v3/helpers/png.js.map +1 -0
  134. package/dist/v3/helpers/queryResult.d.ts.map +1 -0
  135. package/dist/v3/helpers/queryResult.js.map +1 -0
  136. package/dist/v3/helpers/runtimeSnapshot.d.ts.map +1 -0
  137. package/dist/v3/helpers/runtimeSnapshot.js +204 -0
  138. package/dist/v3/helpers/runtimeSnapshot.js.map +1 -0
  139. package/dist/v3/helpers/schemaAssertion.d.ts.map +1 -0
  140. package/dist/v3/helpers/schemaAssertion.js +117 -0
  141. package/dist/v3/helpers/schemaAssertion.js.map +1 -0
  142. package/dist/v3/helpers/screenshot.d.ts +41 -0
  143. package/dist/v3/helpers/screenshot.d.ts.map +1 -0
  144. package/dist/v3/helpers/screenshot.js +83 -0
  145. package/dist/v3/helpers/screenshot.js.map +1 -0
  146. package/dist/v3/helpers/scrollUntil.d.ts.map +1 -0
  147. package/dist/v3/helpers/scrollUntil.js +90 -0
  148. package/dist/v3/helpers/scrollUntil.js.map +1 -0
  149. package/dist/v3/helpers/smartui.d.ts.map +1 -0
  150. package/dist/v3/helpers/smartui.js +77 -0
  151. package/dist/v3/helpers/smartui.js.map +1 -0
  152. package/dist/v3/helpers/sseParser.d.ts.map +1 -0
  153. package/dist/v3/helpers/sseParser.js.map +1 -0
  154. package/dist/v3/helpers/tabs.d.ts +43 -0
  155. package/dist/v3/helpers/tabs.d.ts.map +1 -0
  156. package/dist/v3/helpers/tabs.js +272 -0
  157. package/dist/v3/helpers/tabs.js.map +1 -0
  158. package/dist/v3/helpers/text.d.ts.map +1 -0
  159. package/dist/v3/helpers/text.js.map +1 -0
  160. package/dist/v3/helpers/textNormalize.d.ts.map +1 -0
  161. package/dist/v3/helpers/textNormalize.js.map +1 -0
  162. package/dist/v3/helpers/textualAnalyzer/domStructured.d.ts.map +1 -0
  163. package/dist/v3/helpers/textualAnalyzer/domStructured.js +242 -0
  164. package/dist/v3/helpers/textualAnalyzer/domStructured.js.map +1 -0
  165. package/dist/v3/helpers/textualAnalyzer/evaluate.d.ts.map +1 -0
  166. package/dist/v3/helpers/textualAnalyzer/evaluate.js.map +1 -0
  167. package/dist/v3/helpers/textualAnalyzer/extractor.d.ts.map +1 -0
  168. package/dist/v3/helpers/textualAnalyzer/extractor.js.map +1 -0
  169. package/dist/v3/helpers/textualAnalyzer/heal.d.ts.map +1 -0
  170. package/dist/v3/helpers/textualAnalyzer/heal.js +120 -0
  171. package/dist/v3/helpers/textualAnalyzer/heal.js.map +1 -0
  172. package/dist/v3/helpers/textualAnalyzer/index.d.ts.map +1 -0
  173. package/dist/v3/helpers/textualAnalyzer/index.js +60 -0
  174. package/dist/v3/helpers/textualAnalyzer/index.js.map +1 -0
  175. package/dist/v3/helpers/textualAnalyzer/locatorEnrichment.d.ts.map +1 -0
  176. package/dist/v3/helpers/textualAnalyzer/locatorEnrichment.js +224 -0
  177. package/dist/v3/helpers/textualAnalyzer/locatorEnrichment.js.map +1 -0
  178. package/dist/v3/helpers/textualRead.d.ts.map +1 -0
  179. package/dist/v3/helpers/textualRead.js.map +1 -0
  180. package/dist/v3/helpers/vision.d.ts +79 -0
  181. package/dist/v3/helpers/vision.d.ts.map +1 -0
  182. package/dist/v3/helpers/vision.js +235 -0
  183. package/dist/v3/helpers/vision.js.map +1 -0
  184. package/dist/v3/helpers/visionFence.d.ts.map +1 -0
  185. package/dist/v3/helpers/visionFence.js.map +1 -0
  186. package/dist/v3/helpers/visionV3.d.ts +52 -0
  187. package/dist/v3/helpers/visionV3.d.ts.map +1 -0
  188. package/dist/v3/helpers/visionV3.js +366 -0
  189. package/dist/v3/helpers/visionV3.js.map +1 -0
  190. package/dist/v3/helpers/wait.d.ts.map +1 -0
  191. package/dist/v3/helpers/wait.js +48 -0
  192. package/dist/v3/helpers/wait.js.map +1 -0
  193. package/dist/v3/http.d.ts.map +1 -0
  194. package/dist/v3/http.js +45 -0
  195. package/dist/v3/http.js.map +1 -0
  196. package/dist/v3/httpClient.d.ts.map +1 -0
  197. package/dist/v3/httpClient.js.map +1 -0
  198. package/dist/v3/index.d.ts +40 -0
  199. package/dist/v3/index.d.ts.map +1 -0
  200. package/dist/v3/index.js +41 -0
  201. package/dist/v3/index.js.map +1 -0
  202. package/dist/v3/rankedLocator.d.ts.map +1 -0
  203. package/dist/v3/rankedLocator.js +85 -0
  204. package/dist/v3/rankedLocator.js.map +1 -0
  205. package/dist/v3/relayProxy.d.ts.map +1 -0
  206. package/dist/v3/relayProxy.js +485 -0
  207. package/dist/v3/relayProxy.js.map +1 -0
  208. package/dist/v3/reporters/index.d.ts.map +1 -0
  209. package/dist/v3/reporters/index.js +7 -0
  210. package/dist/v3/reporters/index.js.map +1 -0
  211. package/dist/v3/reporters/local.d.ts.map +1 -0
  212. package/dist/v3/reporters/local.js +40 -0
  213. package/dist/v3/reporters/local.js.map +1 -0
  214. package/dist/v3/reporters/lt.d.ts.map +1 -0
  215. package/dist/v3/reporters/lt.js +122 -0
  216. package/dist/v3/reporters/lt.js.map +1 -0
  217. package/dist/v3/reporters/null.d.ts.map +1 -0
  218. package/dist/v3/reporters/null.js.map +1 -0
  219. package/dist/v3/routeFailure.d.ts.map +1 -0
  220. package/dist/v3/routeFailure.js +34 -0
  221. package/dist/v3/routeFailure.js.map +1 -0
  222. package/dist/v3/session.d.ts.map +1 -0
  223. package/dist/v3/session.js +312 -0
  224. package/dist/v3/session.js.map +1 -0
  225. package/dist/v3/step.d.ts +64 -0
  226. package/dist/v3/step.d.ts.map +1 -0
  227. package/dist/v3/step.js +166 -0
  228. package/dist/v3/step.js.map +1 -0
  229. package/dist/v3/stepVariables.d.ts.map +1 -0
  230. package/dist/v3/stepVariables.js +61 -0
  231. package/dist/v3/stepVariables.js.map +1 -0
  232. package/dist/v3/test.d.ts.map +1 -0
  233. package/dist/v3/test.js.map +1 -0
  234. package/dist/v3/testConfig.d.ts.map +1 -0
  235. package/dist/v3/testConfig.js.map +1 -0
  236. package/dist/v3/testState.d.ts.map +1 -0
  237. package/dist/v3/testState.js.map +1 -0
  238. package/dist/v3/vars.d.ts +87 -0
  239. package/dist/v3/vars.d.ts.map +1 -0
  240. package/dist/v3/vars.js +939 -0
  241. package/dist/v3/vars.js.map +1 -0
  242. package/dist/v3/visionLocator.d.ts.map +1 -0
  243. package/dist/v3/visionLocator.js +117 -0
  244. package/dist/v3/visionLocator.js.map +1 -0
  245. package/dist/v4/actionEngine.d.ts +37 -0
  246. package/dist/v4/actionEngine.d.ts.map +1 -0
  247. package/dist/v4/actionEngine.js +194 -0
  248. package/dist/v4/actionEngine.js.map +1 -0
  249. package/dist/v4/actionSpecs.d.ts +35 -0
  250. package/dist/v4/actionSpecs.d.ts.map +1 -0
  251. package/dist/v4/actionSpecs.js +354 -0
  252. package/dist/v4/actionSpecs.js.map +1 -0
  253. package/dist/v4/capability.d.ts +81 -0
  254. package/dist/v4/capability.d.ts.map +1 -0
  255. package/dist/v4/capability.js +346 -0
  256. package/dist/v4/capability.js.map +1 -0
  257. package/dist/v4/downloadsPath.d.ts +17 -0
  258. package/dist/v4/downloadsPath.d.ts.map +1 -0
  259. package/dist/v4/downloadsPath.js +26 -0
  260. package/dist/v4/downloadsPath.js.map +1 -0
  261. package/dist/v4/healCache.d.ts +28 -0
  262. package/dist/v4/healCache.d.ts.map +1 -0
  263. package/dist/v4/healCache.js +17 -0
  264. package/dist/v4/healCache.js.map +1 -0
  265. package/dist/v4/healPatch.d.ts +22 -0
  266. package/dist/v4/healPatch.d.ts.map +1 -0
  267. package/dist/v4/healPatch.js +415 -0
  268. package/dist/v4/healPatch.js.map +1 -0
  269. package/dist/v4/helpers/a11yFlatten.d.ts +37 -0
  270. package/dist/v4/helpers/a11yFlatten.d.ts.map +1 -0
  271. package/dist/v4/helpers/a11yFlatten.js +569 -0
  272. package/dist/v4/helpers/a11yFlatten.js.map +1 -0
  273. package/dist/v4/helpers/apiCalls.d.ts +26 -0
  274. package/dist/v4/helpers/apiCalls.d.ts.map +1 -0
  275. package/dist/v4/helpers/apiCalls.js +59 -0
  276. package/dist/v4/helpers/apiCalls.js.map +1 -0
  277. package/dist/v4/helpers/assertion.d.ts +26 -0
  278. package/dist/v4/helpers/assertion.d.ts.map +1 -0
  279. package/dist/v4/helpers/assertion.js +134 -0
  280. package/dist/v4/helpers/assertion.js.map +1 -0
  281. package/dist/v4/helpers/assertionV3.d.ts.map +1 -0
  282. package/dist/v4/helpers/assertionV3.js.map +1 -0
  283. package/dist/v4/helpers/autohealAx.d.ts +41 -0
  284. package/dist/v4/helpers/autohealAx.d.ts.map +1 -0
  285. package/dist/v4/helpers/autohealAx.js +148 -0
  286. package/dist/v4/helpers/autohealAx.js.map +1 -0
  287. package/dist/v4/helpers/axTree/actionable.d.ts +143 -0
  288. package/dist/v4/helpers/axTree/actionable.d.ts.map +1 -0
  289. package/dist/v4/helpers/axTree/actionable.js +404 -0
  290. package/dist/v4/helpers/axTree/actionable.js.map +1 -0
  291. package/dist/v4/helpers/axTree/captureAxTree.d.ts +21 -0
  292. package/dist/v4/helpers/axTree/captureAxTree.d.ts.map +1 -0
  293. package/dist/v4/helpers/axTree/captureAxTree.js +15 -0
  294. package/dist/v4/helpers/axTree/captureAxTree.js.map +1 -0
  295. package/dist/v4/helpers/axTree/captureFrameForest.d.ts +52 -0
  296. package/dist/v4/helpers/axTree/captureFrameForest.d.ts.map +1 -0
  297. package/dist/v4/helpers/axTree/captureFrameForest.js +475 -0
  298. package/dist/v4/helpers/axTree/captureFrameForest.js.map +1 -0
  299. package/dist/v4/helpers/axTree/index.d.ts +10 -0
  300. package/dist/v4/helpers/axTree/index.d.ts.map +1 -0
  301. package/dist/v4/helpers/axTree/index.js +8 -0
  302. package/dist/v4/helpers/axTree/index.js.map +1 -0
  303. package/dist/v4/helpers/axTree/serializeAxTree.d.ts +106 -0
  304. package/dist/v4/helpers/axTree/serializeAxTree.d.ts.map +1 -0
  305. package/dist/v4/helpers/axTree/serializeAxTree.js +238 -0
  306. package/dist/v4/helpers/axTree/serializeAxTree.js.map +1 -0
  307. package/dist/v4/helpers/clipboard-intercept.d.ts +5 -0
  308. package/dist/v4/helpers/clipboard-intercept.d.ts.map +1 -0
  309. package/dist/v4/helpers/clipboard-intercept.js +149 -0
  310. package/dist/v4/helpers/clipboard-intercept.js.map +1 -0
  311. package/dist/v4/helpers/clipboard.d.ts +27 -0
  312. package/dist/v4/helpers/clipboard.d.ts.map +1 -0
  313. package/dist/v4/helpers/clipboard.js +70 -0
  314. package/dist/v4/helpers/clipboard.js.map +1 -0
  315. package/dist/v4/helpers/condition.d.ts +100 -0
  316. package/dist/v4/helpers/condition.d.ts.map +1 -0
  317. package/dist/v4/helpers/condition.js +356 -0
  318. package/dist/v4/helpers/condition.js.map +1 -0
  319. package/dist/v4/helpers/cookies.d.ts +12 -0
  320. package/dist/v4/helpers/cookies.d.ts.map +1 -0
  321. package/dist/v4/helpers/cookies.js +66 -0
  322. package/dist/v4/helpers/cookies.js.map +1 -0
  323. package/dist/v4/helpers/coordinateResolver.d.ts +29 -0
  324. package/dist/v4/helpers/coordinateResolver.d.ts.map +1 -0
  325. package/dist/v4/helpers/coordinateResolver.js +118 -0
  326. package/dist/v4/helpers/coordinateResolver.js.map +1 -0
  327. package/dist/v4/helpers/credits.d.ts +19 -0
  328. package/dist/v4/helpers/credits.d.ts.map +1 -0
  329. package/dist/v4/helpers/credits.js +52 -0
  330. package/dist/v4/helpers/credits.js.map +1 -0
  331. package/dist/v4/helpers/derive.d.ts +27 -0
  332. package/dist/v4/helpers/derive.d.ts.map +1 -0
  333. package/dist/v4/helpers/derive.js +87 -0
  334. package/dist/v4/helpers/derive.js.map +1 -0
  335. package/dist/v4/helpers/devtools.d.ts +39 -0
  336. package/dist/v4/helpers/devtools.d.ts.map +1 -0
  337. package/dist/v4/helpers/devtools.js +1215 -0
  338. package/dist/v4/helpers/devtools.js.map +1 -0
  339. package/dist/v4/helpers/dialog.d.ts +29 -0
  340. package/dist/v4/helpers/dialog.d.ts.map +1 -0
  341. package/dist/v4/helpers/dialog.js +35 -0
  342. package/dist/v4/helpers/dialog.js.map +1 -0
  343. package/dist/v4/helpers/drag.d.ts +38 -0
  344. package/dist/v4/helpers/drag.d.ts.map +1 -0
  345. package/dist/v4/helpers/drag.js +245 -0
  346. package/dist/v4/helpers/drag.js.map +1 -0
  347. package/dist/v4/helpers/evaluation/colors.d.ts +2 -0
  348. package/dist/v4/helpers/evaluation/colors.d.ts.map +1 -0
  349. package/dist/v4/helpers/evaluation/colors.js +151 -0
  350. package/dist/v4/helpers/evaluation/colors.js.map +1 -0
  351. package/dist/v4/helpers/evaluation/evaluate.d.ts +10 -0
  352. package/dist/v4/helpers/evaluation/evaluate.d.ts.map +1 -0
  353. package/dist/v4/helpers/evaluation/evaluate.js +423 -0
  354. package/dist/v4/helpers/evaluation/evaluate.js.map +1 -0
  355. package/dist/v4/helpers/executeApi.d.ts +63 -0
  356. package/dist/v4/helpers/executeApi.d.ts.map +1 -0
  357. package/dist/v4/helpers/executeApi.js +363 -0
  358. package/dist/v4/helpers/executeApi.js.map +1 -0
  359. package/dist/v4/helpers/executeDb.d.ts +11 -0
  360. package/dist/v4/helpers/executeDb.d.ts.map +1 -0
  361. package/dist/v4/helpers/executeDb.js +54 -0
  362. package/dist/v4/helpers/executeDb.js.map +1 -0
  363. package/dist/v4/helpers/executeJs.d.ts +16 -0
  364. package/dist/v4/helpers/executeJs.d.ts.map +1 -0
  365. package/dist/v4/helpers/executeJs.js +86 -0
  366. package/dist/v4/helpers/executeJs.js.map +1 -0
  367. package/dist/v4/helpers/gesture.d.ts +45 -0
  368. package/dist/v4/helpers/gesture.d.ts.map +1 -0
  369. package/dist/v4/helpers/gesture.js +131 -0
  370. package/dist/v4/helpers/gesture.js.map +1 -0
  371. package/dist/v4/helpers/healCascade.d.ts +39 -0
  372. package/dist/v4/helpers/healCascade.d.ts.map +1 -0
  373. package/dist/v4/helpers/healCascade.js +418 -0
  374. package/dist/v4/helpers/healCascade.js.map +1 -0
  375. package/dist/v4/helpers/kaneCli.d.ts +18 -0
  376. package/dist/v4/helpers/kaneCli.d.ts.map +1 -0
  377. package/dist/v4/helpers/kaneCli.js +319 -0
  378. package/dist/v4/helpers/kaneCli.js.map +1 -0
  379. package/dist/v4/helpers/loop.d.ts +4 -0
  380. package/dist/v4/helpers/loop.d.ts.map +1 -0
  381. package/dist/v4/helpers/loop.js +4 -0
  382. package/dist/v4/helpers/loop.js.map +1 -0
  383. package/dist/v4/helpers/math.d.ts +19 -0
  384. package/dist/v4/helpers/math.d.ts.map +1 -0
  385. package/dist/v4/helpers/math.js +117 -0
  386. package/dist/v4/helpers/math.js.map +1 -0
  387. package/dist/v4/helpers/network.d.ts +27 -0
  388. package/dist/v4/helpers/network.d.ts.map +1 -0
  389. package/dist/v4/helpers/network.js +185 -0
  390. package/dist/v4/helpers/network.js.map +1 -0
  391. package/dist/v4/helpers/pageReady.d.ts +27 -0
  392. package/dist/v4/helpers/pageReady.d.ts.map +1 -0
  393. package/dist/v4/helpers/pageReady.js +69 -0
  394. package/dist/v4/helpers/pageReady.js.map +1 -0
  395. package/dist/v4/helpers/png.d.ts +3 -0
  396. package/dist/v4/helpers/png.d.ts.map +1 -0
  397. package/dist/v4/helpers/png.js +18 -0
  398. package/dist/v4/helpers/png.js.map +1 -0
  399. package/dist/v4/helpers/queryResult.d.ts +13 -0
  400. package/dist/v4/helpers/queryResult.d.ts.map +1 -0
  401. package/dist/v4/helpers/queryResult.js +27 -0
  402. package/dist/v4/helpers/queryResult.js.map +1 -0
  403. package/dist/v4/helpers/runtimeSnapshot.d.ts +37 -0
  404. package/dist/v4/helpers/runtimeSnapshot.d.ts.map +1 -0
  405. package/dist/v4/helpers/runtimeSnapshot.js +101 -0
  406. package/dist/v4/helpers/runtimeSnapshot.js.map +1 -0
  407. package/dist/v4/helpers/schemaAssertion.d.ts +12 -0
  408. package/dist/v4/helpers/schemaAssertion.d.ts.map +1 -0
  409. package/dist/v4/helpers/schemaAssertion.js +117 -0
  410. package/dist/v4/helpers/schemaAssertion.js.map +1 -0
  411. package/dist/v4/helpers/screenshot.d.ts +40 -0
  412. package/dist/v4/helpers/screenshot.d.ts.map +1 -0
  413. package/dist/v4/helpers/screenshot.js +82 -0
  414. package/dist/v4/helpers/screenshot.js.map +1 -0
  415. package/dist/v4/helpers/scrollUntil.d.ts +13 -0
  416. package/dist/v4/helpers/scrollUntil.d.ts.map +1 -0
  417. package/dist/v4/helpers/scrollUntil.js +90 -0
  418. package/dist/v4/helpers/scrollUntil.js.map +1 -0
  419. package/dist/v4/helpers/smartui.d.ts +9 -0
  420. package/dist/v4/helpers/smartui.d.ts.map +1 -0
  421. package/dist/v4/helpers/smartui.js +77 -0
  422. package/dist/v4/helpers/smartui.js.map +1 -0
  423. package/dist/v4/helpers/sseParser.d.ts +34 -0
  424. package/dist/v4/helpers/sseParser.d.ts.map +1 -0
  425. package/dist/v4/helpers/sseParser.js +128 -0
  426. package/dist/v4/helpers/sseParser.js.map +1 -0
  427. package/dist/v4/helpers/tabs.d.ts +32 -0
  428. package/dist/v4/helpers/tabs.d.ts.map +1 -0
  429. package/dist/v4/helpers/tabs.js +89 -0
  430. package/dist/v4/helpers/tabs.js.map +1 -0
  431. package/dist/v4/helpers/text.d.ts +15 -0
  432. package/dist/v4/helpers/text.d.ts.map +1 -0
  433. package/dist/v4/helpers/text.js +24 -0
  434. package/dist/v4/helpers/text.js.map +1 -0
  435. package/dist/v4/helpers/textNormalize.d.ts +18 -0
  436. package/dist/v4/helpers/textNormalize.d.ts.map +1 -0
  437. package/dist/v4/helpers/textNormalize.js +39 -0
  438. package/dist/v4/helpers/textNormalize.js.map +1 -0
  439. package/dist/v4/helpers/textualAnalyzer/domStructured.d.ts +44 -0
  440. package/dist/v4/helpers/textualAnalyzer/domStructured.d.ts.map +1 -0
  441. package/dist/v4/helpers/textualAnalyzer/domStructured.js +242 -0
  442. package/dist/v4/helpers/textualAnalyzer/domStructured.js.map +1 -0
  443. package/dist/v4/helpers/textualAnalyzer/evaluate.d.ts +14 -0
  444. package/dist/v4/helpers/textualAnalyzer/evaluate.d.ts.map +1 -0
  445. package/dist/v4/helpers/textualAnalyzer/evaluate.js +5 -0
  446. package/dist/v4/helpers/textualAnalyzer/evaluate.js.map +1 -0
  447. package/dist/v4/helpers/textualAnalyzer/extractor.d.ts +21 -0
  448. package/dist/v4/helpers/textualAnalyzer/extractor.d.ts.map +1 -0
  449. package/dist/v4/helpers/textualAnalyzer/extractor.js +38 -0
  450. package/dist/v4/helpers/textualAnalyzer/extractor.js.map +1 -0
  451. package/dist/v4/helpers/textualAnalyzer/heal.d.ts +25 -0
  452. package/dist/v4/helpers/textualAnalyzer/heal.d.ts.map +1 -0
  453. package/dist/v4/helpers/textualAnalyzer/heal.js +120 -0
  454. package/dist/v4/helpers/textualAnalyzer/heal.js.map +1 -0
  455. package/dist/v4/helpers/textualAnalyzer/index.d.ts +29 -0
  456. package/dist/v4/helpers/textualAnalyzer/index.d.ts.map +1 -0
  457. package/dist/v4/helpers/textualAnalyzer/index.js +60 -0
  458. package/dist/v4/helpers/textualAnalyzer/index.js.map +1 -0
  459. package/dist/v4/helpers/textualAnalyzer/locatorEnrichment.d.ts +47 -0
  460. package/dist/v4/helpers/textualAnalyzer/locatorEnrichment.d.ts.map +1 -0
  461. package/dist/v4/helpers/textualAnalyzer/locatorEnrichment.js +224 -0
  462. package/dist/v4/helpers/textualAnalyzer/locatorEnrichment.js.map +1 -0
  463. package/dist/v4/helpers/vision.d.ts.map +1 -0
  464. package/dist/v4/helpers/vision.js +487 -0
  465. package/dist/v4/helpers/vision.js.map +1 -0
  466. package/dist/v4/helpers/wait.d.ts +16 -0
  467. package/dist/v4/helpers/wait.d.ts.map +1 -0
  468. package/dist/v4/helpers/wait.js +48 -0
  469. package/dist/v4/helpers/wait.js.map +1 -0
  470. package/dist/v4/http.d.ts +14 -0
  471. package/dist/v4/http.d.ts.map +1 -0
  472. package/dist/v4/http.js +45 -0
  473. package/dist/v4/http.js.map +1 -0
  474. package/dist/v4/httpClient.d.ts +18 -0
  475. package/dist/v4/httpClient.d.ts.map +1 -0
  476. package/dist/v4/httpClient.js +140 -0
  477. package/dist/v4/httpClient.js.map +1 -0
  478. package/dist/v4/index.d.ts +40 -0
  479. package/dist/v4/index.d.ts.map +1 -0
  480. package/dist/v4/index.js +41 -0
  481. package/dist/v4/index.js.map +1 -0
  482. package/dist/v4/rankedLocator.d.ts +27 -0
  483. package/dist/v4/rankedLocator.d.ts.map +1 -0
  484. package/dist/v4/rankedLocator.js +85 -0
  485. package/dist/v4/rankedLocator.js.map +1 -0
  486. package/dist/v4/relayProxy.d.ts +46 -0
  487. package/dist/v4/relayProxy.d.ts.map +1 -0
  488. package/dist/v4/relayProxy.js +485 -0
  489. package/dist/v4/relayProxy.js.map +1 -0
  490. package/dist/v4/reporters/index.d.ts +33 -0
  491. package/dist/v4/reporters/index.d.ts.map +1 -0
  492. package/dist/v4/reporters/index.js +7 -0
  493. package/dist/v4/reporters/index.js.map +1 -0
  494. package/dist/v4/reporters/local.d.ts +13 -0
  495. package/dist/v4/reporters/local.d.ts.map +1 -0
  496. package/dist/v4/reporters/local.js +40 -0
  497. package/dist/v4/reporters/local.js.map +1 -0
  498. package/dist/v4/reporters/lt.d.ts +28 -0
  499. package/dist/v4/reporters/lt.d.ts.map +1 -0
  500. package/dist/v4/reporters/lt.js +110 -0
  501. package/dist/v4/reporters/lt.js.map +1 -0
  502. package/dist/v4/reporters/null.d.ts +11 -0
  503. package/dist/v4/reporters/null.d.ts.map +1 -0
  504. package/dist/v4/reporters/null.js +10 -0
  505. package/dist/v4/reporters/null.js.map +1 -0
  506. package/dist/v4/routeFailure.d.ts +9 -0
  507. package/dist/v4/routeFailure.d.ts.map +1 -0
  508. package/dist/v4/routeFailure.js +34 -0
  509. package/dist/v4/routeFailure.js.map +1 -0
  510. package/dist/v4/session.d.ts +22 -0
  511. package/dist/v4/session.d.ts.map +1 -0
  512. package/dist/v4/session.js +312 -0
  513. package/dist/v4/session.js.map +1 -0
  514. package/dist/v4/step.d.ts +53 -0
  515. package/dist/v4/step.d.ts.map +1 -0
  516. package/dist/v4/step.js +95 -0
  517. package/dist/v4/step.js.map +1 -0
  518. package/dist/v4/stepVariables.d.ts +15 -0
  519. package/dist/v4/stepVariables.d.ts.map +1 -0
  520. package/dist/v4/stepVariables.js +61 -0
  521. package/dist/v4/stepVariables.js.map +1 -0
  522. package/dist/v4/test.d.ts +10 -0
  523. package/dist/v4/test.d.ts.map +1 -0
  524. package/dist/v4/test.js +5 -0
  525. package/dist/v4/test.js.map +1 -0
  526. package/dist/v4/testConfig.d.ts +12 -0
  527. package/dist/v4/testConfig.d.ts.map +1 -0
  528. package/dist/v4/testConfig.js +89 -0
  529. package/dist/v4/testConfig.js.map +1 -0
  530. package/dist/v4/testState.d.ts +10 -0
  531. package/dist/v4/testState.d.ts.map +1 -0
  532. package/dist/v4/testState.js +16 -0
  533. package/dist/v4/testState.js.map +1 -0
  534. package/dist/v4/vars.d.ts +84 -0
  535. package/dist/v4/vars.d.ts.map +1 -0
  536. package/dist/v4/vars.js +912 -0
  537. package/dist/v4/vars.js.map +1 -0
  538. package/dist/v4/visionLocator.d.ts +53 -0
  539. package/dist/v4/visionLocator.d.ts.map +1 -0
  540. package/dist/v4/visionLocator.js +117 -0
  541. package/dist/v4/visionLocator.js.map +1 -0
  542. package/package.json +1 -1
  543. package/dist/actionEngine.d.ts.map +0 -1
  544. package/dist/actionEngine.js +0 -194
  545. package/dist/actionEngine.js.map +0 -1
  546. package/dist/actionSpecs.d.ts.map +0 -1
  547. package/dist/actionSpecs.js +0 -354
  548. package/dist/actionSpecs.js.map +0 -1
  549. package/dist/capability.d.ts.map +0 -1
  550. package/dist/capability.js +0 -346
  551. package/dist/capability.js.map +0 -1
  552. package/dist/downloadsPath.d.ts.map +0 -1
  553. package/dist/downloadsPath.js.map +0 -1
  554. package/dist/healCache.d.ts.map +0 -1
  555. package/dist/healCache.js.map +0 -1
  556. package/dist/healPatch.d.ts +0 -20
  557. package/dist/healPatch.d.ts.map +0 -1
  558. package/dist/healPatch.js +0 -429
  559. package/dist/healPatch.js.map +0 -1
  560. package/dist/helpers/a11yFlatten.d.ts.map +0 -1
  561. package/dist/helpers/a11yFlatten.js +0 -569
  562. package/dist/helpers/a11yFlatten.js.map +0 -1
  563. package/dist/helpers/apiCalls.d.ts.map +0 -1
  564. package/dist/helpers/apiCalls.js +0 -59
  565. package/dist/helpers/apiCalls.js.map +0 -1
  566. package/dist/helpers/assertion.d.ts.map +0 -1
  567. package/dist/helpers/assertion.js +0 -152
  568. package/dist/helpers/assertion.js.map +0 -1
  569. package/dist/helpers/assertionV3.d.ts.map +0 -1
  570. package/dist/helpers/assertionV3.js.map +0 -1
  571. package/dist/helpers/autohealAx.d.ts.map +0 -1
  572. package/dist/helpers/autohealAx.js +0 -148
  573. package/dist/helpers/autohealAx.js.map +0 -1
  574. package/dist/helpers/axTree/actionable.d.ts.map +0 -1
  575. package/dist/helpers/axTree/actionable.js +0 -404
  576. package/dist/helpers/axTree/actionable.js.map +0 -1
  577. package/dist/helpers/axTree/captureAxTree.d.ts.map +0 -1
  578. package/dist/helpers/axTree/captureAxTree.js.map +0 -1
  579. package/dist/helpers/axTree/captureFrameForest.d.ts.map +0 -1
  580. package/dist/helpers/axTree/captureFrameForest.js +0 -475
  581. package/dist/helpers/axTree/captureFrameForest.js.map +0 -1
  582. package/dist/helpers/axTree/index.d.ts.map +0 -1
  583. package/dist/helpers/axTree/index.js.map +0 -1
  584. package/dist/helpers/axTree/serializeAxTree.d.ts.map +0 -1
  585. package/dist/helpers/axTree/serializeAxTree.js.map +0 -1
  586. package/dist/helpers/clipboard-intercept.d.ts.map +0 -1
  587. package/dist/helpers/clipboard-intercept.js.map +0 -1
  588. package/dist/helpers/clipboard.d.ts.map +0 -1
  589. package/dist/helpers/clipboard.js.map +0 -1
  590. package/dist/helpers/condition.d.ts +0 -100
  591. package/dist/helpers/condition.d.ts.map +0 -1
  592. package/dist/helpers/condition.js +0 -357
  593. package/dist/helpers/condition.js.map +0 -1
  594. package/dist/helpers/cookies.d.ts.map +0 -1
  595. package/dist/helpers/cookies.js +0 -66
  596. package/dist/helpers/cookies.js.map +0 -1
  597. package/dist/helpers/coordinateResolver.d.ts.map +0 -1
  598. package/dist/helpers/coordinateResolver.js +0 -118
  599. package/dist/helpers/coordinateResolver.js.map +0 -1
  600. package/dist/helpers/coordinateResolverRead.d.ts.map +0 -1
  601. package/dist/helpers/coordinateResolverRead.js +0 -107
  602. package/dist/helpers/coordinateResolverRead.js.map +0 -1
  603. package/dist/helpers/credits.d.ts.map +0 -1
  604. package/dist/helpers/credits.js +0 -52
  605. package/dist/helpers/credits.js.map +0 -1
  606. package/dist/helpers/derive.d.ts.map +0 -1
  607. package/dist/helpers/derive.js +0 -87
  608. package/dist/helpers/derive.js.map +0 -1
  609. package/dist/helpers/devtools.d.ts.map +0 -1
  610. package/dist/helpers/devtools.js +0 -1215
  611. package/dist/helpers/devtools.js.map +0 -1
  612. package/dist/helpers/dialog.d.ts.map +0 -1
  613. package/dist/helpers/dialog.js.map +0 -1
  614. package/dist/helpers/drag.d.ts.map +0 -1
  615. package/dist/helpers/drag.js +0 -276
  616. package/dist/helpers/drag.js.map +0 -1
  617. package/dist/helpers/evaluation/colors.d.ts.map +0 -1
  618. package/dist/helpers/evaluation/colors.js.map +0 -1
  619. package/dist/helpers/evaluation/evaluate.d.ts.map +0 -1
  620. package/dist/helpers/evaluation/evaluate.js.map +0 -1
  621. package/dist/helpers/executeApi.d.ts.map +0 -1
  622. package/dist/helpers/executeApi.js +0 -377
  623. package/dist/helpers/executeApi.js.map +0 -1
  624. package/dist/helpers/executeDb.d.ts.map +0 -1
  625. package/dist/helpers/executeDb.js +0 -54
  626. package/dist/helpers/executeDb.js.map +0 -1
  627. package/dist/helpers/executeJs.d.ts.map +0 -1
  628. package/dist/helpers/executeJs.js +0 -117
  629. package/dist/helpers/executeJs.js.map +0 -1
  630. package/dist/helpers/gesture.d.ts.map +0 -1
  631. package/dist/helpers/gesture.js +0 -131
  632. package/dist/helpers/gesture.js.map +0 -1
  633. package/dist/helpers/healCascade.d.ts.map +0 -1
  634. package/dist/helpers/healCascade.js +0 -418
  635. package/dist/helpers/healCascade.js.map +0 -1
  636. package/dist/helpers/iframeA11y.d.ts.map +0 -1
  637. package/dist/helpers/iframeA11y.js +0 -128
  638. package/dist/helpers/iframeA11y.js.map +0 -1
  639. package/dist/helpers/kaneCli.d.ts.map +0 -1
  640. package/dist/helpers/kaneCli.js +0 -319
  641. package/dist/helpers/kaneCli.js.map +0 -1
  642. package/dist/helpers/loop.d.ts +0 -6
  643. package/dist/helpers/loop.d.ts.map +0 -1
  644. package/dist/helpers/loop.js +0 -9
  645. package/dist/helpers/loop.js.map +0 -1
  646. package/dist/helpers/math.d.ts.map +0 -1
  647. package/dist/helpers/math.js +0 -152
  648. package/dist/helpers/math.js.map +0 -1
  649. package/dist/helpers/network.d.ts.map +0 -1
  650. package/dist/helpers/network.js +0 -185
  651. package/dist/helpers/network.js.map +0 -1
  652. package/dist/helpers/pageReady.d.ts.map +0 -1
  653. package/dist/helpers/pageReady.js +0 -85
  654. package/dist/helpers/pageReady.js.map +0 -1
  655. package/dist/helpers/png.d.ts.map +0 -1
  656. package/dist/helpers/png.js.map +0 -1
  657. package/dist/helpers/queryResult.d.ts.map +0 -1
  658. package/dist/helpers/queryResult.js.map +0 -1
  659. package/dist/helpers/runtimeSnapshot.d.ts.map +0 -1
  660. package/dist/helpers/runtimeSnapshot.js +0 -204
  661. package/dist/helpers/runtimeSnapshot.js.map +0 -1
  662. package/dist/helpers/schemaAssertion.d.ts.map +0 -1
  663. package/dist/helpers/schemaAssertion.js +0 -117
  664. package/dist/helpers/schemaAssertion.js.map +0 -1
  665. package/dist/helpers/screenshot.d.ts +0 -45
  666. package/dist/helpers/screenshot.d.ts.map +0 -1
  667. package/dist/helpers/screenshot.js +0 -90
  668. package/dist/helpers/screenshot.js.map +0 -1
  669. package/dist/helpers/scrollUntil.d.ts.map +0 -1
  670. package/dist/helpers/scrollUntil.js +0 -90
  671. package/dist/helpers/scrollUntil.js.map +0 -1
  672. package/dist/helpers/smartui.d.ts.map +0 -1
  673. package/dist/helpers/smartui.js +0 -77
  674. package/dist/helpers/smartui.js.map +0 -1
  675. package/dist/helpers/sseParser.d.ts.map +0 -1
  676. package/dist/helpers/sseParser.js.map +0 -1
  677. package/dist/helpers/tabs.d.ts +0 -44
  678. package/dist/helpers/tabs.d.ts.map +0 -1
  679. package/dist/helpers/tabs.js +0 -270
  680. package/dist/helpers/tabs.js.map +0 -1
  681. package/dist/helpers/text.d.ts.map +0 -1
  682. package/dist/helpers/text.js.map +0 -1
  683. package/dist/helpers/textNormalize.d.ts.map +0 -1
  684. package/dist/helpers/textNormalize.js.map +0 -1
  685. package/dist/helpers/textualAnalyzer/domStructured.d.ts.map +0 -1
  686. package/dist/helpers/textualAnalyzer/domStructured.js +0 -242
  687. package/dist/helpers/textualAnalyzer/domStructured.js.map +0 -1
  688. package/dist/helpers/textualAnalyzer/evaluate.d.ts.map +0 -1
  689. package/dist/helpers/textualAnalyzer/evaluate.js.map +0 -1
  690. package/dist/helpers/textualAnalyzer/extractor.d.ts.map +0 -1
  691. package/dist/helpers/textualAnalyzer/extractor.js.map +0 -1
  692. package/dist/helpers/textualAnalyzer/heal.d.ts.map +0 -1
  693. package/dist/helpers/textualAnalyzer/heal.js +0 -120
  694. package/dist/helpers/textualAnalyzer/heal.js.map +0 -1
  695. package/dist/helpers/textualAnalyzer/index.d.ts.map +0 -1
  696. package/dist/helpers/textualAnalyzer/index.js +0 -60
  697. package/dist/helpers/textualAnalyzer/index.js.map +0 -1
  698. package/dist/helpers/textualAnalyzer/locatorEnrichment.d.ts.map +0 -1
  699. package/dist/helpers/textualAnalyzer/locatorEnrichment.js +0 -224
  700. package/dist/helpers/textualAnalyzer/locatorEnrichment.js.map +0 -1
  701. package/dist/helpers/textualRead.d.ts.map +0 -1
  702. package/dist/helpers/textualRead.js.map +0 -1
  703. package/dist/helpers/vision.d.ts.map +0 -1
  704. package/dist/helpers/vision.js +0 -498
  705. package/dist/helpers/vision.js.map +0 -1
  706. package/dist/helpers/visionFence.d.ts.map +0 -1
  707. package/dist/helpers/visionFence.js.map +0 -1
  708. package/dist/helpers/visionV3.d.ts +0 -52
  709. package/dist/helpers/visionV3.d.ts.map +0 -1
  710. package/dist/helpers/visionV3.js +0 -366
  711. package/dist/helpers/visionV3.js.map +0 -1
  712. package/dist/helpers/wait.d.ts.map +0 -1
  713. package/dist/helpers/wait.js +0 -48
  714. package/dist/helpers/wait.js.map +0 -1
  715. package/dist/http.d.ts.map +0 -1
  716. package/dist/http.js +0 -45
  717. package/dist/http.js.map +0 -1
  718. package/dist/httpClient.d.ts.map +0 -1
  719. package/dist/httpClient.js.map +0 -1
  720. package/dist/rankedLocator.d.ts.map +0 -1
  721. package/dist/rankedLocator.js +0 -85
  722. package/dist/rankedLocator.js.map +0 -1
  723. package/dist/relayProxy.d.ts.map +0 -1
  724. package/dist/relayProxy.js +0 -485
  725. package/dist/relayProxy.js.map +0 -1
  726. package/dist/reporters/index.d.ts.map +0 -1
  727. package/dist/reporters/index.js +0 -7
  728. package/dist/reporters/index.js.map +0 -1
  729. package/dist/reporters/local.d.ts.map +0 -1
  730. package/dist/reporters/local.js +0 -40
  731. package/dist/reporters/local.js.map +0 -1
  732. package/dist/reporters/lt.d.ts.map +0 -1
  733. package/dist/reporters/lt.js +0 -127
  734. package/dist/reporters/lt.js.map +0 -1
  735. package/dist/reporters/null.d.ts.map +0 -1
  736. package/dist/reporters/null.js.map +0 -1
  737. package/dist/routeFailure.d.ts.map +0 -1
  738. package/dist/routeFailure.js +0 -34
  739. package/dist/routeFailure.js.map +0 -1
  740. package/dist/session.d.ts.map +0 -1
  741. package/dist/session.js +0 -312
  742. package/dist/session.js.map +0 -1
  743. package/dist/step.d.ts +0 -61
  744. package/dist/step.d.ts.map +0 -1
  745. package/dist/step.js +0 -112
  746. package/dist/step.js.map +0 -1
  747. package/dist/stepVariables.d.ts.map +0 -1
  748. package/dist/stepVariables.js +0 -61
  749. package/dist/stepVariables.js.map +0 -1
  750. package/dist/test.d.ts.map +0 -1
  751. package/dist/test.js.map +0 -1
  752. package/dist/testConfig.d.ts.map +0 -1
  753. package/dist/testConfig.js.map +0 -1
  754. package/dist/testState.d.ts.map +0 -1
  755. package/dist/testState.js.map +0 -1
  756. package/dist/vars.d.ts +0 -78
  757. package/dist/vars.d.ts.map +0 -1
  758. package/dist/vars.js +0 -912
  759. package/dist/vars.js.map +0 -1
  760. package/dist/visionLocator.d.ts.map +0 -1
  761. package/dist/visionLocator.js +0 -117
  762. package/dist/visionLocator.js.map +0 -1
  763. /package/dist/{actionEngine.d.ts → v3/actionEngine.d.ts} +0 -0
  764. /package/dist/{actionSpecs.d.ts → v3/actionSpecs.d.ts} +0 -0
  765. /package/dist/{capability.d.ts → v3/capability.d.ts} +0 -0
  766. /package/dist/{downloadsPath.d.ts → v3/downloadsPath.d.ts} +0 -0
  767. /package/dist/{downloadsPath.js → v3/downloadsPath.js} +0 -0
  768. /package/dist/{healCache.d.ts → v3/healCache.d.ts} +0 -0
  769. /package/dist/{healCache.js → v3/healCache.js} +0 -0
  770. /package/dist/{helpers → v3/helpers}/a11yFlatten.d.ts +0 -0
  771. /package/dist/{helpers → v3/helpers}/apiCalls.d.ts +0 -0
  772. /package/dist/{helpers → v3/helpers}/assertion.d.ts +0 -0
  773. /package/dist/{helpers → v3/helpers}/autohealAx.d.ts +0 -0
  774. /package/dist/{helpers → v3/helpers}/axTree/actionable.d.ts +0 -0
  775. /package/dist/{helpers → v3/helpers}/axTree/captureAxTree.d.ts +0 -0
  776. /package/dist/{helpers → v3/helpers}/axTree/captureAxTree.js +0 -0
  777. /package/dist/{helpers → v3/helpers}/axTree/captureFrameForest.d.ts +0 -0
  778. /package/dist/{helpers → v3/helpers}/axTree/index.d.ts +0 -0
  779. /package/dist/{helpers → v3/helpers}/axTree/index.js +0 -0
  780. /package/dist/{helpers → v3/helpers}/axTree/serializeAxTree.d.ts +0 -0
  781. /package/dist/{helpers → v3/helpers}/axTree/serializeAxTree.js +0 -0
  782. /package/dist/{helpers → v3/helpers}/clipboard-intercept.d.ts +0 -0
  783. /package/dist/{helpers → v3/helpers}/clipboard-intercept.js +0 -0
  784. /package/dist/{helpers → v3/helpers}/clipboard.d.ts +0 -0
  785. /package/dist/{helpers → v3/helpers}/clipboard.js +0 -0
  786. /package/dist/{helpers → v3/helpers}/cookies.d.ts +0 -0
  787. /package/dist/{helpers → v3/helpers}/coordinateResolver.d.ts +0 -0
  788. /package/dist/{helpers → v3/helpers}/coordinateResolverRead.d.ts +0 -0
  789. /package/dist/{helpers → v3/helpers}/credits.d.ts +0 -0
  790. /package/dist/{helpers → v3/helpers}/derive.d.ts +0 -0
  791. /package/dist/{helpers → v3/helpers}/devtools.d.ts +0 -0
  792. /package/dist/{helpers → v3/helpers}/dialog.d.ts +0 -0
  793. /package/dist/{helpers → v3/helpers}/dialog.js +0 -0
  794. /package/dist/{helpers → v3/helpers}/drag.d.ts +0 -0
  795. /package/dist/{helpers → v3/helpers}/evaluation/colors.d.ts +0 -0
  796. /package/dist/{helpers → v3/helpers}/evaluation/colors.js +0 -0
  797. /package/dist/{helpers → v3/helpers}/evaluation/evaluate.d.ts +0 -0
  798. /package/dist/{helpers → v3/helpers}/evaluation/evaluate.js +0 -0
  799. /package/dist/{helpers → v3/helpers}/executeApi.d.ts +0 -0
  800. /package/dist/{helpers → v3/helpers}/executeDb.d.ts +0 -0
  801. /package/dist/{helpers → v3/helpers}/executeJs.d.ts +0 -0
  802. /package/dist/{helpers → v3/helpers}/gesture.d.ts +0 -0
  803. /package/dist/{helpers → v3/helpers}/healCascade.d.ts +0 -0
  804. /package/dist/{helpers → v3/helpers}/iframeA11y.d.ts +0 -0
  805. /package/dist/{helpers → v3/helpers}/kaneCli.d.ts +0 -0
  806. /package/dist/{helpers → v3/helpers}/math.d.ts +0 -0
  807. /package/dist/{helpers → v3/helpers}/network.d.ts +0 -0
  808. /package/dist/{helpers → v3/helpers}/pageReady.d.ts +0 -0
  809. /package/dist/{helpers → v3/helpers}/png.d.ts +0 -0
  810. /package/dist/{helpers → v3/helpers}/png.js +0 -0
  811. /package/dist/{helpers → v3/helpers}/queryResult.d.ts +0 -0
  812. /package/dist/{helpers → v3/helpers}/queryResult.js +0 -0
  813. /package/dist/{helpers → v3/helpers}/runtimeSnapshot.d.ts +0 -0
  814. /package/dist/{helpers → v3/helpers}/schemaAssertion.d.ts +0 -0
  815. /package/dist/{helpers → v3/helpers}/scrollUntil.d.ts +0 -0
  816. /package/dist/{helpers → v3/helpers}/smartui.d.ts +0 -0
  817. /package/dist/{helpers → v3/helpers}/sseParser.d.ts +0 -0
  818. /package/dist/{helpers → v3/helpers}/sseParser.js +0 -0
  819. /package/dist/{helpers → v3/helpers}/text.d.ts +0 -0
  820. /package/dist/{helpers → v3/helpers}/text.js +0 -0
  821. /package/dist/{helpers → v3/helpers}/textNormalize.d.ts +0 -0
  822. /package/dist/{helpers → v3/helpers}/textNormalize.js +0 -0
  823. /package/dist/{helpers → v3/helpers}/textualAnalyzer/domStructured.d.ts +0 -0
  824. /package/dist/{helpers → v3/helpers}/textualAnalyzer/evaluate.d.ts +0 -0
  825. /package/dist/{helpers → v3/helpers}/textualAnalyzer/evaluate.js +0 -0
  826. /package/dist/{helpers → v3/helpers}/textualAnalyzer/extractor.d.ts +0 -0
  827. /package/dist/{helpers → v3/helpers}/textualAnalyzer/extractor.js +0 -0
  828. /package/dist/{helpers → v3/helpers}/textualAnalyzer/heal.d.ts +0 -0
  829. /package/dist/{helpers → v3/helpers}/textualAnalyzer/index.d.ts +0 -0
  830. /package/dist/{helpers → v3/helpers}/textualAnalyzer/locatorEnrichment.d.ts +0 -0
  831. /package/dist/{helpers → v3/helpers}/textualRead.d.ts +0 -0
  832. /package/dist/{helpers → v3/helpers}/textualRead.js +0 -0
  833. /package/dist/{helpers → v3/helpers}/visionFence.d.ts +0 -0
  834. /package/dist/{helpers → v3/helpers}/visionFence.js +0 -0
  835. /package/dist/{helpers → v3/helpers}/wait.d.ts +0 -0
  836. /package/dist/{http.d.ts → v3/http.d.ts} +0 -0
  837. /package/dist/{httpClient.d.ts → v3/httpClient.d.ts} +0 -0
  838. /package/dist/{httpClient.js → v3/httpClient.js} +0 -0
  839. /package/dist/{rankedLocator.d.ts → v3/rankedLocator.d.ts} +0 -0
  840. /package/dist/{relayProxy.d.ts → v3/relayProxy.d.ts} +0 -0
  841. /package/dist/{reporters → v3/reporters}/index.d.ts +0 -0
  842. /package/dist/{reporters → v3/reporters}/local.d.ts +0 -0
  843. /package/dist/{reporters → v3/reporters}/lt.d.ts +0 -0
  844. /package/dist/{reporters → v3/reporters}/null.d.ts +0 -0
  845. /package/dist/{reporters → v3/reporters}/null.js +0 -0
  846. /package/dist/{routeFailure.d.ts → v3/routeFailure.d.ts} +0 -0
  847. /package/dist/{session.d.ts → v3/session.d.ts} +0 -0
  848. /package/dist/{stepVariables.d.ts → v3/stepVariables.d.ts} +0 -0
  849. /package/dist/{test.d.ts → v3/test.d.ts} +0 -0
  850. /package/dist/{test.js → v3/test.js} +0 -0
  851. /package/dist/{testConfig.d.ts → v3/testConfig.d.ts} +0 -0
  852. /package/dist/{testConfig.js → v3/testConfig.js} +0 -0
  853. /package/dist/{testState.d.ts → v3/testState.d.ts} +0 -0
  854. /package/dist/{testState.js → v3/testState.js} +0 -0
  855. /package/dist/{visionLocator.d.ts → v3/visionLocator.d.ts} +0 -0
  856. /package/dist/{helpers → v4/helpers}/assertionV3.d.ts +0 -0
  857. /package/dist/{helpers → v4/helpers}/assertionV3.js +0 -0
  858. /package/dist/{helpers → v4/helpers}/vision.d.ts +0 -0
@@ -1,127 +0,0 @@
1
- import { popStepVariables, resetStepVariables } from '../stepVariables.js';
2
- import { wireFailureCondition } from '../step.js';
3
- import { log } from '../log.js';
4
- import { get, isV3 } from '../configure.js';
5
- /**
6
- * LambdaTest dashboard reporter.
7
- *
8
- * Uses page.evaluate('lambdatest_action: ...') for:
9
- * - setTestStatus (overall test verdict)
10
- * - lambda-testCase-start (per-step start with optional instructionId)
11
- * - lambda-testCase-end (per-step end with status)
12
- * - lambda-element-bounds (ships element rect for per-step coordinates)
13
- *
14
- * The server parses these and writes the per-step record.
15
- */
16
- export class LTReporter {
17
- page = null;
18
- stepNum = 0;
19
- _setPage(page) {
20
- this.page = page;
21
- }
22
- async action(actionName, args) {
23
- if (!this.page)
24
- return;
25
- try {
26
- const payload = JSON.stringify({ action: actionName, arguments: args });
27
- await this.page.evaluate('_ => {}', `lambdatest_action: ${payload}`);
28
- }
29
- catch {
30
- // swallow — dashboard reporting must never fail a test
31
- }
32
- }
33
- async beginTest(name) {
34
- this.stepNum = 0;
35
- // A step-variable buffer left over from a previous test would be attributed
36
- // to this test's first step.
37
- resetStepVariables();
38
- log.test(`[TEST START] ${name}`);
39
- }
40
- async passTest() {
41
- log.test(`[TEST PASS] (${this.stepNum} steps)`);
42
- await this.action('setTestStatus', { status: 'passed', remark: 'Test completed successfully' });
43
- }
44
- async failTest(error) {
45
- const msg = error instanceof Error ? error.message : String(error);
46
- log.test(`[TEST FAIL] at step ${this.stepNum} — ${msg}`);
47
- await this.action('setTestStatus', { status: 'failed', remark: msg });
48
- }
49
- async beginStep(description, instructionId) {
50
- this.stepNum += 1;
51
- log.step(`[STEP ${this.stepNum}] ${description}`);
52
- const args = { name: description };
53
- if (instructionId)
54
- args['instructionId'] = instructionId;
55
- // V4 pre-step URL: page.url() here is the URL just before the step's
56
- // action runs. Read must never fail the hook.
57
- // Key matches auteur's per-operation pre_action_url in test_summary.
58
- if (get('kaneRunV4') && this.page) {
59
- try {
60
- args['pre_action_url'] = this.page.url();
61
- }
62
- catch {
63
- // page closed/navigating — skip the field
64
- }
65
- }
66
- await this.action('lambda-testCase-start', args);
67
- }
68
- async endStep(description, ok, error, opts) {
69
- if (!ok) {
70
- const msg = error instanceof Error ? error.message : String(error ?? description);
71
- log.step(`[STEP ${this.stepNum} FAIL] ${msg}`);
72
- }
73
- const args = {
74
- name: description,
75
- status: ok ? 'passed' : 'failed',
76
- };
77
- if (opts?.instructionId)
78
- args['instructionId'] = opts.instructionId;
79
- // V3-only (false when no heal), matching PY/C# which have no V4 path. The
80
- // server reads it into steps.json `autoHeal` for the per-step badge.
81
- // Gated so the V4 wire payload stays byte-identical (only the V3 cascade
82
- // ever calls markAutoHeal; V4's own heal paths never set it).
83
- if (isV3())
84
- args['auto_heal'] = Boolean(opts?.autoHeal);
85
- // Report the values this step ran with, not just the names. The
86
- // buffer is DRAINED unconditionally (even when the hook itself is a no-op)
87
- // so one step's reads cannot leak into the next step's payload.
88
- const stepVariables = popStepVariables();
89
- if (Object.keys(stepVariables).length > 0) {
90
- args['variables'] = stepVariables;
91
- log.step(`[STEP ${this.stepNum}] variables=${Object.keys(stepVariables).sort().join(',')}`);
92
- }
93
- // Carry WHY a failed step failed so HPS can show the per-step
94
- // disposition. Only on a failure — meaningless for a passing step, and the
95
- // source omits it there too.
96
- // V3-only, like auto_heal above: the V4 wire payload is guaranteed
97
- // byte-identical to pre-V3 (see the endStep test that pins it).
98
- if (isV3() && !ok) {
99
- const wireCondition = wireFailureCondition(opts?.onFailure);
100
- if (wireCondition)
101
- args['failure_condition'] = wireCondition;
102
- }
103
- await this.action('lambda-testCase-end', args);
104
- }
105
- async warnStep(description, error) {
106
- // Local log only — WARN verdict is read by FE from authoring source.
107
- const msg = error instanceof Error ? error.message : String(error);
108
- log.step(`[STEP ${this.stepNum} WARN] ${description} — ${msg}`);
109
- }
110
- async sendElementBounds(bbox, instructionId) {
111
- if (!bbox)
112
- return;
113
- const args = {
114
- x: bbox.x ?? 0,
115
- y: bbox.y ?? 0,
116
- width: bbox.width ?? 0,
117
- height: bbox.height ?? 0,
118
- };
119
- if (instructionId)
120
- args['instructionId'] = instructionId;
121
- await this.action('lambda-element-bounds', args);
122
- }
123
- async attachScreenshot(_data) {
124
- // LT cloud captures screenshots automatically
125
- }
126
- }
127
- //# sourceMappingURL=lt.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lt.js","sourceRoot":"","sources":["../../src/reporters/lt.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAElD,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;;;;;;;;;GAUG;AACH,MAAM,OAAO,UAAU;IAC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AAO,CAAC,IAAI,CAAC;IACV,iBAAiB,CAAC,KAAK,EAAE,aAAa,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAC/E,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CACrD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"null.js","sourceRoot":"","sources":["../../src/reporters/null.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,YAAY;IACvB,KAAK,CAAC,SAAS,CAAC,KAAa,IAAkB,CAAC;IAChD,KAAK,CAAC,QAAQ,KAAmB,CAAC;IAClC,KAAK,CAAC,QAAQ,CAAC,MAAe,IAAkB,CAAC;IACjD,KAAK,CAAC,SAAS,CAAC,YAAoB,EAAE,cAAuB,IAAkB,CAAC;IAChF,KAAK,CAAC,OAAO,CACX,YAAoB,EACpB,GAAY,EACZ,MAAgB,EAChB,KAAmB,IACH,CAAC;IACnB,KAAK,CAAC,iBAAiB,CAAC,KAAoB,EAAE,cAAuB,IAAkB,CAAC;IACxF,KAAK,CAAC,gBAAgB,CAAC,KAAa,IAAkB,CAAC;CACxD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"routeFailure.d.ts","sourceRoot":"","sources":["../src/routeFailure.ts"],"names":[],"mappings":"AAcA;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,SAAS,EAAE,MAAM,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,EACzD,GAAG,EAAE,OAAO,EACZ,KAAK,EAAE,MAAM,GACZ,IAAI,CAiBN"}
@@ -1,34 +0,0 @@
1
- /**
2
- * Failure routing for generated standalone code.
3
- *
4
- * Generated code wraps each failure_condition-bearing statement in try/catch
5
- * and calls testmu.routeFailure(condition, err, label) from the catch body.
6
- * Empty/null/unknown conditions fail CLOSED (rethrow) — a routeFailure that
7
- * only logs would silently pass a failed test.
8
- */
9
- import { log } from './log.js';
10
- import * as testState from './testState.js';
11
- const FAIL_CONTINUE = 'Fail but continue executing';
12
- const WARN_CONTINUE = 'Warn but continue executing';
13
- /**
14
- * Route a caught error according to the operation's failure_condition.
15
- *
16
- * Throws for "Fail test immediately", empty, null, or any unknown condition.
17
- */
18
- export function routeFailure(condition, err, label) {
19
- const raw = condition && typeof condition === 'object' ? condition.value : condition;
20
- const cond = raw ?? '';
21
- if (cond === WARN_CONTINUE) {
22
- log.warn(`${label}: continuing after failure (warn): ${String(err)}`);
23
- return;
24
- }
25
- if (cond === FAIL_CONTINUE) {
26
- // Continue executing, but the swallow must still fail the TEST verdict at
27
- // session end — same routing the step-level 'fail-continue' opt uses.
28
- testState.markStepFailed(label, err);
29
- log.error(`${label}: continuing after failure: ${String(err)}`);
30
- return;
31
- }
32
- throw new Error(`${label}: ${String(err)}`);
33
- }
34
- //# sourceMappingURL=routeFailure.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"routeFailure.js","sourceRoot":"","sources":["../src/routeFailure.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,MAAM,aAAa,GAAG,6BAA6B,CAAC;AACpD,MAAM,aAAa,GAAG,6BAA6B,CAAC;AAEpD;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAC1B,SAAyD,EACzD,GAAY,EACZ,KAAa;IAEb,MAAM,GAAG,GACP,SAAS,IAAI,OAAO,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;IAC3E,MAAM,IAAI,GAAG,GAAG,IAAI,EAAE,CAAC;IAEvB,IAAI,IAAI,KAAK,aAAa,EAAE,CAAC;QAC3B,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK,sCAAsC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACtE,OAAO;IACT,CAAC;IACD,IAAI,IAAI,KAAK,aAAa,EAAE,CAAC;QAC3B,0EAA0E;QAC1E,sEAAsE;QACtE,SAAS,CAAC,cAAc,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QACrC,GAAG,CAAC,KAAK,CAAC,GAAG,KAAK,+BAA+B,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAChE,OAAO;IACT,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,KAAK,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAC9C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AAMpF,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAYrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAavD,eAAO,MAAM,YAAY,EAAE;IACzB,KAAK,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACnC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAChC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAC0B,CAAC;AAErD,0EAA0E;AAC1E,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAUlD;AA8GD;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAS1D;AAqBD,wBAAsB,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,CAiGzC;AAQD,iFAAiF;AACjF,wBAAsB,sBAAsB,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAO7G"}
package/dist/session.js DELETED
@@ -1,312 +0,0 @@
1
- import { chromium } from 'playwright';
2
- import { promises as fs } from 'fs';
3
- import { join } from 'path';
4
- import { config } from './config.js';
5
- import * as configure from './configure.js';
6
- import { _getRegistry } from './test.js';
7
- import { createReporter } from './reporters/index.js';
8
- import { LTReporter } from './reporters/lt.js';
9
- import { _setReporter } from './step.js';
10
- import { buildCapabilities, getCdpUrl, getCdpUrlForLog, getViewport, resolveCustomHeaders, sanitizeLtOptions, } from './capability.js';
11
- import { TestmuConfigError } from './errors.js';
12
- import { PlaywrightRelayProxy } from './relayProxy.js';
13
- import { getTestParamsOverride } from './testConfig.js';
14
- import { resolveVar, setVar } from './vars.js';
15
- import { ltAuthHeader } from './http.js';
16
- import { log } from './log.js';
17
- import { installHealPatch } from './healPatch.js';
18
- import * as testState from './testState.js';
19
- import { _resolveDownloadsDir } from './downloadsPath.js';
20
- import { startCapture, stopCapture, stopSSECapture, resetCapture } from './helpers/devtools.js';
21
- import { clearApiCallLog } from './helpers/apiCalls.js';
22
- // Module-level session state — exposed so helpers like executeKaneCli (M12) can
23
- // reach `relayUrl` to disconnect/reconnect mid-test. PY parity: _session.state.
24
- export const sessionState = { relay: null, relayTask: null, relayUrl: null };
25
- /** Apply page defaults: env > configure > 10s action / 60s navigation. */
26
- export function applyPageTimeouts(page) {
27
- const envAction = process.env['TESTMU_ACTION_TIMEOUT_MS'];
28
- const envNav = process.env['TESTMU_NAVIGATION_TIMEOUT_MS'];
29
- const action = envAction ? parseInt(envAction, 10) : (configure.get('defaultActionTimeoutMs') ?? 10000);
30
- const nav = envNav ? parseInt(envNav, 10) : (configure.get('defaultNavigationTimeoutMs') ?? 60000);
31
- page.setDefaultTimeout(action);
32
- page.setDefaultNavigationTimeout(nav);
33
- // Context-level nav timeout too: pages created later via context.newPage()
34
- // in generated code inherit it; page-level alone covers only this page.
35
- page.context().setDefaultNavigationTimeout(nav);
36
- }
37
- async function downloadFiles(files) {
38
- const auth = ltAuthHeader();
39
- if (!auth) {
40
- log.test('Cannot download files — no LT credentials');
41
- return;
42
- }
43
- const dlDir = _resolveDownloadsDir();
44
- await fs.mkdir(dlDir, { recursive: true });
45
- for (const f of files) {
46
- let url = f.media_url ?? '';
47
- const name = f.name ?? '';
48
- if (!url || !name)
49
- continue;
50
- if (!url.startsWith('http'))
51
- url = `https://${url}`; // PY parity: _session.py:108-110
52
- try {
53
- const resp = await fetch(url, { headers: { Authorization: auth } });
54
- if (!resp.ok)
55
- throw new Error(`HTTP ${resp.status}`);
56
- const buf = Buffer.from(await resp.arrayBuffer());
57
- const dest = join(dlDir, name);
58
- await fs.writeFile(dest, buf);
59
- log.helper(`Downloaded: ${name} -> ${dest}`);
60
- }
61
- catch (e) {
62
- log.helper(`Failed to download ${name}: ${String(e)}`);
63
- }
64
- }
65
- }
66
- /**
67
- * Attach custom headers through request interception rather than extraHTTPHeaders.
68
- *
69
- * extraHTTPHeaders puts a header on the request *before* the browser decides
70
- * whether the request needs a CORS preflight, so a cross-origin call carrying a
71
- * non-safelisted header (an access credential, say) becomes a preflighted one. An
72
- * API that answers OPTIONS with anything but a 2xx then has its real request
73
- * withheld by the browser, and the call fails outright — worse than the header
74
- * simply being absent. A route handler runs after that decision, which is where a
75
- * proxy would add them, so the request stays simple and still carries them.
76
- *
77
- * route.continue replaces the whole header set, and User-Agent is not among the
78
- * intercepted request's headers, so it is re-applied here; without that the
79
- * request goes out with no agent at all. PY parity: _session.py.
80
- */
81
- async function installCustomHeaderRoute(context, page, headers) {
82
- // route.continue replaces the whole header set and User-Agent is not among the
83
- // intercepted request's headers, so a request would otherwise go out with no
84
- // agent at all. A configured agent is already in `headers`; when none is, the
85
- // browser's own is carried over unchanged.
86
- const withAgent = Object.keys(headers).some((k) => k.toLowerCase() === 'user-agent')
87
- ? headers
88
- : { ...headers, 'User-Agent': await page.evaluate(() => navigator.userAgent) };
89
- await context.route('**/*', async (route, request) => {
90
- await route.continue({ headers: { ...(await request.allHeaders()), ...withAgent } });
91
- });
92
- }
93
- async function createBrowserAndPage() {
94
- const caps = await buildCapabilities();
95
- if (config.current.runTarget === 'cloud') {
96
- // Dump full LT:Options + CDP URL so every cap reaching the grid is
97
- // visible for debugging. Credentials (accessKey/user) are masked.
98
- log.test(`Full LT:Options: ${JSON.stringify(sanitizeLtOptions(caps['LT:Options']))}`);
99
- const cdpUrl = getCdpUrl(caps);
100
- log.test(`CDP URL (capabilities URL-encoded): ${getCdpUrlForLog(caps)}`);
101
- // Start a local relay proxy so kane-cli (M12) can hand off the browser mid-test
102
- // and reconnect with state replay. PY parity: _session.py:54-62.
103
- const relay = new PlaywrightRelayProxy(cdpUrl, 0);
104
- const relayTask = relay.start();
105
- try {
106
- await relay.waitReady();
107
- }
108
- catch (e) {
109
- // relay.start() rejected (e.g., UpstreamConnectionError). Don't leak state.
110
- try {
111
- relay.shutdown();
112
- }
113
- catch { /* ignore */ }
114
- try {
115
- await relayTask;
116
- }
117
- catch { /* ignore */ }
118
- throw e;
119
- }
120
- sessionState.relay = relay;
121
- sessionState.relayTask = relayTask;
122
- sessionState.relayUrl = `ws://127.0.0.1:${relay.localPort}`;
123
- log.test(`Relay proxy listening at ${sessionState.relayUrl}`);
124
- const browser = await chromium.connect(sessionState.relayUrl, { timeout: 120_000 });
125
- log.test('Connected to LT cloud via relay proxy');
126
- const viewport = getViewport(caps['LT:Options'].resolution);
127
- const rawHeaders = await resolveCustomHeaders();
128
- const ctxOpts = { viewport };
129
- let customHeaders = {};
130
- if (rawHeaders && Object.keys(rawHeaders).length) {
131
- for (const [k, v] of Object.entries(rawHeaders))
132
- customHeaders[k] = String(await resolveVar(v));
133
- // Names only, never values: a custom header commonly carries a credential.
134
- log.test(`Custom headers applied: ${Object.keys(customHeaders).join(', ')} (values masked)`);
135
- }
136
- const context = await browser.newContext(ctxOpts);
137
- const page = await context.newPage();
138
- if (Object.keys(customHeaders).length) {
139
- await installCustomHeaderRoute(context, page, customHeaders);
140
- }
141
- applyPageTimeouts(page);
142
- return { browser, context, page };
143
- }
144
- const headless = process.env['TESTMU_HEADLESS'] !== 'false';
145
- const browser = await chromium.launch({ headless });
146
- // Local: viewport unset → browser uses natural size (PY parity, _session.py:74)
147
- const context = await browser.newContext({});
148
- const page = await context.newPage();
149
- applyPageTimeouts(page);
150
- return { browser, context, page };
151
- }
152
- /**
153
- * SSE capture is CDP-based (Chromium-only). If a run configures
154
- * devtools={ sse: true } on Firefox/WebKit, warn and hard-fail — never silently
155
- * pass. WebSocket capture is cross-browser, so this gate is SSE-specific and
156
- * leaves WS untouched. Defensive: if browser-type introspection fails, do not
157
- * break the run.
158
- */
159
- export function assertSseBrowserSupported(page) {
160
- const cfg = configure.get('devtools');
161
- if (!cfg?.sse)
162
- return;
163
- let name;
164
- try {
165
- name = page.context().browser()?.browserType().name();
166
- }
167
- catch {
168
- name = undefined;
169
- }
170
- if (name && name !== 'chromium') {
171
- log.test(`SSE capture is Chromium-only; got ${name}. Failing the run.`);
172
- throw new TestmuConfigError(`SSE network assertions require Chromium; this run targets ${name}.`);
173
- }
174
- }
175
- /**
176
- * Report a floating rejection before Node tears the process down.
177
- *
178
- * Node >=15 exits non-zero on an unhandled rejection without running the
179
- * teardown that reports the LT verdict, so the grid shows "completed" instead
180
- * of failed. Marking the verdict here keeps the status channel truthful.
181
- * Installed once per process; returns a disposer for tests.
182
- */
183
- function installUnhandledRejectionGuard() {
184
- const onUnhandled = (reason) => {
185
- log.test(`[UNHANDLED REJECTION] ${String(reason)}`);
186
- try {
187
- testState.markStepFailed('unhandled rejection', reason);
188
- }
189
- catch { /* verdict store unavailable — nothing more we can do */ }
190
- };
191
- process.on('unhandledRejection', onUnhandled);
192
- return () => { process.off('unhandledRejection', onUnhandled); };
193
- }
194
- export async function run() {
195
- if (config.current.smart && !config.current.ltAuth) {
196
- throw new TestmuConfigError('TESTMU_SMART=1 requires LT_USERNAME and LT_ACCESS_KEY. ' +
197
- 'Smart helpers (vision, heal, kane-cli, SmartUI) need LT infrastructure.');
198
- }
199
- // M19: diagnostic log at session start (PY parity: _session.py:126-132)
200
- log.test(`Mode: run_target=${config.current.runTarget}, ` +
201
- `lt_auth=${config.current.ltAuth}, smart=${config.current.smart}`);
202
- const varsCount = Object.keys(configure.get('variables')).length;
203
- const paramsCount = Object.keys(configure.get('testParams')).length;
204
- const globalsCount = configure.get('globalVariables').length;
205
- if (varsCount || paramsCount || globalsCount) {
206
- log.test(`Variables: ${varsCount} test-level, ${paramsCount} params, ${globalsCount} globals`);
207
- }
208
- const reporter = createReporter();
209
- _setReporter(reporter);
210
- const { browser, context, page } = await createBrowserAndPage();
211
- if (reporter instanceof LTReporter)
212
- reporter._setPage(page);
213
- // Install vision-coordinate heal on Locator.prototype now that a Page exists.
214
- // Deferred from module load because TS elides the `Locator` value-import
215
- // (playwright .d.ts declares it as an interface). See healPatch.ts header.
216
- installHealPatch(page);
217
- const disposeRejectionGuard = installUnhandledRejectionGuard();
218
- try {
219
- // Start DevTools capture BEFORE user code (captures from first navigation)
220
- resetCapture();
221
- clearApiCallLog(); // api_calls log is per-run, like devtools capture
222
- // Hard-fail SSE on non-Chromium BEFORE starting capture (teardown-protected
223
- // by this try/finally, so the browser still closes on the raise).
224
- assertSseBrowserSupported(page);
225
- await startCapture(page, context);
226
- // C9: download uploaded files to ~/Downloads/
227
- const uploaded = configure.get('uploadedFiles');
228
- if (uploaded.length) {
229
- log.test(`Downloading ${uploaded.length} uploaded file(s)...`);
230
- await downloadFiles(uploaded);
231
- }
232
- // C11: apply HE test-run config overrides (dataset params)
233
- const overrides = await getTestParamsOverride();
234
- const nOverrides = Object.keys(overrides).length;
235
- if (nOverrides > 0) {
236
- for (const [k, v] of Object.entries(overrides))
237
- setVar(k, v, { scope: 'testParams' });
238
- log.test(`Applied ${nOverrides} test param overrides from HE config`);
239
- }
240
- for (const t of _getRegistry()) {
241
- await reporter.beginTest(t.name);
242
- testState.reset();
243
- try {
244
- await t.fn(page);
245
- await routeVerdictToReporter(reporter);
246
- }
247
- catch (e) {
248
- // H35 pending — PY side commented; re-enable when parity decided
249
- // try { await reporter.attachScreenshot(await page.screenshot()); } catch { /* swallow */ }
250
- await reporter.failTest(e);
251
- throw e;
252
- }
253
- finally {
254
- testState.reset();
255
- }
256
- }
257
- }
258
- finally {
259
- disposeRejectionGuard();
260
- // stopCapture (sync) flips sseActive off + removes the new-page listener;
261
- // stopSSECapture (async) drains pending tasks and detaches every CDP session.
262
- try {
263
- stopCapture(page);
264
- }
265
- catch { /* ignore */ }
266
- try {
267
- await stopSSECapture();
268
- }
269
- catch { /* ignore */ }
270
- try {
271
- await browser.close();
272
- }
273
- catch { /* ignore */ }
274
- if (sessionState.relay) {
275
- try {
276
- sessionState.relay.shutdown();
277
- if (sessionState.relayTask) {
278
- let timer;
279
- const timeout = new Promise((_, rej) => {
280
- timer = setTimeout(() => rej(new Error('relay shutdown timeout')), 5_000);
281
- });
282
- await Promise.race([sessionState.relayTask, timeout]).catch(() => { });
283
- if (timer)
284
- clearTimeout(timer);
285
- }
286
- }
287
- catch { /* ignore */ }
288
- }
289
- sessionState.relay = null;
290
- sessionState.relayTask = null;
291
- sessionState.relayUrl = null;
292
- _setReporter(null);
293
- log.test('Session closed');
294
- }
295
- }
296
- function formatRemark(v) {
297
- const msg = v.firstError instanceof Error ? `Error: ${v.firstError.message}` : String(v.firstError);
298
- if (v.count === 1)
299
- return `Step failed: ${msg}`;
300
- return `Step failed: ${msg} (and ${v.count - 1} more steps failed)`;
301
- }
302
- /** Route per-test verdict to passTest or failTest. Exported for unit testing. */
303
- export async function routeVerdictToReporter(reporter) {
304
- const verdict = testState.getVerdict();
305
- if (verdict.failed) {
306
- await reporter.failTest(new Error(formatRemark(verdict)));
307
- }
308
- else {
309
- await reporter.passTest();
310
- }
311
- }
312
- //# sourceMappingURL=session.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"session.js","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAgD,MAAM,YAAY,CAAC;AACpF,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,IAAI,CAAC;AACpC,OAA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,CAAC,KAAK,GAAG,CAAC,qBAAqB,CAAC;AACtE,CAAC;AAED,iFAAiF;AACjF,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAAC,QAAiD;IAC5F,MAAM,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;IACvC,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;QACnB,MAAM,QAAQ,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC5D,CAAC;SAAM,CAAC;QACN,MAAM,QAAQ,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC;AACH,CAAC"}
package/dist/step.d.ts DELETED
@@ -1,61 +0,0 @@
1
- import type { Reporter } from './reporters/index.js';
2
- export type OnFailure = 'fail-continue' | 'warn-continue';
3
- /**
4
- * Map this binding's OnFailure to the runtime's FailureCondition name.
5
- *
6
- * The wire vocabulary is the runtime's enum, which each binding names differently — map
7
- * explicitly rather than sending the binding's own token. An absent disposition fails the test
8
- * immediately, so it maps to FAIL_TEST_IMMEDIATELY rather than being omitted.
9
- */
10
- export declare function wireFailureCondition(onFailure?: OnFailure): string;
11
- export interface StepOpts {
12
- /** Per-step identifier forwarded to reporter.beginStep + endStep.
13
- * Preferred name. `instructionId` is accepted as a back-compat alias.
14
- */
15
- id?: string;
16
- /** Back-compat alias for `id`. */
17
- instructionId?: string;
18
- /** Default (omit) = rethrow. 'fail-continue' marks verdict failed; 'warn-continue' logs + continues. */
19
- onFailure?: OnFailure;
20
- }
21
- export interface StepState {
22
- description: string;
23
- instructionId?: string;
24
- onFailure?: OnFailure;
25
- /** Set by the heal cascade when any action in this step attempted a heal. */
26
- autoHeal?: boolean;
27
- }
28
- type StepFn = () => Promise<void>;
29
- export declare function _setReporter(r: Reporter | null): void;
30
- export declare function _getReporter(): Reporter | null;
31
- export declare function currentStep(): StepState | null;
32
- export declare function setInstructionId(v: string | undefined | null): void;
33
- export declare function getInstructionId(): string;
34
- export declare function _resetStep(): void;
35
- /** Flag the in-flight step as having attempted a heal.
36
- *
37
- * Called on heal-cascade ENTRY, not on a successful hit: "auto-heal occurred"
38
- * means the element did not resolve directly, whether or not the cascade
39
- * recovered it. An exhausted heal must still report autoHeal on the failed step.
40
- */
41
- export declare function markAutoHeal(): void;
42
- export declare function getStepAutoheal(): boolean;
43
- /**
44
- * Block-scoped step boundary. Mirrors PY's `async with testmu.step(...)`.
45
- *
46
- * step(description, async () => {...})
47
- * step(description, opts, async () => {...})
48
- */
49
- export declare function step(description: string, fn: StepFn): Promise<void>;
50
- export declare function step(description: string, opts: StepOpts, fn: StepFn): Promise<void>;
51
- /**
52
- * Close a step that the block-scoped `step()` finally clause did not — used
53
- * as a session-level safety net when an uncaught error propagates past the
54
- * step boundary.
55
- */
56
- export declare function _endDanglingStep(opts?: {
57
- ok: boolean;
58
- error?: unknown;
59
- }): Promise<void>;
60
- export {};
61
- //# sourceMappingURL=step.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../src/step.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIlE,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,eAAe,CAAC;AAE1D;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,CAAC,EAAE,SAAS,GAAG,MAAM,CASlE;AAED,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kCAAkC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wGAAwG;IACxG,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,MAAM,WAAW,SAAS;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;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