rubycrawl 0.1.2 → 0.1.4

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 (577) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +427 -210
  3. data/lib/rubycrawl/helpers.rb +15 -11
  4. data/lib/rubycrawl/markdown_converter.rb +3 -3
  5. data/lib/rubycrawl/result.rb +10 -11
  6. data/lib/rubycrawl/service_client.rb +25 -3
  7. data/lib/rubycrawl/site_crawler.rb +14 -6
  8. data/lib/rubycrawl/version.rb +1 -1
  9. data/lib/rubycrawl.rb +33 -7
  10. data/node/src/index.js +193 -19
  11. data/rubycrawl.gemspec +3 -2
  12. metadata +2 -567
  13. data/Gemfile +0 -11
  14. data/bin/console +0 -9
  15. data/bin/setup +0 -4
  16. data/node/node_modules/.bin/playwright +0 -1
  17. data/node/node_modules/.bin/playwright-core +0 -1
  18. data/node/node_modules/.package-lock.json +0 -65
  19. data/node/node_modules/dotenv/CHANGELOG.md +0 -520
  20. data/node/node_modules/dotenv/LICENSE +0 -23
  21. data/node/node_modules/dotenv/README-es.md +0 -411
  22. data/node/node_modules/dotenv/README.md +0 -645
  23. data/node/node_modules/dotenv/SECURITY.md +0 -1
  24. data/node/node_modules/dotenv/config.d.ts +0 -1
  25. data/node/node_modules/dotenv/config.js +0 -9
  26. data/node/node_modules/dotenv/lib/cli-options.js +0 -17
  27. data/node/node_modules/dotenv/lib/env-options.js +0 -28
  28. data/node/node_modules/dotenv/lib/main.d.ts +0 -162
  29. data/node/node_modules/dotenv/lib/main.js +0 -386
  30. data/node/node_modules/dotenv/package.json +0 -62
  31. data/node/node_modules/playwright/LICENSE +0 -202
  32. data/node/node_modules/playwright/NOTICE +0 -5
  33. data/node/node_modules/playwright/README.md +0 -168
  34. data/node/node_modules/playwright/ThirdPartyNotices.txt +0 -5042
  35. data/node/node_modules/playwright/cli.js +0 -19
  36. data/node/node_modules/playwright/index.d.ts +0 -17
  37. data/node/node_modules/playwright/index.js +0 -17
  38. data/node/node_modules/playwright/index.mjs +0 -18
  39. data/node/node_modules/playwright/jsx-runtime.js +0 -42
  40. data/node/node_modules/playwright/jsx-runtime.mjs +0 -21
  41. data/node/node_modules/playwright/lib/agents/agentParser.js +0 -89
  42. data/node/node_modules/playwright/lib/agents/copilot-setup-steps.yml +0 -34
  43. data/node/node_modules/playwright/lib/agents/generateAgents.js +0 -348
  44. data/node/node_modules/playwright/lib/agents/playwright-test-coverage.prompt.md +0 -31
  45. data/node/node_modules/playwright/lib/agents/playwright-test-generate.prompt.md +0 -8
  46. data/node/node_modules/playwright/lib/agents/playwright-test-generator.agent.md +0 -88
  47. data/node/node_modules/playwright/lib/agents/playwright-test-heal.prompt.md +0 -6
  48. data/node/node_modules/playwright/lib/agents/playwright-test-healer.agent.md +0 -55
  49. data/node/node_modules/playwright/lib/agents/playwright-test-plan.prompt.md +0 -9
  50. data/node/node_modules/playwright/lib/agents/playwright-test-planner.agent.md +0 -73
  51. data/node/node_modules/playwright/lib/common/config.js +0 -282
  52. data/node/node_modules/playwright/lib/common/configLoader.js +0 -344
  53. data/node/node_modules/playwright/lib/common/esmLoaderHost.js +0 -104
  54. data/node/node_modules/playwright/lib/common/expectBundle.js +0 -28
  55. data/node/node_modules/playwright/lib/common/expectBundleImpl.js +0 -407
  56. data/node/node_modules/playwright/lib/common/fixtures.js +0 -302
  57. data/node/node_modules/playwright/lib/common/globals.js +0 -58
  58. data/node/node_modules/playwright/lib/common/ipc.js +0 -60
  59. data/node/node_modules/playwright/lib/common/poolBuilder.js +0 -85
  60. data/node/node_modules/playwright/lib/common/process.js +0 -132
  61. data/node/node_modules/playwright/lib/common/suiteUtils.js +0 -140
  62. data/node/node_modules/playwright/lib/common/test.js +0 -321
  63. data/node/node_modules/playwright/lib/common/testLoader.js +0 -101
  64. data/node/node_modules/playwright/lib/common/testType.js +0 -298
  65. data/node/node_modules/playwright/lib/common/validators.js +0 -68
  66. data/node/node_modules/playwright/lib/fsWatcher.js +0 -67
  67. data/node/node_modules/playwright/lib/index.js +0 -726
  68. data/node/node_modules/playwright/lib/internalsForTest.js +0 -42
  69. data/node/node_modules/playwright/lib/isomorphic/events.js +0 -77
  70. data/node/node_modules/playwright/lib/isomorphic/folders.js +0 -30
  71. data/node/node_modules/playwright/lib/isomorphic/stringInternPool.js +0 -69
  72. data/node/node_modules/playwright/lib/isomorphic/teleReceiver.js +0 -521
  73. data/node/node_modules/playwright/lib/isomorphic/teleSuiteUpdater.js +0 -157
  74. data/node/node_modules/playwright/lib/isomorphic/testServerConnection.js +0 -225
  75. data/node/node_modules/playwright/lib/isomorphic/testServerInterface.js +0 -16
  76. data/node/node_modules/playwright/lib/isomorphic/testTree.js +0 -329
  77. data/node/node_modules/playwright/lib/isomorphic/types.d.js +0 -16
  78. data/node/node_modules/playwright/lib/loader/loaderMain.js +0 -59
  79. data/node/node_modules/playwright/lib/matchers/expect.js +0 -311
  80. data/node/node_modules/playwright/lib/matchers/matcherHint.js +0 -44
  81. data/node/node_modules/playwright/lib/matchers/matchers.js +0 -383
  82. data/node/node_modules/playwright/lib/matchers/toBeTruthy.js +0 -75
  83. data/node/node_modules/playwright/lib/matchers/toEqual.js +0 -100
  84. data/node/node_modules/playwright/lib/matchers/toHaveURL.js +0 -101
  85. data/node/node_modules/playwright/lib/matchers/toMatchAriaSnapshot.js +0 -159
  86. data/node/node_modules/playwright/lib/matchers/toMatchSnapshot.js +0 -342
  87. data/node/node_modules/playwright/lib/matchers/toMatchText.js +0 -99
  88. data/node/node_modules/playwright/lib/mcp/browser/browserContextFactory.js +0 -329
  89. data/node/node_modules/playwright/lib/mcp/browser/browserServerBackend.js +0 -84
  90. data/node/node_modules/playwright/lib/mcp/browser/config.js +0 -421
  91. data/node/node_modules/playwright/lib/mcp/browser/context.js +0 -244
  92. data/node/node_modules/playwright/lib/mcp/browser/response.js +0 -278
  93. data/node/node_modules/playwright/lib/mcp/browser/sessionLog.js +0 -75
  94. data/node/node_modules/playwright/lib/mcp/browser/tab.js +0 -343
  95. data/node/node_modules/playwright/lib/mcp/browser/tools/common.js +0 -65
  96. data/node/node_modules/playwright/lib/mcp/browser/tools/console.js +0 -46
  97. data/node/node_modules/playwright/lib/mcp/browser/tools/dialogs.js +0 -60
  98. data/node/node_modules/playwright/lib/mcp/browser/tools/evaluate.js +0 -61
  99. data/node/node_modules/playwright/lib/mcp/browser/tools/files.js +0 -58
  100. data/node/node_modules/playwright/lib/mcp/browser/tools/form.js +0 -63
  101. data/node/node_modules/playwright/lib/mcp/browser/tools/install.js +0 -72
  102. data/node/node_modules/playwright/lib/mcp/browser/tools/keyboard.js +0 -107
  103. data/node/node_modules/playwright/lib/mcp/browser/tools/mouse.js +0 -107
  104. data/node/node_modules/playwright/lib/mcp/browser/tools/navigate.js +0 -71
  105. data/node/node_modules/playwright/lib/mcp/browser/tools/network.js +0 -63
  106. data/node/node_modules/playwright/lib/mcp/browser/tools/open.js +0 -57
  107. data/node/node_modules/playwright/lib/mcp/browser/tools/pdf.js +0 -49
  108. data/node/node_modules/playwright/lib/mcp/browser/tools/runCode.js +0 -78
  109. data/node/node_modules/playwright/lib/mcp/browser/tools/screenshot.js +0 -93
  110. data/node/node_modules/playwright/lib/mcp/browser/tools/snapshot.js +0 -173
  111. data/node/node_modules/playwright/lib/mcp/browser/tools/tabs.js +0 -67
  112. data/node/node_modules/playwright/lib/mcp/browser/tools/tool.js +0 -47
  113. data/node/node_modules/playwright/lib/mcp/browser/tools/tracing.js +0 -74
  114. data/node/node_modules/playwright/lib/mcp/browser/tools/utils.js +0 -94
  115. data/node/node_modules/playwright/lib/mcp/browser/tools/verify.js +0 -143
  116. data/node/node_modules/playwright/lib/mcp/browser/tools/wait.js +0 -63
  117. data/node/node_modules/playwright/lib/mcp/browser/tools.js +0 -84
  118. data/node/node_modules/playwright/lib/mcp/browser/watchdog.js +0 -44
  119. data/node/node_modules/playwright/lib/mcp/config.d.js +0 -16
  120. data/node/node_modules/playwright/lib/mcp/extension/cdpRelay.js +0 -351
  121. data/node/node_modules/playwright/lib/mcp/extension/extensionContextFactory.js +0 -76
  122. data/node/node_modules/playwright/lib/mcp/extension/protocol.js +0 -28
  123. data/node/node_modules/playwright/lib/mcp/index.js +0 -61
  124. data/node/node_modules/playwright/lib/mcp/log.js +0 -35
  125. data/node/node_modules/playwright/lib/mcp/program.js +0 -111
  126. data/node/node_modules/playwright/lib/mcp/sdk/exports.js +0 -28
  127. data/node/node_modules/playwright/lib/mcp/sdk/http.js +0 -152
  128. data/node/node_modules/playwright/lib/mcp/sdk/inProcessTransport.js +0 -71
  129. data/node/node_modules/playwright/lib/mcp/sdk/server.js +0 -223
  130. data/node/node_modules/playwright/lib/mcp/sdk/tool.js +0 -47
  131. data/node/node_modules/playwright/lib/mcp/terminal/cli.js +0 -296
  132. data/node/node_modules/playwright/lib/mcp/terminal/command.js +0 -56
  133. data/node/node_modules/playwright/lib/mcp/terminal/commands.js +0 -333
  134. data/node/node_modules/playwright/lib/mcp/terminal/daemon.js +0 -129
  135. data/node/node_modules/playwright/lib/mcp/terminal/help.json +0 -32
  136. data/node/node_modules/playwright/lib/mcp/terminal/helpGenerator.js +0 -88
  137. data/node/node_modules/playwright/lib/mcp/terminal/socketConnection.js +0 -80
  138. data/node/node_modules/playwright/lib/mcp/test/browserBackend.js +0 -98
  139. data/node/node_modules/playwright/lib/mcp/test/generatorTools.js +0 -122
  140. data/node/node_modules/playwright/lib/mcp/test/plannerTools.js +0 -145
  141. data/node/node_modules/playwright/lib/mcp/test/seed.js +0 -82
  142. data/node/node_modules/playwright/lib/mcp/test/streams.js +0 -44
  143. data/node/node_modules/playwright/lib/mcp/test/testBackend.js +0 -99
  144. data/node/node_modules/playwright/lib/mcp/test/testContext.js +0 -285
  145. data/node/node_modules/playwright/lib/mcp/test/testTool.js +0 -30
  146. data/node/node_modules/playwright/lib/mcp/test/testTools.js +0 -108
  147. data/node/node_modules/playwright/lib/plugins/gitCommitInfoPlugin.js +0 -198
  148. data/node/node_modules/playwright/lib/plugins/index.js +0 -28
  149. data/node/node_modules/playwright/lib/plugins/webServerPlugin.js +0 -237
  150. data/node/node_modules/playwright/lib/program.js +0 -417
  151. data/node/node_modules/playwright/lib/reporters/base.js +0 -634
  152. data/node/node_modules/playwright/lib/reporters/blob.js +0 -138
  153. data/node/node_modules/playwright/lib/reporters/dot.js +0 -99
  154. data/node/node_modules/playwright/lib/reporters/empty.js +0 -32
  155. data/node/node_modules/playwright/lib/reporters/github.js +0 -128
  156. data/node/node_modules/playwright/lib/reporters/html.js +0 -633
  157. data/node/node_modules/playwright/lib/reporters/internalReporter.js +0 -138
  158. data/node/node_modules/playwright/lib/reporters/json.js +0 -254
  159. data/node/node_modules/playwright/lib/reporters/junit.js +0 -232
  160. data/node/node_modules/playwright/lib/reporters/line.js +0 -131
  161. data/node/node_modules/playwright/lib/reporters/list.js +0 -253
  162. data/node/node_modules/playwright/lib/reporters/listModeReporter.js +0 -69
  163. data/node/node_modules/playwright/lib/reporters/markdown.js +0 -144
  164. data/node/node_modules/playwright/lib/reporters/merge.js +0 -558
  165. data/node/node_modules/playwright/lib/reporters/multiplexer.js +0 -112
  166. data/node/node_modules/playwright/lib/reporters/reporterV2.js +0 -102
  167. data/node/node_modules/playwright/lib/reporters/teleEmitter.js +0 -317
  168. data/node/node_modules/playwright/lib/reporters/versions/blobV1.js +0 -16
  169. data/node/node_modules/playwright/lib/runner/dispatcher.js +0 -530
  170. data/node/node_modules/playwright/lib/runner/failureTracker.js +0 -72
  171. data/node/node_modules/playwright/lib/runner/lastRun.js +0 -77
  172. data/node/node_modules/playwright/lib/runner/loadUtils.js +0 -334
  173. data/node/node_modules/playwright/lib/runner/loaderHost.js +0 -89
  174. data/node/node_modules/playwright/lib/runner/processHost.js +0 -180
  175. data/node/node_modules/playwright/lib/runner/projectUtils.js +0 -241
  176. data/node/node_modules/playwright/lib/runner/rebase.js +0 -189
  177. data/node/node_modules/playwright/lib/runner/reporters.js +0 -138
  178. data/node/node_modules/playwright/lib/runner/sigIntWatcher.js +0 -96
  179. data/node/node_modules/playwright/lib/runner/storage.js +0 -91
  180. data/node/node_modules/playwright/lib/runner/taskRunner.js +0 -127
  181. data/node/node_modules/playwright/lib/runner/tasks.js +0 -410
  182. data/node/node_modules/playwright/lib/runner/testGroups.js +0 -125
  183. data/node/node_modules/playwright/lib/runner/testRunner.js +0 -398
  184. data/node/node_modules/playwright/lib/runner/testServer.js +0 -269
  185. data/node/node_modules/playwright/lib/runner/uiModeReporter.js +0 -30
  186. data/node/node_modules/playwright/lib/runner/vcs.js +0 -72
  187. data/node/node_modules/playwright/lib/runner/watchMode.js +0 -396
  188. data/node/node_modules/playwright/lib/runner/workerHost.js +0 -104
  189. data/node/node_modules/playwright/lib/third_party/pirates.js +0 -62
  190. data/node/node_modules/playwright/lib/third_party/tsconfig-loader.js +0 -103
  191. data/node/node_modules/playwright/lib/transform/babelBundle.js +0 -46
  192. data/node/node_modules/playwright/lib/transform/babelBundleImpl.js +0 -461
  193. data/node/node_modules/playwright/lib/transform/compilationCache.js +0 -274
  194. data/node/node_modules/playwright/lib/transform/esmLoader.js +0 -103
  195. data/node/node_modules/playwright/lib/transform/md.js +0 -221
  196. data/node/node_modules/playwright/lib/transform/portTransport.js +0 -67
  197. data/node/node_modules/playwright/lib/transform/transform.js +0 -303
  198. data/node/node_modules/playwright/lib/util.js +0 -400
  199. data/node/node_modules/playwright/lib/utilsBundle.js +0 -50
  200. data/node/node_modules/playwright/lib/utilsBundleImpl.js +0 -103
  201. data/node/node_modules/playwright/lib/worker/fixtureRunner.js +0 -262
  202. data/node/node_modules/playwright/lib/worker/testInfo.js +0 -536
  203. data/node/node_modules/playwright/lib/worker/testTracing.js +0 -345
  204. data/node/node_modules/playwright/lib/worker/timeoutManager.js +0 -174
  205. data/node/node_modules/playwright/lib/worker/util.js +0 -31
  206. data/node/node_modules/playwright/lib/worker/workerMain.js +0 -530
  207. data/node/node_modules/playwright/package.json +0 -72
  208. data/node/node_modules/playwright/test.d.ts +0 -18
  209. data/node/node_modules/playwright/test.js +0 -24
  210. data/node/node_modules/playwright/test.mjs +0 -34
  211. data/node/node_modules/playwright/types/test.d.ts +0 -10251
  212. data/node/node_modules/playwright/types/testReporter.d.ts +0 -822
  213. data/node/node_modules/playwright-core/LICENSE +0 -202
  214. data/node/node_modules/playwright-core/NOTICE +0 -5
  215. data/node/node_modules/playwright-core/README.md +0 -3
  216. data/node/node_modules/playwright-core/ThirdPartyNotices.txt +0 -4076
  217. data/node/node_modules/playwright-core/bin/install_media_pack.ps1 +0 -5
  218. data/node/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +0 -33
  219. data/node/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +0 -42
  220. data/node/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +0 -13
  221. data/node/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +0 -24
  222. data/node/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +0 -42
  223. data/node/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +0 -12
  224. data/node/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +0 -24
  225. data/node/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +0 -48
  226. data/node/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +0 -11
  227. data/node/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +0 -23
  228. data/node/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +0 -48
  229. data/node/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +0 -11
  230. data/node/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +0 -23
  231. data/node/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +0 -48
  232. data/node/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +0 -11
  233. data/node/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +0 -24
  234. data/node/node_modules/playwright-core/browsers.json +0 -79
  235. data/node/node_modules/playwright-core/cli.js +0 -18
  236. data/node/node_modules/playwright-core/index.d.ts +0 -17
  237. data/node/node_modules/playwright-core/index.js +0 -32
  238. data/node/node_modules/playwright-core/index.mjs +0 -28
  239. data/node/node_modules/playwright-core/lib/androidServerImpl.js +0 -65
  240. data/node/node_modules/playwright-core/lib/browserServerImpl.js +0 -120
  241. data/node/node_modules/playwright-core/lib/cli/driver.js +0 -97
  242. data/node/node_modules/playwright-core/lib/cli/program.js +0 -589
  243. data/node/node_modules/playwright-core/lib/cli/programWithTestStub.js +0 -74
  244. data/node/node_modules/playwright-core/lib/client/android.js +0 -361
  245. data/node/node_modules/playwright-core/lib/client/api.js +0 -137
  246. data/node/node_modules/playwright-core/lib/client/artifact.js +0 -79
  247. data/node/node_modules/playwright-core/lib/client/browser.js +0 -161
  248. data/node/node_modules/playwright-core/lib/client/browserContext.js +0 -582
  249. data/node/node_modules/playwright-core/lib/client/browserType.js +0 -185
  250. data/node/node_modules/playwright-core/lib/client/cdpSession.js +0 -51
  251. data/node/node_modules/playwright-core/lib/client/channelOwner.js +0 -194
  252. data/node/node_modules/playwright-core/lib/client/clientHelper.js +0 -64
  253. data/node/node_modules/playwright-core/lib/client/clientInstrumentation.js +0 -55
  254. data/node/node_modules/playwright-core/lib/client/clientStackTrace.js +0 -69
  255. data/node/node_modules/playwright-core/lib/client/clock.js +0 -68
  256. data/node/node_modules/playwright-core/lib/client/connection.js +0 -318
  257. data/node/node_modules/playwright-core/lib/client/consoleMessage.js +0 -58
  258. data/node/node_modules/playwright-core/lib/client/coverage.js +0 -44
  259. data/node/node_modules/playwright-core/lib/client/dialog.js +0 -56
  260. data/node/node_modules/playwright-core/lib/client/download.js +0 -62
  261. data/node/node_modules/playwright-core/lib/client/electron.js +0 -138
  262. data/node/node_modules/playwright-core/lib/client/elementHandle.js +0 -284
  263. data/node/node_modules/playwright-core/lib/client/errors.js +0 -77
  264. data/node/node_modules/playwright-core/lib/client/eventEmitter.js +0 -314
  265. data/node/node_modules/playwright-core/lib/client/events.js +0 -103
  266. data/node/node_modules/playwright-core/lib/client/fetch.js +0 -368
  267. data/node/node_modules/playwright-core/lib/client/fileChooser.js +0 -46
  268. data/node/node_modules/playwright-core/lib/client/fileUtils.js +0 -34
  269. data/node/node_modules/playwright-core/lib/client/frame.js +0 -409
  270. data/node/node_modules/playwright-core/lib/client/harRouter.js +0 -87
  271. data/node/node_modules/playwright-core/lib/client/input.js +0 -84
  272. data/node/node_modules/playwright-core/lib/client/jsHandle.js +0 -109
  273. data/node/node_modules/playwright-core/lib/client/jsonPipe.js +0 -39
  274. data/node/node_modules/playwright-core/lib/client/localUtils.js +0 -60
  275. data/node/node_modules/playwright-core/lib/client/locator.js +0 -369
  276. data/node/node_modules/playwright-core/lib/client/network.js +0 -747
  277. data/node/node_modules/playwright-core/lib/client/page.js +0 -745
  278. data/node/node_modules/playwright-core/lib/client/pageAgent.js +0 -64
  279. data/node/node_modules/playwright-core/lib/client/platform.js +0 -77
  280. data/node/node_modules/playwright-core/lib/client/playwright.js +0 -71
  281. data/node/node_modules/playwright-core/lib/client/selectors.js +0 -55
  282. data/node/node_modules/playwright-core/lib/client/stream.js +0 -39
  283. data/node/node_modules/playwright-core/lib/client/timeoutSettings.js +0 -79
  284. data/node/node_modules/playwright-core/lib/client/tracing.js +0 -119
  285. data/node/node_modules/playwright-core/lib/client/types.js +0 -28
  286. data/node/node_modules/playwright-core/lib/client/video.js +0 -59
  287. data/node/node_modules/playwright-core/lib/client/waiter.js +0 -142
  288. data/node/node_modules/playwright-core/lib/client/webError.js +0 -39
  289. data/node/node_modules/playwright-core/lib/client/webSocket.js +0 -93
  290. data/node/node_modules/playwright-core/lib/client/worker.js +0 -85
  291. data/node/node_modules/playwright-core/lib/client/writableStream.js +0 -39
  292. data/node/node_modules/playwright-core/lib/generated/bindingsControllerSource.js +0 -28
  293. data/node/node_modules/playwright-core/lib/generated/clockSource.js +0 -28
  294. data/node/node_modules/playwright-core/lib/generated/injectedScriptSource.js +0 -28
  295. data/node/node_modules/playwright-core/lib/generated/pollingRecorderSource.js +0 -28
  296. data/node/node_modules/playwright-core/lib/generated/storageScriptSource.js +0 -28
  297. data/node/node_modules/playwright-core/lib/generated/utilityScriptSource.js +0 -28
  298. data/node/node_modules/playwright-core/lib/generated/webSocketMockSource.js +0 -336
  299. data/node/node_modules/playwright-core/lib/inProcessFactory.js +0 -60
  300. data/node/node_modules/playwright-core/lib/inprocess.js +0 -3
  301. data/node/node_modules/playwright-core/lib/mcpBundle.js +0 -84
  302. data/node/node_modules/playwright-core/lib/mcpBundleImpl/index.js +0 -147
  303. data/node/node_modules/playwright-core/lib/outofprocess.js +0 -76
  304. data/node/node_modules/playwright-core/lib/protocol/serializers.js +0 -197
  305. data/node/node_modules/playwright-core/lib/protocol/validator.js +0 -2969
  306. data/node/node_modules/playwright-core/lib/protocol/validatorPrimitives.js +0 -193
  307. data/node/node_modules/playwright-core/lib/remote/playwrightConnection.js +0 -129
  308. data/node/node_modules/playwright-core/lib/remote/playwrightServer.js +0 -334
  309. data/node/node_modules/playwright-core/lib/server/agent/actionRunner.js +0 -335
  310. data/node/node_modules/playwright-core/lib/server/agent/actions.js +0 -128
  311. data/node/node_modules/playwright-core/lib/server/agent/codegen.js +0 -111
  312. data/node/node_modules/playwright-core/lib/server/agent/context.js +0 -150
  313. data/node/node_modules/playwright-core/lib/server/agent/expectTools.js +0 -156
  314. data/node/node_modules/playwright-core/lib/server/agent/pageAgent.js +0 -204
  315. data/node/node_modules/playwright-core/lib/server/agent/performTools.js +0 -262
  316. data/node/node_modules/playwright-core/lib/server/agent/tool.js +0 -109
  317. data/node/node_modules/playwright-core/lib/server/android/android.js +0 -465
  318. data/node/node_modules/playwright-core/lib/server/android/backendAdb.js +0 -177
  319. data/node/node_modules/playwright-core/lib/server/artifact.js +0 -127
  320. data/node/node_modules/playwright-core/lib/server/bidi/bidiBrowser.js +0 -549
  321. data/node/node_modules/playwright-core/lib/server/bidi/bidiChromium.js +0 -148
  322. data/node/node_modules/playwright-core/lib/server/bidi/bidiConnection.js +0 -213
  323. data/node/node_modules/playwright-core/lib/server/bidi/bidiDeserializer.js +0 -116
  324. data/node/node_modules/playwright-core/lib/server/bidi/bidiExecutionContext.js +0 -267
  325. data/node/node_modules/playwright-core/lib/server/bidi/bidiFirefox.js +0 -128
  326. data/node/node_modules/playwright-core/lib/server/bidi/bidiInput.js +0 -146
  327. data/node/node_modules/playwright-core/lib/server/bidi/bidiNetworkManager.js +0 -383
  328. data/node/node_modules/playwright-core/lib/server/bidi/bidiOverCdp.js +0 -102
  329. data/node/node_modules/playwright-core/lib/server/bidi/bidiPage.js +0 -583
  330. data/node/node_modules/playwright-core/lib/server/bidi/bidiPdf.js +0 -106
  331. data/node/node_modules/playwright-core/lib/server/bidi/third_party/bidiCommands.d.js +0 -22
  332. data/node/node_modules/playwright-core/lib/server/bidi/third_party/bidiKeyboard.js +0 -256
  333. data/node/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocol.js +0 -24
  334. data/node/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolCore.js +0 -180
  335. data/node/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolPermissions.js +0 -42
  336. data/node/node_modules/playwright-core/lib/server/bidi/third_party/bidiSerializer.js +0 -148
  337. data/node/node_modules/playwright-core/lib/server/bidi/third_party/firefoxPrefs.js +0 -259
  338. data/node/node_modules/playwright-core/lib/server/browser.js +0 -149
  339. data/node/node_modules/playwright-core/lib/server/browserContext.js +0 -702
  340. data/node/node_modules/playwright-core/lib/server/browserType.js +0 -336
  341. data/node/node_modules/playwright-core/lib/server/callLog.js +0 -82
  342. data/node/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
  343. data/node/node_modules/playwright-core/lib/server/chromium/chromium.js +0 -395
  344. data/node/node_modules/playwright-core/lib/server/chromium/chromiumSwitches.js +0 -104
  345. data/node/node_modules/playwright-core/lib/server/chromium/crBrowser.js +0 -511
  346. data/node/node_modules/playwright-core/lib/server/chromium/crConnection.js +0 -197
  347. data/node/node_modules/playwright-core/lib/server/chromium/crCoverage.js +0 -235
  348. data/node/node_modules/playwright-core/lib/server/chromium/crDevTools.js +0 -111
  349. data/node/node_modules/playwright-core/lib/server/chromium/crDragDrop.js +0 -131
  350. data/node/node_modules/playwright-core/lib/server/chromium/crExecutionContext.js +0 -146
  351. data/node/node_modules/playwright-core/lib/server/chromium/crInput.js +0 -187
  352. data/node/node_modules/playwright-core/lib/server/chromium/crNetworkManager.js +0 -707
  353. data/node/node_modules/playwright-core/lib/server/chromium/crPage.js +0 -1001
  354. data/node/node_modules/playwright-core/lib/server/chromium/crPdf.js +0 -121
  355. data/node/node_modules/playwright-core/lib/server/chromium/crProtocolHelper.js +0 -145
  356. data/node/node_modules/playwright-core/lib/server/chromium/crServiceWorker.js +0 -136
  357. data/node/node_modules/playwright-core/lib/server/chromium/defaultFontFamilies.js +0 -162
  358. data/node/node_modules/playwright-core/lib/server/chromium/protocol.d.js +0 -16
  359. data/node/node_modules/playwright-core/lib/server/clock.js +0 -149
  360. data/node/node_modules/playwright-core/lib/server/codegen/csharp.js +0 -327
  361. data/node/node_modules/playwright-core/lib/server/codegen/java.js +0 -274
  362. data/node/node_modules/playwright-core/lib/server/codegen/javascript.js +0 -247
  363. data/node/node_modules/playwright-core/lib/server/codegen/jsonl.js +0 -52
  364. data/node/node_modules/playwright-core/lib/server/codegen/language.js +0 -132
  365. data/node/node_modules/playwright-core/lib/server/codegen/languages.js +0 -68
  366. data/node/node_modules/playwright-core/lib/server/codegen/python.js +0 -279
  367. data/node/node_modules/playwright-core/lib/server/codegen/types.js +0 -16
  368. data/node/node_modules/playwright-core/lib/server/console.js +0 -57
  369. data/node/node_modules/playwright-core/lib/server/cookieStore.js +0 -206
  370. data/node/node_modules/playwright-core/lib/server/debugController.js +0 -191
  371. data/node/node_modules/playwright-core/lib/server/debugger.js +0 -119
  372. data/node/node_modules/playwright-core/lib/server/deviceDescriptors.js +0 -39
  373. data/node/node_modules/playwright-core/lib/server/deviceDescriptorsSource.json +0 -1779
  374. data/node/node_modules/playwright-core/lib/server/dialog.js +0 -116
  375. data/node/node_modules/playwright-core/lib/server/dispatchers/androidDispatcher.js +0 -325
  376. data/node/node_modules/playwright-core/lib/server/dispatchers/artifactDispatcher.js +0 -118
  377. data/node/node_modules/playwright-core/lib/server/dispatchers/browserContextDispatcher.js +0 -384
  378. data/node/node_modules/playwright-core/lib/server/dispatchers/browserDispatcher.js +0 -118
  379. data/node/node_modules/playwright-core/lib/server/dispatchers/browserTypeDispatcher.js +0 -64
  380. data/node/node_modules/playwright-core/lib/server/dispatchers/cdpSessionDispatcher.js +0 -44
  381. data/node/node_modules/playwright-core/lib/server/dispatchers/debugControllerDispatcher.js +0 -78
  382. data/node/node_modules/playwright-core/lib/server/dispatchers/dialogDispatcher.js +0 -47
  383. data/node/node_modules/playwright-core/lib/server/dispatchers/dispatcher.js +0 -364
  384. data/node/node_modules/playwright-core/lib/server/dispatchers/electronDispatcher.js +0 -89
  385. data/node/node_modules/playwright-core/lib/server/dispatchers/elementHandlerDispatcher.js +0 -181
  386. data/node/node_modules/playwright-core/lib/server/dispatchers/frameDispatcher.js +0 -227
  387. data/node/node_modules/playwright-core/lib/server/dispatchers/jsHandleDispatcher.js +0 -85
  388. data/node/node_modules/playwright-core/lib/server/dispatchers/jsonPipeDispatcher.js +0 -58
  389. data/node/node_modules/playwright-core/lib/server/dispatchers/localUtilsDispatcher.js +0 -149
  390. data/node/node_modules/playwright-core/lib/server/dispatchers/networkDispatchers.js +0 -213
  391. data/node/node_modules/playwright-core/lib/server/dispatchers/pageAgentDispatcher.js +0 -96
  392. data/node/node_modules/playwright-core/lib/server/dispatchers/pageDispatcher.js +0 -393
  393. data/node/node_modules/playwright-core/lib/server/dispatchers/playwrightDispatcher.js +0 -108
  394. data/node/node_modules/playwright-core/lib/server/dispatchers/streamDispatcher.js +0 -67
  395. data/node/node_modules/playwright-core/lib/server/dispatchers/tracingDispatcher.js +0 -68
  396. data/node/node_modules/playwright-core/lib/server/dispatchers/webSocketRouteDispatcher.js +0 -165
  397. data/node/node_modules/playwright-core/lib/server/dispatchers/writableStreamDispatcher.js +0 -79
  398. data/node/node_modules/playwright-core/lib/server/dom.js +0 -815
  399. data/node/node_modules/playwright-core/lib/server/download.js +0 -70
  400. data/node/node_modules/playwright-core/lib/server/electron/electron.js +0 -273
  401. data/node/node_modules/playwright-core/lib/server/electron/loader.js +0 -29
  402. data/node/node_modules/playwright-core/lib/server/errors.js +0 -69
  403. data/node/node_modules/playwright-core/lib/server/fetch.js +0 -621
  404. data/node/node_modules/playwright-core/lib/server/fileChooser.js +0 -43
  405. data/node/node_modules/playwright-core/lib/server/fileUploadUtils.js +0 -84
  406. data/node/node_modules/playwright-core/lib/server/firefox/ffBrowser.js +0 -418
  407. data/node/node_modules/playwright-core/lib/server/firefox/ffConnection.js +0 -142
  408. data/node/node_modules/playwright-core/lib/server/firefox/ffExecutionContext.js +0 -150
  409. data/node/node_modules/playwright-core/lib/server/firefox/ffInput.js +0 -159
  410. data/node/node_modules/playwright-core/lib/server/firefox/ffNetworkManager.js +0 -256
  411. data/node/node_modules/playwright-core/lib/server/firefox/ffPage.js +0 -497
  412. data/node/node_modules/playwright-core/lib/server/firefox/firefox.js +0 -114
  413. data/node/node_modules/playwright-core/lib/server/firefox/protocol.d.js +0 -16
  414. data/node/node_modules/playwright-core/lib/server/formData.js +0 -147
  415. data/node/node_modules/playwright-core/lib/server/frameSelectors.js +0 -160
  416. data/node/node_modules/playwright-core/lib/server/frames.js +0 -1471
  417. data/node/node_modules/playwright-core/lib/server/har/harRecorder.js +0 -147
  418. data/node/node_modules/playwright-core/lib/server/har/harTracer.js +0 -607
  419. data/node/node_modules/playwright-core/lib/server/harBackend.js +0 -157
  420. data/node/node_modules/playwright-core/lib/server/helper.js +0 -96
  421. data/node/node_modules/playwright-core/lib/server/index.js +0 -58
  422. data/node/node_modules/playwright-core/lib/server/input.js +0 -277
  423. data/node/node_modules/playwright-core/lib/server/instrumentation.js +0 -72
  424. data/node/node_modules/playwright-core/lib/server/javascript.js +0 -291
  425. data/node/node_modules/playwright-core/lib/server/launchApp.js +0 -128
  426. data/node/node_modules/playwright-core/lib/server/localUtils.js +0 -214
  427. data/node/node_modules/playwright-core/lib/server/macEditingCommands.js +0 -143
  428. data/node/node_modules/playwright-core/lib/server/network.js +0 -667
  429. data/node/node_modules/playwright-core/lib/server/page.js +0 -830
  430. data/node/node_modules/playwright-core/lib/server/pipeTransport.js +0 -89
  431. data/node/node_modules/playwright-core/lib/server/playwright.js +0 -69
  432. data/node/node_modules/playwright-core/lib/server/progress.js +0 -132
  433. data/node/node_modules/playwright-core/lib/server/protocolError.js +0 -52
  434. data/node/node_modules/playwright-core/lib/server/recorder/chat.js +0 -161
  435. data/node/node_modules/playwright-core/lib/server/recorder/recorderApp.js +0 -366
  436. data/node/node_modules/playwright-core/lib/server/recorder/recorderRunner.js +0 -138
  437. data/node/node_modules/playwright-core/lib/server/recorder/recorderSignalProcessor.js +0 -83
  438. data/node/node_modules/playwright-core/lib/server/recorder/recorderUtils.js +0 -157
  439. data/node/node_modules/playwright-core/lib/server/recorder/throttledFile.js +0 -57
  440. data/node/node_modules/playwright-core/lib/server/recorder.js +0 -499
  441. data/node/node_modules/playwright-core/lib/server/registry/browserFetcher.js +0 -177
  442. data/node/node_modules/playwright-core/lib/server/registry/dependencies.js +0 -371
  443. data/node/node_modules/playwright-core/lib/server/registry/index.js +0 -1422
  444. data/node/node_modules/playwright-core/lib/server/registry/nativeDeps.js +0 -1280
  445. data/node/node_modules/playwright-core/lib/server/registry/oopDownloadBrowserMain.js +0 -127
  446. data/node/node_modules/playwright-core/lib/server/screencast.js +0 -190
  447. data/node/node_modules/playwright-core/lib/server/screenshotter.js +0 -333
  448. data/node/node_modules/playwright-core/lib/server/selectors.js +0 -112
  449. data/node/node_modules/playwright-core/lib/server/socksClientCertificatesInterceptor.js +0 -383
  450. data/node/node_modules/playwright-core/lib/server/socksInterceptor.js +0 -95
  451. data/node/node_modules/playwright-core/lib/server/trace/recorder/snapshotter.js +0 -147
  452. data/node/node_modules/playwright-core/lib/server/trace/recorder/snapshotterInjected.js +0 -561
  453. data/node/node_modules/playwright-core/lib/server/trace/recorder/tracing.js +0 -604
  454. data/node/node_modules/playwright-core/lib/server/trace/viewer/traceParser.js +0 -72
  455. data/node/node_modules/playwright-core/lib/server/trace/viewer/traceViewer.js +0 -245
  456. data/node/node_modules/playwright-core/lib/server/transport.js +0 -181
  457. data/node/node_modules/playwright-core/lib/server/types.js +0 -28
  458. data/node/node_modules/playwright-core/lib/server/usKeyboardLayout.js +0 -145
  459. data/node/node_modules/playwright-core/lib/server/utils/ascii.js +0 -44
  460. data/node/node_modules/playwright-core/lib/server/utils/comparators.js +0 -139
  461. data/node/node_modules/playwright-core/lib/server/utils/crypto.js +0 -216
  462. data/node/node_modules/playwright-core/lib/server/utils/debug.js +0 -42
  463. data/node/node_modules/playwright-core/lib/server/utils/debugLogger.js +0 -122
  464. data/node/node_modules/playwright-core/lib/server/utils/env.js +0 -73
  465. data/node/node_modules/playwright-core/lib/server/utils/eventsHelper.js +0 -39
  466. data/node/node_modules/playwright-core/lib/server/utils/expectUtils.js +0 -123
  467. data/node/node_modules/playwright-core/lib/server/utils/fileUtils.js +0 -191
  468. data/node/node_modules/playwright-core/lib/server/utils/happyEyeballs.js +0 -207
  469. data/node/node_modules/playwright-core/lib/server/utils/hostPlatform.js +0 -123
  470. data/node/node_modules/playwright-core/lib/server/utils/httpServer.js +0 -203
  471. data/node/node_modules/playwright-core/lib/server/utils/imageUtils.js +0 -141
  472. data/node/node_modules/playwright-core/lib/server/utils/image_tools/colorUtils.js +0 -89
  473. data/node/node_modules/playwright-core/lib/server/utils/image_tools/compare.js +0 -109
  474. data/node/node_modules/playwright-core/lib/server/utils/image_tools/imageChannel.js +0 -78
  475. data/node/node_modules/playwright-core/lib/server/utils/image_tools/stats.js +0 -102
  476. data/node/node_modules/playwright-core/lib/server/utils/linuxUtils.js +0 -71
  477. data/node/node_modules/playwright-core/lib/server/utils/network.js +0 -242
  478. data/node/node_modules/playwright-core/lib/server/utils/nodePlatform.js +0 -154
  479. data/node/node_modules/playwright-core/lib/server/utils/pipeTransport.js +0 -84
  480. data/node/node_modules/playwright-core/lib/server/utils/processLauncher.js +0 -241
  481. data/node/node_modules/playwright-core/lib/server/utils/profiler.js +0 -65
  482. data/node/node_modules/playwright-core/lib/server/utils/socksProxy.js +0 -511
  483. data/node/node_modules/playwright-core/lib/server/utils/spawnAsync.js +0 -41
  484. data/node/node_modules/playwright-core/lib/server/utils/task.js +0 -51
  485. data/node/node_modules/playwright-core/lib/server/utils/userAgent.js +0 -98
  486. data/node/node_modules/playwright-core/lib/server/utils/wsServer.js +0 -121
  487. data/node/node_modules/playwright-core/lib/server/utils/zipFile.js +0 -74
  488. data/node/node_modules/playwright-core/lib/server/utils/zones.js +0 -57
  489. data/node/node_modules/playwright-core/lib/server/videoRecorder.js +0 -124
  490. data/node/node_modules/playwright-core/lib/server/webkit/protocol.d.js +0 -16
  491. data/node/node_modules/playwright-core/lib/server/webkit/webkit.js +0 -108
  492. data/node/node_modules/playwright-core/lib/server/webkit/wkBrowser.js +0 -335
  493. data/node/node_modules/playwright-core/lib/server/webkit/wkConnection.js +0 -144
  494. data/node/node_modules/playwright-core/lib/server/webkit/wkExecutionContext.js +0 -154
  495. data/node/node_modules/playwright-core/lib/server/webkit/wkInput.js +0 -181
  496. data/node/node_modules/playwright-core/lib/server/webkit/wkInterceptableRequest.js +0 -197
  497. data/node/node_modules/playwright-core/lib/server/webkit/wkPage.js +0 -1158
  498. data/node/node_modules/playwright-core/lib/server/webkit/wkProvisionalPage.js +0 -83
  499. data/node/node_modules/playwright-core/lib/server/webkit/wkWorkers.js +0 -105
  500. data/node/node_modules/playwright-core/lib/third_party/pixelmatch.js +0 -255
  501. data/node/node_modules/playwright-core/lib/utils/isomorphic/ariaSnapshot.js +0 -455
  502. data/node/node_modules/playwright-core/lib/utils/isomorphic/assert.js +0 -31
  503. data/node/node_modules/playwright-core/lib/utils/isomorphic/colors.js +0 -72
  504. data/node/node_modules/playwright-core/lib/utils/isomorphic/cssParser.js +0 -245
  505. data/node/node_modules/playwright-core/lib/utils/isomorphic/cssTokenizer.js +0 -1051
  506. data/node/node_modules/playwright-core/lib/utils/isomorphic/headers.js +0 -53
  507. data/node/node_modules/playwright-core/lib/utils/isomorphic/locatorGenerators.js +0 -689
  508. data/node/node_modules/playwright-core/lib/utils/isomorphic/locatorParser.js +0 -176
  509. data/node/node_modules/playwright-core/lib/utils/isomorphic/locatorUtils.js +0 -81
  510. data/node/node_modules/playwright-core/lib/utils/isomorphic/lruCache.js +0 -51
  511. data/node/node_modules/playwright-core/lib/utils/isomorphic/manualPromise.js +0 -114
  512. data/node/node_modules/playwright-core/lib/utils/isomorphic/mimeType.js +0 -459
  513. data/node/node_modules/playwright-core/lib/utils/isomorphic/multimap.js +0 -80
  514. data/node/node_modules/playwright-core/lib/utils/isomorphic/protocolFormatter.js +0 -81
  515. data/node/node_modules/playwright-core/lib/utils/isomorphic/protocolMetainfo.js +0 -330
  516. data/node/node_modules/playwright-core/lib/utils/isomorphic/rtti.js +0 -43
  517. data/node/node_modules/playwright-core/lib/utils/isomorphic/selectorParser.js +0 -386
  518. data/node/node_modules/playwright-core/lib/utils/isomorphic/semaphore.js +0 -54
  519. data/node/node_modules/playwright-core/lib/utils/isomorphic/stackTrace.js +0 -158
  520. data/node/node_modules/playwright-core/lib/utils/isomorphic/stringUtils.js +0 -204
  521. data/node/node_modules/playwright-core/lib/utils/isomorphic/time.js +0 -49
  522. data/node/node_modules/playwright-core/lib/utils/isomorphic/timeoutRunner.js +0 -66
  523. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/entries.js +0 -16
  524. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotRenderer.js +0 -499
  525. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotServer.js +0 -120
  526. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotStorage.js +0 -89
  527. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/traceLoader.js +0 -131
  528. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/traceModel.js +0 -365
  529. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/traceModernizer.js +0 -400
  530. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV3.js +0 -16
  531. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV4.js +0 -16
  532. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV5.js +0 -16
  533. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV6.js +0 -16
  534. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV7.js +0 -16
  535. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV8.js +0 -16
  536. data/node/node_modules/playwright-core/lib/utils/isomorphic/traceUtils.js +0 -58
  537. data/node/node_modules/playwright-core/lib/utils/isomorphic/types.js +0 -16
  538. data/node/node_modules/playwright-core/lib/utils/isomorphic/urlMatch.js +0 -190
  539. data/node/node_modules/playwright-core/lib/utils/isomorphic/utilityScriptSerializers.js +0 -251
  540. data/node/node_modules/playwright-core/lib/utils/isomorphic/yaml.js +0 -84
  541. data/node/node_modules/playwright-core/lib/utils.js +0 -111
  542. data/node/node_modules/playwright-core/lib/utilsBundle.js +0 -109
  543. data/node/node_modules/playwright-core/lib/utilsBundleImpl/index.js +0 -218
  544. data/node/node_modules/playwright-core/lib/utilsBundleImpl/xdg-open +0 -1066
  545. data/node/node_modules/playwright-core/lib/vite/htmlReport/index.html +0 -84
  546. data/node/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DYBRYzYX.css +0 -1
  547. data/node/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DadYNm1I.js +0 -32
  548. data/node/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
  549. data/node/node_modules/playwright-core/lib/vite/recorder/assets/index-BSjZa4pk.css +0 -1
  550. data/node/node_modules/playwright-core/lib/vite/recorder/assets/index-BhTWtUlo.js +0 -193
  551. data/node/node_modules/playwright-core/lib/vite/recorder/index.html +0 -29
  552. data/node/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +0 -9
  553. data/node/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-a5XoALAZ.js +0 -32
  554. data/node/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-CJSZINFr.js +0 -266
  555. data/node/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-CsJ4vdCR.js +0 -9
  556. data/node/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.DYBRYzYX.css +0 -1
  557. data/node/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
  558. data/node/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.7ch9cixO.css +0 -1
  559. data/node/node_modules/playwright-core/lib/vite/traceViewer/index.BVu7tZDe.css +0 -1
  560. data/node/node_modules/playwright-core/lib/vite/traceViewer/index.Bk2uYQRV.js +0 -2
  561. data/node/node_modules/playwright-core/lib/vite/traceViewer/index.html +0 -43
  562. data/node/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +0 -16
  563. data/node/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +0 -9
  564. data/node/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +0 -21
  565. data/node/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +0 -5
  566. data/node/node_modules/playwright-core/lib/vite/traceViewer/uiMode.Btcz36p_.css +0 -1
  567. data/node/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CQJ9SCIQ.js +0 -5
  568. data/node/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +0 -17
  569. data/node/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.DYP7pi_n.css +0 -32
  570. data/node/node_modules/playwright-core/lib/zipBundle.js +0 -34
  571. data/node/node_modules/playwright-core/lib/zipBundleImpl.js +0 -5
  572. data/node/node_modules/playwright-core/package.json +0 -43
  573. data/node/node_modules/playwright-core/types/protocol.d.ts +0 -23824
  574. data/node/node_modules/playwright-core/types/structs.d.ts +0 -45
  575. data/node/node_modules/playwright-core/types/types.d.ts +0 -22843
  576. data/spec/rubycrawl_spec.rb +0 -51
  577. data/spec/spec_helper.rb +0 -11
@@ -1,822 +0,0 @@
1
- // This file is generated by /utils/generate_types/index.js
2
- /**
3
- * Copyright (c) Microsoft Corporation.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
-
18
- import type { TestStatus, Metadata, PlaywrightTestOptions, PlaywrightWorkerOptions, ReporterDescription, FullConfig, FullProject, Location } from './test';
19
- export type { FullConfig, FullProject, TestStatus, Location } from './test';
20
-
21
- /**
22
- * Result of the full test run.
23
- */
24
- export interface FullResult {
25
- /**
26
- * Status:
27
- * - 'passed' - everything went as expected.
28
- * - 'failed' - any test has failed.
29
- * - 'timedout' - the global time has been reached.
30
- * - 'interrupted' - interrupted by the user.
31
- */
32
- status: 'passed' | 'failed' | 'timedout' | 'interrupted';
33
-
34
- /**
35
- * Test start wall time.
36
- */
37
- startTime: Date;
38
-
39
- /**
40
- * Test duration in milliseconds.
41
- */
42
- duration: number;
43
- }
44
-
45
- /**
46
- * Test runner notifies the reporter about various events during test execution. All methods of the reporter are
47
- * optional.
48
- *
49
- * You can create a custom reporter by implementing a class with some of the reporter methods. Make sure to export
50
- * this class as default.
51
- *
52
- * ```js
53
- * // my-awesome-reporter.ts
54
- * import type {
55
- * Reporter, FullConfig, Suite, TestCase, TestResult, FullResult
56
- * } from '@playwright/test/reporter';
57
- *
58
- * class MyReporter implements Reporter {
59
- * constructor(options: { customOption?: string } = {}) {
60
- * console.log(`my-awesome-reporter setup with customOption set to ${options.customOption}`);
61
- * }
62
- *
63
- * onBegin(config: FullConfig, suite: Suite) {
64
- * console.log(`Starting the run with ${suite.allTests().length} tests`);
65
- * }
66
- *
67
- * onTestBegin(test: TestCase) {
68
- * console.log(`Starting test ${test.title}`);
69
- * }
70
- *
71
- * onTestEnd(test: TestCase, result: TestResult) {
72
- * console.log(`Finished test ${test.title}: ${result.status}`);
73
- * }
74
- *
75
- * onEnd(result: FullResult) {
76
- * console.log(`Finished the run: ${result.status}`);
77
- * }
78
- * }
79
- * export default MyReporter;
80
- * ```
81
- *
82
- * Now use this reporter with
83
- * [testConfig.reporter](https://playwright.dev/docs/api/class-testconfig#test-config-reporter). Learn more about
84
- * [using reporters](https://playwright.dev/docs/test-reporters).
85
- *
86
- * ```js
87
- * // playwright.config.ts
88
- * import { defineConfig } from '@playwright/test';
89
- *
90
- * export default defineConfig({
91
- * reporter: [['./my-awesome-reporter.ts', { customOption: 'some value' }]],
92
- * });
93
- * ```
94
- *
95
- * Here is a typical order of reporter calls:
96
- * - [reporter.onBegin(config, suite)](https://playwright.dev/docs/api/class-reporter#reporter-on-begin) is called
97
- * once with a root suite that contains all other suites and tests. Learn more about
98
- * [suites hierarchy][Suite](https://playwright.dev/docs/api/class-suite).
99
- * - [reporter.onTestBegin(test, result)](https://playwright.dev/docs/api/class-reporter#reporter-on-test-begin) is
100
- * called for each test run. It is given a [TestCase](https://playwright.dev/docs/api/class-testcase) that is
101
- * executed, and a [TestResult](https://playwright.dev/docs/api/class-testresult) that is almost empty. Test
102
- * result will be populated while the test runs (for example, with steps and stdio) and will get final `status`
103
- * once the test finishes.
104
- * - [reporter.onStepBegin(test, result, step)](https://playwright.dev/docs/api/class-reporter#reporter-on-step-begin)
105
- * and
106
- * [reporter.onStepEnd(test, result, step)](https://playwright.dev/docs/api/class-reporter#reporter-on-step-end)
107
- * are called for each executed step inside the test. When steps are executed, test run has not finished yet.
108
- * - [reporter.onTestEnd(test, result)](https://playwright.dev/docs/api/class-reporter#reporter-on-test-end) is
109
- * called when test run has finished. By this time, [TestResult](https://playwright.dev/docs/api/class-testresult)
110
- * is complete and you can use
111
- * [testResult.status](https://playwright.dev/docs/api/class-testresult#test-result-status),
112
- * [testResult.error](https://playwright.dev/docs/api/class-testresult#test-result-error) and more.
113
- * - [reporter.onEnd(result)](https://playwright.dev/docs/api/class-reporter#reporter-on-end) is called once after
114
- * all tests that should run had finished.
115
- * - [reporter.onExit()](https://playwright.dev/docs/api/class-reporter#reporter-on-exit) is called immediately
116
- * before the test runner exits.
117
- *
118
- * Additionally,
119
- * [reporter.onStdOut(chunk, test, result)](https://playwright.dev/docs/api/class-reporter#reporter-on-std-out) and
120
- * [reporter.onStdErr(chunk, test, result)](https://playwright.dev/docs/api/class-reporter#reporter-on-std-err) are
121
- * called when standard output is produced in the worker process, possibly during a test execution, and
122
- * [reporter.onError(error)](https://playwright.dev/docs/api/class-reporter#reporter-on-error) is called when
123
- * something went wrong outside of the test execution.
124
- *
125
- * If your custom reporter does not print anything to the terminal, implement
126
- * [reporter.printsToStdio()](https://playwright.dev/docs/api/class-reporter#reporter-prints-to-stdio) and return
127
- * `false`. This way, Playwright will use one of the standard terminal reporters in addition to your custom reporter
128
- * to enhance user experience.
129
- *
130
- * **Reporter errors**
131
- *
132
- * Playwright will swallow any errors thrown in your custom reporter methods. If you need to detect or fail on
133
- * reporter errors, you must wrap and handle them yourself.
134
- *
135
- * **Merged report API notes**
136
- *
137
- * When merging multiple [`blob`](https://playwright.dev/docs/test-reporters#blob-reporter) reports via
138
- * [`merge-reports`](https://playwright.dev/docs/test-sharding#merge-reports-cli) CLI command, the same
139
- * [Reporter](https://playwright.dev/docs/api/class-reporter) API is called to produce final reports and all existing
140
- * reporters should work without any changes. There some subtle differences though which might affect some custom
141
- * reporters.
142
- * - Projects from different shards are always kept as separate
143
- * [TestProject](https://playwright.dev/docs/api/class-testproject) objects. E.g. if project 'Desktop Chrome' was
144
- * sharded across 5 machines then there will be 5 instances of projects with the same name in the config passed to
145
- * [reporter.onBegin(config, suite)](https://playwright.dev/docs/api/class-reporter#reporter-on-begin).
146
- */
147
- export interface Reporter {
148
- /**
149
- * Called after all tests have been run, or testing has been interrupted. Note that this method may return a [Promise]
150
- * and Playwright Test will await it. Reporter is allowed to override the status and hence affect the exit code of the
151
- * test runner.
152
- * @param result Result of the full test run, `status` can be one of:
153
- * - `'passed'` - Everything went as expected.
154
- * - `'failed'` - Any test has failed.
155
- * - `'timedout'` - The
156
- * [testConfig.globalTimeout](https://playwright.dev/docs/api/class-testconfig#test-config-global-timeout) has
157
- * been reached.
158
- * - `'interrupted'` - Interrupted by the user.
159
- */
160
- onEnd?(result: FullResult): Promise<{ status?: FullResult['status'] } | undefined | void> | void;
161
- /**
162
- * Called once before running tests. All tests have been already discovered and put into a hierarchy of
163
- * [Suite](https://playwright.dev/docs/api/class-suite)s.
164
- * @param config Resolved configuration.
165
- * @param suite The root suite that contains all projects, files and test cases.
166
- */
167
- onBegin?(config: FullConfig, suite: Suite): void;
168
-
169
- /**
170
- * Called on some global error, for example unhandled exception in the worker process.
171
- * @param error The error.
172
- */
173
- onError?(error: TestError): void;
174
-
175
- /**
176
- * Called immediately before test runner exists. At this point all the reporters have received the
177
- * [reporter.onEnd(result)](https://playwright.dev/docs/api/class-reporter#reporter-on-end) signal, so all the reports
178
- * should be build. You can run the code that uploads the reports in this hook.
179
- */
180
- onExit?(): Promise<void>;
181
-
182
- /**
183
- * Called when something has been written to the standard error in the worker process.
184
- * @param chunk Output chunk.
185
- * @param test Test that was running. Note that output may happen when no test is running, in which case this will be [void].
186
- * @param result Result of the test run, this object gets populated while the test runs.
187
- */
188
- onStdErr?(chunk: string|Buffer, test: void|TestCase, result: void|TestResult): void;
189
-
190
- /**
191
- * Called when something has been written to the standard output in the worker process.
192
- * @param chunk Output chunk.
193
- * @param test Test that was running. Note that output may happen when no test is running, in which case this will be [void].
194
- * @param result Result of the test run, this object gets populated while the test runs.
195
- */
196
- onStdOut?(chunk: string|Buffer, test: void|TestCase, result: void|TestResult): void;
197
-
198
- /**
199
- * Called when a test step started in the worker process.
200
- * @param test Test that the step belongs to.
201
- * @param result Result of the test run, this object gets populated while the test runs.
202
- * @param step Test step instance that has started.
203
- */
204
- onStepBegin?(test: TestCase, result: TestResult, step: TestStep): void;
205
-
206
- /**
207
- * Called when a test step finished in the worker process.
208
- * @param test Test that the step belongs to.
209
- * @param result Result of the test run.
210
- * @param step Test step instance that has finished.
211
- */
212
- onStepEnd?(test: TestCase, result: TestResult, step: TestStep): void;
213
-
214
- /**
215
- * Called after a test has been started in the worker process.
216
- * @param test Test that has been started.
217
- * @param result Result of the test run, this object gets populated while the test runs.
218
- */
219
- onTestBegin?(test: TestCase, result: TestResult): void;
220
-
221
- /**
222
- * Called after a test has been finished in the worker process.
223
- * @param test Test that has been finished.
224
- * @param result Result of the test run.
225
- */
226
- onTestEnd?(test: TestCase, result: TestResult): void;
227
-
228
- /**
229
- * Whether this reporter uses stdio for reporting. When it does not, Playwright Test could add some output to enhance
230
- * user experience. If your reporter does not print to the terminal, it is strongly recommended to return `false`.
231
- */
232
- printsToStdio?(): boolean;
233
- }
234
-
235
- export interface JSONReport {
236
- config: Omit<FullConfig, 'projects'> & {
237
- projects: {
238
- outputDir: string,
239
- repeatEach: number,
240
- retries: number,
241
- metadata: Metadata,
242
- id: string,
243
- name: string,
244
- testDir: string,
245
- testIgnore: string[],
246
- testMatch: string[],
247
- timeout: number,
248
- }[],
249
- };
250
- suites: JSONReportSuite[];
251
- errors: TestError[];
252
- stats: {
253
- startTime: string; // Date in ISO 8601 format.
254
- duration: number; // In milliseconds;
255
- expected: number;
256
- unexpected: number;
257
- flaky: number;
258
- skipped: number;
259
- }
260
- }
261
-
262
- export interface JSONReportSuite {
263
- title: string;
264
- file: string;
265
- column: number;
266
- line: number;
267
- specs: JSONReportSpec[];
268
- suites?: JSONReportSuite[];
269
- }
270
-
271
- export interface JSONReportSpec {
272
- tags: string[],
273
- title: string;
274
- ok: boolean;
275
- tests: JSONReportTest[];
276
- id: string;
277
- file: string;
278
- line: number;
279
- column: number;
280
- }
281
-
282
- export interface JSONReportTest {
283
- timeout: number;
284
- annotations: { type: string, description?: string }[],
285
- expectedStatus: TestStatus;
286
- projectName: string;
287
- projectId: string;
288
- results: JSONReportTestResult[];
289
- status: 'skipped' | 'expected' | 'unexpected' | 'flaky';
290
- }
291
-
292
- export interface JSONReportError {
293
- message: string;
294
- location?: Location;
295
- }
296
-
297
- export interface JSONReportTestResult {
298
- workerIndex: number;
299
- parallelIndex: number;
300
- shardIndex?: number;
301
- status: TestStatus | undefined;
302
- duration: number;
303
- error: TestError | undefined;
304
- errors: JSONReportError[];
305
- stdout: JSONReportSTDIOEntry[];
306
- stderr: JSONReportSTDIOEntry[];
307
- retry: number;
308
- steps?: JSONReportTestStep[];
309
- startTime: string; // Date in ISO 8601 format.
310
- attachments: {
311
- name: string;
312
- path?: string;
313
- body?: string;
314
- contentType: string;
315
- }[];
316
- annotations: { type: string, description?: string }[];
317
- errorLocation?: Location;
318
- }
319
-
320
- export interface JSONReportTestStep {
321
- title: string;
322
- duration: number;
323
- error: TestError | undefined;
324
- steps?: JSONReportTestStep[];
325
- }
326
-
327
- export type JSONReportSTDIOEntry = { text: string } | { buffer: string };
328
-
329
- // This is required to not export everything by default. See https://github.com/Microsoft/TypeScript/issues/19545#issuecomment-340490459
330
- export {};
331
-
332
-
333
- /**
334
- * `Suite` is a group of tests. All tests in Playwright Test form the following hierarchy:
335
- * - Root suite has a child suite for each [FullProject](https://playwright.dev/docs/api/class-fullproject).
336
- * - Project suite #1. Has a child suite for each test file in the project.
337
- * - File suite #1
338
- * - [TestCase](https://playwright.dev/docs/api/class-testcase) #1
339
- * - [TestCase](https://playwright.dev/docs/api/class-testcase) #2
340
- * - Suite corresponding to a
341
- * [test.describe([title, details, callback])](https://playwright.dev/docs/api/class-test#test-describe)
342
- * group
343
- * - [TestCase](https://playwright.dev/docs/api/class-testcase) #1 in a group
344
- * - [TestCase](https://playwright.dev/docs/api/class-testcase) #2 in a group
345
- * - < more test cases ... >
346
- * - File suite #2
347
- * - < more file suites ... >
348
- * - Project suite #2
349
- * - < more project suites ... >
350
- *
351
- * Reporter is given a root suite in the
352
- * [reporter.onBegin(config, suite)](https://playwright.dev/docs/api/class-reporter#reporter-on-begin) method.
353
- */
354
- export interface Suite {
355
- /**
356
- * Returns the list of all test cases in this suite and its descendants, as opposite to
357
- * [suite.tests](https://playwright.dev/docs/api/class-suite#suite-tests).
358
- */
359
- allTests(): Array<TestCase>;
360
-
361
- /**
362
- * Test cases and suites defined directly in this suite. The elements are returned in their declaration order. You can
363
- * differentiate between various entry types by using
364
- * [testCase.type](https://playwright.dev/docs/api/class-testcase#test-case-type) and
365
- * [suite.type](https://playwright.dev/docs/api/class-suite#suite-type).
366
- */
367
- entries(): Array<TestCase|Suite>;
368
-
369
- /**
370
- * Configuration of the project this suite belongs to, or [void] for the root suite.
371
- */
372
- project(): FullProject|undefined;
373
-
374
- /**
375
- * Returns a list of titles from the root down to this suite.
376
- */
377
- titlePath(): Array<string>;
378
-
379
- /**
380
- * Location in the source where the suite is defined. Missing for root and project suites.
381
- */
382
- location?: Location;
383
-
384
- /**
385
- * Parent suite, missing for the root suite.
386
- */
387
- parent?: Suite;
388
-
389
- /**
390
- * Child suites. See [Suite](https://playwright.dev/docs/api/class-suite) for the hierarchy of suites.
391
- */
392
- suites: Array<Suite>;
393
-
394
- /**
395
- * Test cases in the suite. Note that only test cases defined directly in this suite are in the list. Any test cases
396
- * defined in nested
397
- * [test.describe([title, details, callback])](https://playwright.dev/docs/api/class-test#test-describe) groups are
398
- * listed in the child [suite.suites](https://playwright.dev/docs/api/class-suite#suite-suites).
399
- */
400
- tests: Array<TestCase>;
401
-
402
- /**
403
- * Suite title.
404
- * - Empty for root suite.
405
- * - Project name for project suite.
406
- * - File path for file suite.
407
- * - Title passed to
408
- * [test.describe([title, details, callback])](https://playwright.dev/docs/api/class-test#test-describe) for a
409
- * group suite.
410
- */
411
- title: string;
412
-
413
- /**
414
- * Returns the type of the suite. The Suites form the following hierarchy: `root` -> `project` -> `file` -> `describe`
415
- * -> ...`describe` -> `test`.
416
- */
417
- type: "root"|"project"|"file"|"describe";
418
- }
419
-
420
- /**
421
- * `TestCase` corresponds to every
422
- * [test.(call)(title[, details, body])](https://playwright.dev/docs/api/class-test#test-call) call in a test file.
423
- * When a single [test.(call)(title[, details, body])](https://playwright.dev/docs/api/class-test#test-call) is
424
- * running in multiple projects or repeated multiple times, it will have multiple `TestCase` objects in corresponding
425
- * projects' suites.
426
- */
427
- export interface TestCase {
428
- /**
429
- * Whether the test is considered running fine. Non-ok tests fail the test run with non-zero exit code.
430
- */
431
- ok(): boolean;
432
-
433
- /**
434
- * Testing outcome for this test. Note that outcome is not the same as
435
- * [testResult.status](https://playwright.dev/docs/api/class-testresult#test-result-status):
436
- * - Test that is expected to fail and actually fails is `'expected'`.
437
- * - Test that passes on a second retry is `'flaky'`.
438
- */
439
- outcome(): "skipped"|"expected"|"unexpected"|"flaky";
440
-
441
- /**
442
- * Returns a list of titles from the root down to this test.
443
- */
444
- titlePath(): Array<string>;
445
-
446
- /**
447
- * [testResult.annotations](https://playwright.dev/docs/api/class-testresult#test-result-annotations) of the last test
448
- * run.
449
- */
450
- annotations: Array<{
451
- /**
452
- * Annotation type, for example `'skip'` or `'fail'`.
453
- */
454
- type: string;
455
-
456
- /**
457
- * Optional description.
458
- */
459
- description?: string;
460
-
461
- /**
462
- * Optional location in the source where the annotation is added.
463
- */
464
- location?: Location;
465
- }>;
466
-
467
- /**
468
- * Expected test status.
469
- * - Tests marked as
470
- * [test.skip([title, details, body, condition, callback, description])](https://playwright.dev/docs/api/class-test#test-skip)
471
- * or
472
- * [test.fixme([title, details, body, condition, callback, description])](https://playwright.dev/docs/api/class-test#test-fixme)
473
- * are expected to be `'skipped'`.
474
- * - Tests marked as
475
- * [test.fail([title, details, body, condition, callback, description])](https://playwright.dev/docs/api/class-test#test-fail)
476
- * are expected to be `'failed'`.
477
- * - Other tests are expected to be `'passed'`.
478
- *
479
- * See also [testResult.status](https://playwright.dev/docs/api/class-testresult#test-result-status) for the actual
480
- * status.
481
- */
482
- expectedStatus: "passed"|"failed"|"timedOut"|"skipped"|"interrupted";
483
-
484
- /**
485
- * A test ID that is computed based on the test file name, test title and project name. The ID is unique within
486
- * Playwright session.
487
- */
488
- id: string;
489
-
490
- /**
491
- * Location in the source where the test is defined.
492
- */
493
- location: Location;
494
-
495
- /**
496
- * Suite this test case belongs to.
497
- */
498
- parent: Suite;
499
-
500
- /**
501
- * Contains the repeat index when running in "repeat each" mode. This mode is enabled by passing `--repeat-each` to
502
- * the [command line](https://playwright.dev/docs/test-cli).
503
- */
504
- repeatEachIndex: number;
505
-
506
- /**
507
- * Results for each run of this test.
508
- */
509
- results: Array<TestResult>;
510
-
511
- /**
512
- * The maximum number of retries given to this test in the configuration.
513
- *
514
- * Learn more about [test retries](https://playwright.dev/docs/test-retries#retries).
515
- */
516
- retries: number;
517
-
518
- /**
519
- * The list of tags defined on the test or suite via
520
- * [test.(call)(title[, details, body])](https://playwright.dev/docs/api/class-test#test-call) or
521
- * [test.describe([title, details, callback])](https://playwright.dev/docs/api/class-test#test-describe), as well as
522
- * `@`-tokens extracted from test and suite titles.
523
- *
524
- * Learn more about [test tags](https://playwright.dev/docs/test-annotations#tag-tests).
525
- */
526
- tags: Array<string>;
527
-
528
- /**
529
- * The timeout given to the test. Affected by
530
- * [testConfig.timeout](https://playwright.dev/docs/api/class-testconfig#test-config-timeout),
531
- * [testProject.timeout](https://playwright.dev/docs/api/class-testproject#test-project-timeout),
532
- * [test.setTimeout(timeout)](https://playwright.dev/docs/api/class-test#test-set-timeout),
533
- * [test.slow([condition, callback, description])](https://playwright.dev/docs/api/class-test#test-slow) and
534
- * [testInfo.setTimeout(timeout)](https://playwright.dev/docs/api/class-testinfo#test-info-set-timeout).
535
- */
536
- timeout: number;
537
-
538
- /**
539
- * Test title as passed to the
540
- * [test.(call)(title[, details, body])](https://playwright.dev/docs/api/class-test#test-call) call.
541
- */
542
- title: string;
543
-
544
- /**
545
- * Returns "test". Useful for detecting test cases in
546
- * [suite.entries()](https://playwright.dev/docs/api/class-suite#suite-entries).
547
- */
548
- type: "test";
549
- }
550
-
551
- /**
552
- * Information about an error thrown during test execution.
553
- */
554
- export interface TestError {
555
- /**
556
- * Error cause. Set when there is a
557
- * [cause](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause) for the
558
- * error. Will be `undefined` if there is no cause or if the cause is not an instance of [Error].
559
- */
560
- cause?: TestError;
561
-
562
- /**
563
- * Error location in the source code.
564
- */
565
- location?: Location;
566
-
567
- /**
568
- * Error message. Set when [Error] (or its subclass) has been thrown.
569
- */
570
- message?: string;
571
-
572
- /**
573
- * Source code snippet with highlighted error.
574
- */
575
- snippet?: string;
576
-
577
- /**
578
- * Error stack. Set when [Error] (or its subclass) has been thrown.
579
- */
580
- stack?: string;
581
-
582
- /**
583
- * The value that was thrown. Set when anything except the [Error] (or its subclass) has been thrown.
584
- */
585
- value?: string;
586
- }
587
-
588
- /**
589
- * A result of a single [TestCase](https://playwright.dev/docs/api/class-testcase) run.
590
- */
591
- export interface TestResult {
592
- /**
593
- * The list of annotations applicable to the current test. Includes:
594
- * - annotations defined on the test or suite via
595
- * [test.(call)(title[, details, body])](https://playwright.dev/docs/api/class-test#test-call) and
596
- * [test.describe([title, details, callback])](https://playwright.dev/docs/api/class-test#test-describe);
597
- * - annotations implicitly added by methods
598
- * [test.skip([title, details, body, condition, callback, description])](https://playwright.dev/docs/api/class-test#test-skip),
599
- * [test.fixme([title, details, body, condition, callback, description])](https://playwright.dev/docs/api/class-test#test-fixme)
600
- * and
601
- * [test.fail([title, details, body, condition, callback, description])](https://playwright.dev/docs/api/class-test#test-fail);
602
- * - annotations appended to
603
- * [testInfo.annotations](https://playwright.dev/docs/api/class-testinfo#test-info-annotations) during the test
604
- * execution.
605
- *
606
- * Annotations are available during test execution through
607
- * [testInfo.annotations](https://playwright.dev/docs/api/class-testinfo#test-info-annotations).
608
- *
609
- * Learn more about [test annotations](https://playwright.dev/docs/test-annotations).
610
- */
611
- annotations: Array<{
612
- /**
613
- * Annotation type, for example `'skip'` or `'fail'`.
614
- */
615
- type: string;
616
-
617
- /**
618
- * Optional description.
619
- */
620
- description?: string;
621
-
622
- /**
623
- * Optional location in the source where the annotation is added.
624
- */
625
- location?: Location;
626
- }>;
627
-
628
- /**
629
- * The list of files or buffers attached during the test execution through
630
- * [testInfo.attachments](https://playwright.dev/docs/api/class-testinfo#test-info-attachments).
631
- */
632
- attachments: Array<{
633
- /**
634
- * Attachment name.
635
- */
636
- name: string;
637
-
638
- /**
639
- * Content type of this attachment to properly present in the report, for example `'application/json'` or
640
- * `'image/png'`.
641
- */
642
- contentType: string;
643
-
644
- /**
645
- * Optional path on the filesystem to the attached file.
646
- */
647
- path?: string;
648
-
649
- /**
650
- * Optional attachment body used instead of a file.
651
- */
652
- body?: Buffer;
653
- }>;
654
-
655
- /**
656
- * Running time in milliseconds.
657
- */
658
- duration: number;
659
-
660
- /**
661
- * First error thrown during test execution, if any. This is equal to the first element in
662
- * [testResult.errors](https://playwright.dev/docs/api/class-testresult#test-result-errors).
663
- */
664
- error?: TestError;
665
-
666
- /**
667
- * Errors thrown during the test execution.
668
- */
669
- errors: Array<TestError>;
670
-
671
- /**
672
- * The index of the worker between `0` and `workers - 1`. It is guaranteed that workers running at the same time have
673
- * a different `parallelIndex`.
674
- */
675
- parallelIndex: number;
676
-
677
- /**
678
- * When test is retried multiple times, each retry attempt is given a sequential number.
679
- *
680
- * Learn more about [test retries](https://playwright.dev/docs/test-retries#retries).
681
- */
682
- retry: number;
683
-
684
- /**
685
- * Start time of this particular test run.
686
- */
687
- startTime: Date;
688
-
689
- /**
690
- * The status of this test result. See also
691
- * [testCase.expectedStatus](https://playwright.dev/docs/api/class-testcase#test-case-expected-status).
692
- */
693
- status: "passed"|"failed"|"timedOut"|"skipped"|"interrupted";
694
-
695
- /**
696
- * Anything written to the standard error during the test run.
697
- */
698
- stderr: Array<string|Buffer>;
699
-
700
- /**
701
- * Anything written to the standard output during the test run.
702
- */
703
- stdout: Array<string|Buffer>;
704
-
705
- /**
706
- * List of steps inside this test run.
707
- */
708
- steps: Array<TestStep>;
709
-
710
- /**
711
- * Index of the worker where the test was run. If the test was not run a single time, for example when the user
712
- * interrupted testing, the only result will have a `workerIndex` equal to `-1`.
713
- *
714
- * Learn more about [parallelism and sharding](https://playwright.dev/docs/test-parallel) with Playwright Test.
715
- */
716
- workerIndex: number;
717
- }
718
-
719
- /**
720
- * Represents a step in the [TestRun].
721
- */
722
- export interface TestStep {
723
- /**
724
- * Returns a list of step titles from the root step down to this step.
725
- */
726
- titlePath(): Array<string>;
727
-
728
- /**
729
- * The list of annotations applicable to the current test step.
730
- */
731
- annotations: Array<{
732
- /**
733
- * Annotation type, for example `'skip'`.
734
- */
735
- type: string;
736
-
737
- /**
738
- * Optional description.
739
- */
740
- description?: string;
741
-
742
- /**
743
- * Optional location in the source where the annotation is added.
744
- */
745
- location?: Location;
746
- }>;
747
-
748
- /**
749
- * The list of files or buffers attached in the step execution through
750
- * [testInfo.attach(name[, options])](https://playwright.dev/docs/api/class-testinfo#test-info-attach).
751
- */
752
- attachments: Array<{
753
- /**
754
- * Attachment name.
755
- */
756
- name: string;
757
-
758
- /**
759
- * Content type of this attachment to properly present in the report, for example `'application/json'` or
760
- * `'image/png'`.
761
- */
762
- contentType: string;
763
-
764
- /**
765
- * Optional path on the filesystem to the attached file.
766
- */
767
- path?: string;
768
-
769
- /**
770
- * Optional attachment body used instead of a file.
771
- */
772
- body?: Buffer;
773
- }>;
774
-
775
- /**
776
- * Step category to differentiate steps with different origin and verbosity. Built-in categories are:
777
- * - `expect` for expect calls
778
- * - `fixture` for fixtures setup and teardown
779
- * - `hook` for hooks initialization and teardown
780
- * - `pw:api` for Playwright API calls.
781
- * - `test.step` for test.step API calls.
782
- * - `test.attach` for testInfo.attach API calls.
783
- */
784
- category: string;
785
-
786
- /**
787
- * Running time in milliseconds.
788
- */
789
- duration: number;
790
-
791
- /**
792
- * Error thrown during the step execution, if any.
793
- */
794
- error?: TestError;
795
-
796
- /**
797
- * Optional location in the source where the step is defined.
798
- */
799
- location?: Location;
800
-
801
- /**
802
- * Parent step, if any.
803
- */
804
- parent?: TestStep;
805
-
806
- /**
807
- * Start time of this particular test step.
808
- */
809
- startTime: Date;
810
-
811
- /**
812
- * List of steps inside this step.
813
- */
814
- steps: Array<TestStep>;
815
-
816
- /**
817
- * User-friendly test step title.
818
- */
819
- title: string;
820
- }
821
-
822
-