rubycrawl 0.1.1 → 0.1.3

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 (578) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rubycrawl/helpers.rb +1 -1
  3. data/lib/rubycrawl/markdown_converter.rb +33 -6
  4. data/lib/rubycrawl/result.rb +10 -2
  5. data/lib/rubycrawl/site_crawler.rb +7 -2
  6. data/lib/rubycrawl/version.rb +1 -1
  7. data/rubycrawl.gemspec +1 -1
  8. metadata +1 -571
  9. data/bin/console +0 -9
  10. data/bin/setup +0 -4
  11. data/node/.gitignore +0 -2
  12. data/node/.npmrc +0 -1
  13. data/node/README.md +0 -19
  14. data/node/node_modules/.bin/playwright +0 -1
  15. data/node/node_modules/.bin/playwright-core +0 -1
  16. data/node/node_modules/.package-lock.json +0 -65
  17. data/node/node_modules/dotenv/CHANGELOG.md +0 -520
  18. data/node/node_modules/dotenv/LICENSE +0 -23
  19. data/node/node_modules/dotenv/README-es.md +0 -411
  20. data/node/node_modules/dotenv/README.md +0 -645
  21. data/node/node_modules/dotenv/SECURITY.md +0 -1
  22. data/node/node_modules/dotenv/config.d.ts +0 -1
  23. data/node/node_modules/dotenv/config.js +0 -9
  24. data/node/node_modules/dotenv/lib/cli-options.js +0 -17
  25. data/node/node_modules/dotenv/lib/env-options.js +0 -28
  26. data/node/node_modules/dotenv/lib/main.d.ts +0 -162
  27. data/node/node_modules/dotenv/lib/main.js +0 -386
  28. data/node/node_modules/dotenv/package.json +0 -62
  29. data/node/node_modules/playwright/LICENSE +0 -202
  30. data/node/node_modules/playwright/NOTICE +0 -5
  31. data/node/node_modules/playwright/README.md +0 -168
  32. data/node/node_modules/playwright/ThirdPartyNotices.txt +0 -5042
  33. data/node/node_modules/playwright/cli.js +0 -19
  34. data/node/node_modules/playwright/index.d.ts +0 -17
  35. data/node/node_modules/playwright/index.js +0 -17
  36. data/node/node_modules/playwright/index.mjs +0 -18
  37. data/node/node_modules/playwright/jsx-runtime.js +0 -42
  38. data/node/node_modules/playwright/jsx-runtime.mjs +0 -21
  39. data/node/node_modules/playwright/lib/agents/agentParser.js +0 -89
  40. data/node/node_modules/playwright/lib/agents/copilot-setup-steps.yml +0 -34
  41. data/node/node_modules/playwright/lib/agents/generateAgents.js +0 -348
  42. data/node/node_modules/playwright/lib/agents/playwright-test-coverage.prompt.md +0 -31
  43. data/node/node_modules/playwright/lib/agents/playwright-test-generate.prompt.md +0 -8
  44. data/node/node_modules/playwright/lib/agents/playwright-test-generator.agent.md +0 -88
  45. data/node/node_modules/playwright/lib/agents/playwright-test-heal.prompt.md +0 -6
  46. data/node/node_modules/playwright/lib/agents/playwright-test-healer.agent.md +0 -55
  47. data/node/node_modules/playwright/lib/agents/playwright-test-plan.prompt.md +0 -9
  48. data/node/node_modules/playwright/lib/agents/playwright-test-planner.agent.md +0 -73
  49. data/node/node_modules/playwright/lib/common/config.js +0 -282
  50. data/node/node_modules/playwright/lib/common/configLoader.js +0 -344
  51. data/node/node_modules/playwright/lib/common/esmLoaderHost.js +0 -104
  52. data/node/node_modules/playwright/lib/common/expectBundle.js +0 -28
  53. data/node/node_modules/playwright/lib/common/expectBundleImpl.js +0 -407
  54. data/node/node_modules/playwright/lib/common/fixtures.js +0 -302
  55. data/node/node_modules/playwright/lib/common/globals.js +0 -58
  56. data/node/node_modules/playwright/lib/common/ipc.js +0 -60
  57. data/node/node_modules/playwright/lib/common/poolBuilder.js +0 -85
  58. data/node/node_modules/playwright/lib/common/process.js +0 -132
  59. data/node/node_modules/playwright/lib/common/suiteUtils.js +0 -140
  60. data/node/node_modules/playwright/lib/common/test.js +0 -321
  61. data/node/node_modules/playwright/lib/common/testLoader.js +0 -101
  62. data/node/node_modules/playwright/lib/common/testType.js +0 -298
  63. data/node/node_modules/playwright/lib/common/validators.js +0 -68
  64. data/node/node_modules/playwright/lib/fsWatcher.js +0 -67
  65. data/node/node_modules/playwright/lib/index.js +0 -726
  66. data/node/node_modules/playwright/lib/internalsForTest.js +0 -42
  67. data/node/node_modules/playwright/lib/isomorphic/events.js +0 -77
  68. data/node/node_modules/playwright/lib/isomorphic/folders.js +0 -30
  69. data/node/node_modules/playwright/lib/isomorphic/stringInternPool.js +0 -69
  70. data/node/node_modules/playwright/lib/isomorphic/teleReceiver.js +0 -521
  71. data/node/node_modules/playwright/lib/isomorphic/teleSuiteUpdater.js +0 -157
  72. data/node/node_modules/playwright/lib/isomorphic/testServerConnection.js +0 -225
  73. data/node/node_modules/playwright/lib/isomorphic/testServerInterface.js +0 -16
  74. data/node/node_modules/playwright/lib/isomorphic/testTree.js +0 -329
  75. data/node/node_modules/playwright/lib/isomorphic/types.d.js +0 -16
  76. data/node/node_modules/playwright/lib/loader/loaderMain.js +0 -59
  77. data/node/node_modules/playwright/lib/matchers/expect.js +0 -311
  78. data/node/node_modules/playwright/lib/matchers/matcherHint.js +0 -44
  79. data/node/node_modules/playwright/lib/matchers/matchers.js +0 -383
  80. data/node/node_modules/playwright/lib/matchers/toBeTruthy.js +0 -75
  81. data/node/node_modules/playwright/lib/matchers/toEqual.js +0 -100
  82. data/node/node_modules/playwright/lib/matchers/toHaveURL.js +0 -101
  83. data/node/node_modules/playwright/lib/matchers/toMatchAriaSnapshot.js +0 -159
  84. data/node/node_modules/playwright/lib/matchers/toMatchSnapshot.js +0 -342
  85. data/node/node_modules/playwright/lib/matchers/toMatchText.js +0 -99
  86. data/node/node_modules/playwright/lib/mcp/browser/browserContextFactory.js +0 -329
  87. data/node/node_modules/playwright/lib/mcp/browser/browserServerBackend.js +0 -84
  88. data/node/node_modules/playwright/lib/mcp/browser/config.js +0 -421
  89. data/node/node_modules/playwright/lib/mcp/browser/context.js +0 -244
  90. data/node/node_modules/playwright/lib/mcp/browser/response.js +0 -278
  91. data/node/node_modules/playwright/lib/mcp/browser/sessionLog.js +0 -75
  92. data/node/node_modules/playwright/lib/mcp/browser/tab.js +0 -343
  93. data/node/node_modules/playwright/lib/mcp/browser/tools/common.js +0 -65
  94. data/node/node_modules/playwright/lib/mcp/browser/tools/console.js +0 -46
  95. data/node/node_modules/playwright/lib/mcp/browser/tools/dialogs.js +0 -60
  96. data/node/node_modules/playwright/lib/mcp/browser/tools/evaluate.js +0 -61
  97. data/node/node_modules/playwright/lib/mcp/browser/tools/files.js +0 -58
  98. data/node/node_modules/playwright/lib/mcp/browser/tools/form.js +0 -63
  99. data/node/node_modules/playwright/lib/mcp/browser/tools/install.js +0 -72
  100. data/node/node_modules/playwright/lib/mcp/browser/tools/keyboard.js +0 -107
  101. data/node/node_modules/playwright/lib/mcp/browser/tools/mouse.js +0 -107
  102. data/node/node_modules/playwright/lib/mcp/browser/tools/navigate.js +0 -71
  103. data/node/node_modules/playwright/lib/mcp/browser/tools/network.js +0 -63
  104. data/node/node_modules/playwright/lib/mcp/browser/tools/open.js +0 -57
  105. data/node/node_modules/playwright/lib/mcp/browser/tools/pdf.js +0 -49
  106. data/node/node_modules/playwright/lib/mcp/browser/tools/runCode.js +0 -78
  107. data/node/node_modules/playwright/lib/mcp/browser/tools/screenshot.js +0 -93
  108. data/node/node_modules/playwright/lib/mcp/browser/tools/snapshot.js +0 -173
  109. data/node/node_modules/playwright/lib/mcp/browser/tools/tabs.js +0 -67
  110. data/node/node_modules/playwright/lib/mcp/browser/tools/tool.js +0 -47
  111. data/node/node_modules/playwright/lib/mcp/browser/tools/tracing.js +0 -74
  112. data/node/node_modules/playwright/lib/mcp/browser/tools/utils.js +0 -94
  113. data/node/node_modules/playwright/lib/mcp/browser/tools/verify.js +0 -143
  114. data/node/node_modules/playwright/lib/mcp/browser/tools/wait.js +0 -63
  115. data/node/node_modules/playwright/lib/mcp/browser/tools.js +0 -84
  116. data/node/node_modules/playwright/lib/mcp/browser/watchdog.js +0 -44
  117. data/node/node_modules/playwright/lib/mcp/config.d.js +0 -16
  118. data/node/node_modules/playwright/lib/mcp/extension/cdpRelay.js +0 -351
  119. data/node/node_modules/playwright/lib/mcp/extension/extensionContextFactory.js +0 -76
  120. data/node/node_modules/playwright/lib/mcp/extension/protocol.js +0 -28
  121. data/node/node_modules/playwright/lib/mcp/index.js +0 -61
  122. data/node/node_modules/playwright/lib/mcp/log.js +0 -35
  123. data/node/node_modules/playwright/lib/mcp/program.js +0 -111
  124. data/node/node_modules/playwright/lib/mcp/sdk/exports.js +0 -28
  125. data/node/node_modules/playwright/lib/mcp/sdk/http.js +0 -152
  126. data/node/node_modules/playwright/lib/mcp/sdk/inProcessTransport.js +0 -71
  127. data/node/node_modules/playwright/lib/mcp/sdk/server.js +0 -223
  128. data/node/node_modules/playwright/lib/mcp/sdk/tool.js +0 -47
  129. data/node/node_modules/playwright/lib/mcp/terminal/cli.js +0 -296
  130. data/node/node_modules/playwright/lib/mcp/terminal/command.js +0 -56
  131. data/node/node_modules/playwright/lib/mcp/terminal/commands.js +0 -333
  132. data/node/node_modules/playwright/lib/mcp/terminal/daemon.js +0 -129
  133. data/node/node_modules/playwright/lib/mcp/terminal/help.json +0 -32
  134. data/node/node_modules/playwright/lib/mcp/terminal/helpGenerator.js +0 -88
  135. data/node/node_modules/playwright/lib/mcp/terminal/socketConnection.js +0 -80
  136. data/node/node_modules/playwright/lib/mcp/test/browserBackend.js +0 -98
  137. data/node/node_modules/playwright/lib/mcp/test/generatorTools.js +0 -122
  138. data/node/node_modules/playwright/lib/mcp/test/plannerTools.js +0 -145
  139. data/node/node_modules/playwright/lib/mcp/test/seed.js +0 -82
  140. data/node/node_modules/playwright/lib/mcp/test/streams.js +0 -44
  141. data/node/node_modules/playwright/lib/mcp/test/testBackend.js +0 -99
  142. data/node/node_modules/playwright/lib/mcp/test/testContext.js +0 -285
  143. data/node/node_modules/playwright/lib/mcp/test/testTool.js +0 -30
  144. data/node/node_modules/playwright/lib/mcp/test/testTools.js +0 -108
  145. data/node/node_modules/playwright/lib/plugins/gitCommitInfoPlugin.js +0 -198
  146. data/node/node_modules/playwright/lib/plugins/index.js +0 -28
  147. data/node/node_modules/playwright/lib/plugins/webServerPlugin.js +0 -237
  148. data/node/node_modules/playwright/lib/program.js +0 -417
  149. data/node/node_modules/playwright/lib/reporters/base.js +0 -634
  150. data/node/node_modules/playwright/lib/reporters/blob.js +0 -138
  151. data/node/node_modules/playwright/lib/reporters/dot.js +0 -99
  152. data/node/node_modules/playwright/lib/reporters/empty.js +0 -32
  153. data/node/node_modules/playwright/lib/reporters/github.js +0 -128
  154. data/node/node_modules/playwright/lib/reporters/html.js +0 -633
  155. data/node/node_modules/playwright/lib/reporters/internalReporter.js +0 -138
  156. data/node/node_modules/playwright/lib/reporters/json.js +0 -254
  157. data/node/node_modules/playwright/lib/reporters/junit.js +0 -232
  158. data/node/node_modules/playwright/lib/reporters/line.js +0 -131
  159. data/node/node_modules/playwright/lib/reporters/list.js +0 -253
  160. data/node/node_modules/playwright/lib/reporters/listModeReporter.js +0 -69
  161. data/node/node_modules/playwright/lib/reporters/markdown.js +0 -144
  162. data/node/node_modules/playwright/lib/reporters/merge.js +0 -558
  163. data/node/node_modules/playwright/lib/reporters/multiplexer.js +0 -112
  164. data/node/node_modules/playwright/lib/reporters/reporterV2.js +0 -102
  165. data/node/node_modules/playwright/lib/reporters/teleEmitter.js +0 -317
  166. data/node/node_modules/playwright/lib/reporters/versions/blobV1.js +0 -16
  167. data/node/node_modules/playwright/lib/runner/dispatcher.js +0 -530
  168. data/node/node_modules/playwright/lib/runner/failureTracker.js +0 -72
  169. data/node/node_modules/playwright/lib/runner/lastRun.js +0 -77
  170. data/node/node_modules/playwright/lib/runner/loadUtils.js +0 -334
  171. data/node/node_modules/playwright/lib/runner/loaderHost.js +0 -89
  172. data/node/node_modules/playwright/lib/runner/processHost.js +0 -180
  173. data/node/node_modules/playwright/lib/runner/projectUtils.js +0 -241
  174. data/node/node_modules/playwright/lib/runner/rebase.js +0 -189
  175. data/node/node_modules/playwright/lib/runner/reporters.js +0 -138
  176. data/node/node_modules/playwright/lib/runner/sigIntWatcher.js +0 -96
  177. data/node/node_modules/playwright/lib/runner/storage.js +0 -91
  178. data/node/node_modules/playwright/lib/runner/taskRunner.js +0 -127
  179. data/node/node_modules/playwright/lib/runner/tasks.js +0 -410
  180. data/node/node_modules/playwright/lib/runner/testGroups.js +0 -125
  181. data/node/node_modules/playwright/lib/runner/testRunner.js +0 -398
  182. data/node/node_modules/playwright/lib/runner/testServer.js +0 -269
  183. data/node/node_modules/playwright/lib/runner/uiModeReporter.js +0 -30
  184. data/node/node_modules/playwright/lib/runner/vcs.js +0 -72
  185. data/node/node_modules/playwright/lib/runner/watchMode.js +0 -396
  186. data/node/node_modules/playwright/lib/runner/workerHost.js +0 -104
  187. data/node/node_modules/playwright/lib/third_party/pirates.js +0 -62
  188. data/node/node_modules/playwright/lib/third_party/tsconfig-loader.js +0 -103
  189. data/node/node_modules/playwright/lib/transform/babelBundle.js +0 -46
  190. data/node/node_modules/playwright/lib/transform/babelBundleImpl.js +0 -461
  191. data/node/node_modules/playwright/lib/transform/compilationCache.js +0 -274
  192. data/node/node_modules/playwright/lib/transform/esmLoader.js +0 -103
  193. data/node/node_modules/playwright/lib/transform/md.js +0 -221
  194. data/node/node_modules/playwright/lib/transform/portTransport.js +0 -67
  195. data/node/node_modules/playwright/lib/transform/transform.js +0 -303
  196. data/node/node_modules/playwright/lib/util.js +0 -400
  197. data/node/node_modules/playwright/lib/utilsBundle.js +0 -50
  198. data/node/node_modules/playwright/lib/utilsBundleImpl.js +0 -103
  199. data/node/node_modules/playwright/lib/worker/fixtureRunner.js +0 -262
  200. data/node/node_modules/playwright/lib/worker/testInfo.js +0 -536
  201. data/node/node_modules/playwright/lib/worker/testTracing.js +0 -345
  202. data/node/node_modules/playwright/lib/worker/timeoutManager.js +0 -174
  203. data/node/node_modules/playwright/lib/worker/util.js +0 -31
  204. data/node/node_modules/playwright/lib/worker/workerMain.js +0 -530
  205. data/node/node_modules/playwright/package.json +0 -72
  206. data/node/node_modules/playwright/test.d.ts +0 -18
  207. data/node/node_modules/playwright/test.js +0 -24
  208. data/node/node_modules/playwright/test.mjs +0 -34
  209. data/node/node_modules/playwright/types/test.d.ts +0 -10251
  210. data/node/node_modules/playwright/types/testReporter.d.ts +0 -822
  211. data/node/node_modules/playwright-core/LICENSE +0 -202
  212. data/node/node_modules/playwright-core/NOTICE +0 -5
  213. data/node/node_modules/playwright-core/README.md +0 -3
  214. data/node/node_modules/playwright-core/ThirdPartyNotices.txt +0 -4076
  215. data/node/node_modules/playwright-core/bin/install_media_pack.ps1 +0 -5
  216. data/node/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +0 -33
  217. data/node/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +0 -42
  218. data/node/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +0 -13
  219. data/node/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +0 -24
  220. data/node/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +0 -42
  221. data/node/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +0 -12
  222. data/node/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +0 -24
  223. data/node/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +0 -48
  224. data/node/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +0 -11
  225. data/node/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +0 -23
  226. data/node/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +0 -48
  227. data/node/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +0 -11
  228. data/node/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +0 -23
  229. data/node/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +0 -48
  230. data/node/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +0 -11
  231. data/node/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +0 -24
  232. data/node/node_modules/playwright-core/browsers.json +0 -79
  233. data/node/node_modules/playwright-core/cli.js +0 -18
  234. data/node/node_modules/playwright-core/index.d.ts +0 -17
  235. data/node/node_modules/playwright-core/index.js +0 -32
  236. data/node/node_modules/playwright-core/index.mjs +0 -28
  237. data/node/node_modules/playwright-core/lib/androidServerImpl.js +0 -65
  238. data/node/node_modules/playwright-core/lib/browserServerImpl.js +0 -120
  239. data/node/node_modules/playwright-core/lib/cli/driver.js +0 -97
  240. data/node/node_modules/playwright-core/lib/cli/program.js +0 -589
  241. data/node/node_modules/playwright-core/lib/cli/programWithTestStub.js +0 -74
  242. data/node/node_modules/playwright-core/lib/client/android.js +0 -361
  243. data/node/node_modules/playwright-core/lib/client/api.js +0 -137
  244. data/node/node_modules/playwright-core/lib/client/artifact.js +0 -79
  245. data/node/node_modules/playwright-core/lib/client/browser.js +0 -161
  246. data/node/node_modules/playwright-core/lib/client/browserContext.js +0 -582
  247. data/node/node_modules/playwright-core/lib/client/browserType.js +0 -185
  248. data/node/node_modules/playwright-core/lib/client/cdpSession.js +0 -51
  249. data/node/node_modules/playwright-core/lib/client/channelOwner.js +0 -194
  250. data/node/node_modules/playwright-core/lib/client/clientHelper.js +0 -64
  251. data/node/node_modules/playwright-core/lib/client/clientInstrumentation.js +0 -55
  252. data/node/node_modules/playwright-core/lib/client/clientStackTrace.js +0 -69
  253. data/node/node_modules/playwright-core/lib/client/clock.js +0 -68
  254. data/node/node_modules/playwright-core/lib/client/connection.js +0 -318
  255. data/node/node_modules/playwright-core/lib/client/consoleMessage.js +0 -58
  256. data/node/node_modules/playwright-core/lib/client/coverage.js +0 -44
  257. data/node/node_modules/playwright-core/lib/client/dialog.js +0 -56
  258. data/node/node_modules/playwright-core/lib/client/download.js +0 -62
  259. data/node/node_modules/playwright-core/lib/client/electron.js +0 -138
  260. data/node/node_modules/playwright-core/lib/client/elementHandle.js +0 -284
  261. data/node/node_modules/playwright-core/lib/client/errors.js +0 -77
  262. data/node/node_modules/playwright-core/lib/client/eventEmitter.js +0 -314
  263. data/node/node_modules/playwright-core/lib/client/events.js +0 -103
  264. data/node/node_modules/playwright-core/lib/client/fetch.js +0 -368
  265. data/node/node_modules/playwright-core/lib/client/fileChooser.js +0 -46
  266. data/node/node_modules/playwright-core/lib/client/fileUtils.js +0 -34
  267. data/node/node_modules/playwright-core/lib/client/frame.js +0 -409
  268. data/node/node_modules/playwright-core/lib/client/harRouter.js +0 -87
  269. data/node/node_modules/playwright-core/lib/client/input.js +0 -84
  270. data/node/node_modules/playwright-core/lib/client/jsHandle.js +0 -109
  271. data/node/node_modules/playwright-core/lib/client/jsonPipe.js +0 -39
  272. data/node/node_modules/playwright-core/lib/client/localUtils.js +0 -60
  273. data/node/node_modules/playwright-core/lib/client/locator.js +0 -369
  274. data/node/node_modules/playwright-core/lib/client/network.js +0 -747
  275. data/node/node_modules/playwright-core/lib/client/page.js +0 -745
  276. data/node/node_modules/playwright-core/lib/client/pageAgent.js +0 -64
  277. data/node/node_modules/playwright-core/lib/client/platform.js +0 -77
  278. data/node/node_modules/playwright-core/lib/client/playwright.js +0 -71
  279. data/node/node_modules/playwright-core/lib/client/selectors.js +0 -55
  280. data/node/node_modules/playwright-core/lib/client/stream.js +0 -39
  281. data/node/node_modules/playwright-core/lib/client/timeoutSettings.js +0 -79
  282. data/node/node_modules/playwright-core/lib/client/tracing.js +0 -119
  283. data/node/node_modules/playwright-core/lib/client/types.js +0 -28
  284. data/node/node_modules/playwright-core/lib/client/video.js +0 -59
  285. data/node/node_modules/playwright-core/lib/client/waiter.js +0 -142
  286. data/node/node_modules/playwright-core/lib/client/webError.js +0 -39
  287. data/node/node_modules/playwright-core/lib/client/webSocket.js +0 -93
  288. data/node/node_modules/playwright-core/lib/client/worker.js +0 -85
  289. data/node/node_modules/playwright-core/lib/client/writableStream.js +0 -39
  290. data/node/node_modules/playwright-core/lib/generated/bindingsControllerSource.js +0 -28
  291. data/node/node_modules/playwright-core/lib/generated/clockSource.js +0 -28
  292. data/node/node_modules/playwright-core/lib/generated/injectedScriptSource.js +0 -28
  293. data/node/node_modules/playwright-core/lib/generated/pollingRecorderSource.js +0 -28
  294. data/node/node_modules/playwright-core/lib/generated/storageScriptSource.js +0 -28
  295. data/node/node_modules/playwright-core/lib/generated/utilityScriptSource.js +0 -28
  296. data/node/node_modules/playwright-core/lib/generated/webSocketMockSource.js +0 -336
  297. data/node/node_modules/playwright-core/lib/inProcessFactory.js +0 -60
  298. data/node/node_modules/playwright-core/lib/inprocess.js +0 -3
  299. data/node/node_modules/playwright-core/lib/mcpBundle.js +0 -84
  300. data/node/node_modules/playwright-core/lib/mcpBundleImpl/index.js +0 -147
  301. data/node/node_modules/playwright-core/lib/outofprocess.js +0 -76
  302. data/node/node_modules/playwright-core/lib/protocol/serializers.js +0 -197
  303. data/node/node_modules/playwright-core/lib/protocol/validator.js +0 -2969
  304. data/node/node_modules/playwright-core/lib/protocol/validatorPrimitives.js +0 -193
  305. data/node/node_modules/playwright-core/lib/remote/playwrightConnection.js +0 -129
  306. data/node/node_modules/playwright-core/lib/remote/playwrightServer.js +0 -334
  307. data/node/node_modules/playwright-core/lib/server/agent/actionRunner.js +0 -335
  308. data/node/node_modules/playwright-core/lib/server/agent/actions.js +0 -128
  309. data/node/node_modules/playwright-core/lib/server/agent/codegen.js +0 -111
  310. data/node/node_modules/playwright-core/lib/server/agent/context.js +0 -150
  311. data/node/node_modules/playwright-core/lib/server/agent/expectTools.js +0 -156
  312. data/node/node_modules/playwright-core/lib/server/agent/pageAgent.js +0 -204
  313. data/node/node_modules/playwright-core/lib/server/agent/performTools.js +0 -262
  314. data/node/node_modules/playwright-core/lib/server/agent/tool.js +0 -109
  315. data/node/node_modules/playwright-core/lib/server/android/android.js +0 -465
  316. data/node/node_modules/playwright-core/lib/server/android/backendAdb.js +0 -177
  317. data/node/node_modules/playwright-core/lib/server/artifact.js +0 -127
  318. data/node/node_modules/playwright-core/lib/server/bidi/bidiBrowser.js +0 -549
  319. data/node/node_modules/playwright-core/lib/server/bidi/bidiChromium.js +0 -148
  320. data/node/node_modules/playwright-core/lib/server/bidi/bidiConnection.js +0 -213
  321. data/node/node_modules/playwright-core/lib/server/bidi/bidiDeserializer.js +0 -116
  322. data/node/node_modules/playwright-core/lib/server/bidi/bidiExecutionContext.js +0 -267
  323. data/node/node_modules/playwright-core/lib/server/bidi/bidiFirefox.js +0 -128
  324. data/node/node_modules/playwright-core/lib/server/bidi/bidiInput.js +0 -146
  325. data/node/node_modules/playwright-core/lib/server/bidi/bidiNetworkManager.js +0 -383
  326. data/node/node_modules/playwright-core/lib/server/bidi/bidiOverCdp.js +0 -102
  327. data/node/node_modules/playwright-core/lib/server/bidi/bidiPage.js +0 -583
  328. data/node/node_modules/playwright-core/lib/server/bidi/bidiPdf.js +0 -106
  329. data/node/node_modules/playwright-core/lib/server/bidi/third_party/bidiCommands.d.js +0 -22
  330. data/node/node_modules/playwright-core/lib/server/bidi/third_party/bidiKeyboard.js +0 -256
  331. data/node/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocol.js +0 -24
  332. data/node/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolCore.js +0 -180
  333. data/node/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolPermissions.js +0 -42
  334. data/node/node_modules/playwright-core/lib/server/bidi/third_party/bidiSerializer.js +0 -148
  335. data/node/node_modules/playwright-core/lib/server/bidi/third_party/firefoxPrefs.js +0 -259
  336. data/node/node_modules/playwright-core/lib/server/browser.js +0 -149
  337. data/node/node_modules/playwright-core/lib/server/browserContext.js +0 -702
  338. data/node/node_modules/playwright-core/lib/server/browserType.js +0 -336
  339. data/node/node_modules/playwright-core/lib/server/callLog.js +0 -82
  340. data/node/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
  341. data/node/node_modules/playwright-core/lib/server/chromium/chromium.js +0 -395
  342. data/node/node_modules/playwright-core/lib/server/chromium/chromiumSwitches.js +0 -104
  343. data/node/node_modules/playwright-core/lib/server/chromium/crBrowser.js +0 -511
  344. data/node/node_modules/playwright-core/lib/server/chromium/crConnection.js +0 -197
  345. data/node/node_modules/playwright-core/lib/server/chromium/crCoverage.js +0 -235
  346. data/node/node_modules/playwright-core/lib/server/chromium/crDevTools.js +0 -111
  347. data/node/node_modules/playwright-core/lib/server/chromium/crDragDrop.js +0 -131
  348. data/node/node_modules/playwright-core/lib/server/chromium/crExecutionContext.js +0 -146
  349. data/node/node_modules/playwright-core/lib/server/chromium/crInput.js +0 -187
  350. data/node/node_modules/playwright-core/lib/server/chromium/crNetworkManager.js +0 -707
  351. data/node/node_modules/playwright-core/lib/server/chromium/crPage.js +0 -1001
  352. data/node/node_modules/playwright-core/lib/server/chromium/crPdf.js +0 -121
  353. data/node/node_modules/playwright-core/lib/server/chromium/crProtocolHelper.js +0 -145
  354. data/node/node_modules/playwright-core/lib/server/chromium/crServiceWorker.js +0 -136
  355. data/node/node_modules/playwright-core/lib/server/chromium/defaultFontFamilies.js +0 -162
  356. data/node/node_modules/playwright-core/lib/server/chromium/protocol.d.js +0 -16
  357. data/node/node_modules/playwright-core/lib/server/clock.js +0 -149
  358. data/node/node_modules/playwright-core/lib/server/codegen/csharp.js +0 -327
  359. data/node/node_modules/playwright-core/lib/server/codegen/java.js +0 -274
  360. data/node/node_modules/playwright-core/lib/server/codegen/javascript.js +0 -247
  361. data/node/node_modules/playwright-core/lib/server/codegen/jsonl.js +0 -52
  362. data/node/node_modules/playwright-core/lib/server/codegen/language.js +0 -132
  363. data/node/node_modules/playwright-core/lib/server/codegen/languages.js +0 -68
  364. data/node/node_modules/playwright-core/lib/server/codegen/python.js +0 -279
  365. data/node/node_modules/playwright-core/lib/server/codegen/types.js +0 -16
  366. data/node/node_modules/playwright-core/lib/server/console.js +0 -57
  367. data/node/node_modules/playwright-core/lib/server/cookieStore.js +0 -206
  368. data/node/node_modules/playwright-core/lib/server/debugController.js +0 -191
  369. data/node/node_modules/playwright-core/lib/server/debugger.js +0 -119
  370. data/node/node_modules/playwright-core/lib/server/deviceDescriptors.js +0 -39
  371. data/node/node_modules/playwright-core/lib/server/deviceDescriptorsSource.json +0 -1779
  372. data/node/node_modules/playwright-core/lib/server/dialog.js +0 -116
  373. data/node/node_modules/playwright-core/lib/server/dispatchers/androidDispatcher.js +0 -325
  374. data/node/node_modules/playwright-core/lib/server/dispatchers/artifactDispatcher.js +0 -118
  375. data/node/node_modules/playwright-core/lib/server/dispatchers/browserContextDispatcher.js +0 -384
  376. data/node/node_modules/playwright-core/lib/server/dispatchers/browserDispatcher.js +0 -118
  377. data/node/node_modules/playwright-core/lib/server/dispatchers/browserTypeDispatcher.js +0 -64
  378. data/node/node_modules/playwright-core/lib/server/dispatchers/cdpSessionDispatcher.js +0 -44
  379. data/node/node_modules/playwright-core/lib/server/dispatchers/debugControllerDispatcher.js +0 -78
  380. data/node/node_modules/playwright-core/lib/server/dispatchers/dialogDispatcher.js +0 -47
  381. data/node/node_modules/playwright-core/lib/server/dispatchers/dispatcher.js +0 -364
  382. data/node/node_modules/playwright-core/lib/server/dispatchers/electronDispatcher.js +0 -89
  383. data/node/node_modules/playwright-core/lib/server/dispatchers/elementHandlerDispatcher.js +0 -181
  384. data/node/node_modules/playwright-core/lib/server/dispatchers/frameDispatcher.js +0 -227
  385. data/node/node_modules/playwright-core/lib/server/dispatchers/jsHandleDispatcher.js +0 -85
  386. data/node/node_modules/playwright-core/lib/server/dispatchers/jsonPipeDispatcher.js +0 -58
  387. data/node/node_modules/playwright-core/lib/server/dispatchers/localUtilsDispatcher.js +0 -149
  388. data/node/node_modules/playwright-core/lib/server/dispatchers/networkDispatchers.js +0 -213
  389. data/node/node_modules/playwright-core/lib/server/dispatchers/pageAgentDispatcher.js +0 -96
  390. data/node/node_modules/playwright-core/lib/server/dispatchers/pageDispatcher.js +0 -393
  391. data/node/node_modules/playwright-core/lib/server/dispatchers/playwrightDispatcher.js +0 -108
  392. data/node/node_modules/playwright-core/lib/server/dispatchers/streamDispatcher.js +0 -67
  393. data/node/node_modules/playwright-core/lib/server/dispatchers/tracingDispatcher.js +0 -68
  394. data/node/node_modules/playwright-core/lib/server/dispatchers/webSocketRouteDispatcher.js +0 -165
  395. data/node/node_modules/playwright-core/lib/server/dispatchers/writableStreamDispatcher.js +0 -79
  396. data/node/node_modules/playwright-core/lib/server/dom.js +0 -815
  397. data/node/node_modules/playwright-core/lib/server/download.js +0 -70
  398. data/node/node_modules/playwright-core/lib/server/electron/electron.js +0 -273
  399. data/node/node_modules/playwright-core/lib/server/electron/loader.js +0 -29
  400. data/node/node_modules/playwright-core/lib/server/errors.js +0 -69
  401. data/node/node_modules/playwright-core/lib/server/fetch.js +0 -621
  402. data/node/node_modules/playwright-core/lib/server/fileChooser.js +0 -43
  403. data/node/node_modules/playwright-core/lib/server/fileUploadUtils.js +0 -84
  404. data/node/node_modules/playwright-core/lib/server/firefox/ffBrowser.js +0 -418
  405. data/node/node_modules/playwright-core/lib/server/firefox/ffConnection.js +0 -142
  406. data/node/node_modules/playwright-core/lib/server/firefox/ffExecutionContext.js +0 -150
  407. data/node/node_modules/playwright-core/lib/server/firefox/ffInput.js +0 -159
  408. data/node/node_modules/playwright-core/lib/server/firefox/ffNetworkManager.js +0 -256
  409. data/node/node_modules/playwright-core/lib/server/firefox/ffPage.js +0 -497
  410. data/node/node_modules/playwright-core/lib/server/firefox/firefox.js +0 -114
  411. data/node/node_modules/playwright-core/lib/server/firefox/protocol.d.js +0 -16
  412. data/node/node_modules/playwright-core/lib/server/formData.js +0 -147
  413. data/node/node_modules/playwright-core/lib/server/frameSelectors.js +0 -160
  414. data/node/node_modules/playwright-core/lib/server/frames.js +0 -1471
  415. data/node/node_modules/playwright-core/lib/server/har/harRecorder.js +0 -147
  416. data/node/node_modules/playwright-core/lib/server/har/harTracer.js +0 -607
  417. data/node/node_modules/playwright-core/lib/server/harBackend.js +0 -157
  418. data/node/node_modules/playwright-core/lib/server/helper.js +0 -96
  419. data/node/node_modules/playwright-core/lib/server/index.js +0 -58
  420. data/node/node_modules/playwright-core/lib/server/input.js +0 -277
  421. data/node/node_modules/playwright-core/lib/server/instrumentation.js +0 -72
  422. data/node/node_modules/playwright-core/lib/server/javascript.js +0 -291
  423. data/node/node_modules/playwright-core/lib/server/launchApp.js +0 -128
  424. data/node/node_modules/playwright-core/lib/server/localUtils.js +0 -214
  425. data/node/node_modules/playwright-core/lib/server/macEditingCommands.js +0 -143
  426. data/node/node_modules/playwright-core/lib/server/network.js +0 -667
  427. data/node/node_modules/playwright-core/lib/server/page.js +0 -830
  428. data/node/node_modules/playwright-core/lib/server/pipeTransport.js +0 -89
  429. data/node/node_modules/playwright-core/lib/server/playwright.js +0 -69
  430. data/node/node_modules/playwright-core/lib/server/progress.js +0 -132
  431. data/node/node_modules/playwright-core/lib/server/protocolError.js +0 -52
  432. data/node/node_modules/playwright-core/lib/server/recorder/chat.js +0 -161
  433. data/node/node_modules/playwright-core/lib/server/recorder/recorderApp.js +0 -366
  434. data/node/node_modules/playwright-core/lib/server/recorder/recorderRunner.js +0 -138
  435. data/node/node_modules/playwright-core/lib/server/recorder/recorderSignalProcessor.js +0 -83
  436. data/node/node_modules/playwright-core/lib/server/recorder/recorderUtils.js +0 -157
  437. data/node/node_modules/playwright-core/lib/server/recorder/throttledFile.js +0 -57
  438. data/node/node_modules/playwright-core/lib/server/recorder.js +0 -499
  439. data/node/node_modules/playwright-core/lib/server/registry/browserFetcher.js +0 -177
  440. data/node/node_modules/playwright-core/lib/server/registry/dependencies.js +0 -371
  441. data/node/node_modules/playwright-core/lib/server/registry/index.js +0 -1422
  442. data/node/node_modules/playwright-core/lib/server/registry/nativeDeps.js +0 -1280
  443. data/node/node_modules/playwright-core/lib/server/registry/oopDownloadBrowserMain.js +0 -127
  444. data/node/node_modules/playwright-core/lib/server/screencast.js +0 -190
  445. data/node/node_modules/playwright-core/lib/server/screenshotter.js +0 -333
  446. data/node/node_modules/playwright-core/lib/server/selectors.js +0 -112
  447. data/node/node_modules/playwright-core/lib/server/socksClientCertificatesInterceptor.js +0 -383
  448. data/node/node_modules/playwright-core/lib/server/socksInterceptor.js +0 -95
  449. data/node/node_modules/playwright-core/lib/server/trace/recorder/snapshotter.js +0 -147
  450. data/node/node_modules/playwright-core/lib/server/trace/recorder/snapshotterInjected.js +0 -561
  451. data/node/node_modules/playwright-core/lib/server/trace/recorder/tracing.js +0 -604
  452. data/node/node_modules/playwright-core/lib/server/trace/viewer/traceParser.js +0 -72
  453. data/node/node_modules/playwright-core/lib/server/trace/viewer/traceViewer.js +0 -245
  454. data/node/node_modules/playwright-core/lib/server/transport.js +0 -181
  455. data/node/node_modules/playwright-core/lib/server/types.js +0 -28
  456. data/node/node_modules/playwright-core/lib/server/usKeyboardLayout.js +0 -145
  457. data/node/node_modules/playwright-core/lib/server/utils/ascii.js +0 -44
  458. data/node/node_modules/playwright-core/lib/server/utils/comparators.js +0 -139
  459. data/node/node_modules/playwright-core/lib/server/utils/crypto.js +0 -216
  460. data/node/node_modules/playwright-core/lib/server/utils/debug.js +0 -42
  461. data/node/node_modules/playwright-core/lib/server/utils/debugLogger.js +0 -122
  462. data/node/node_modules/playwright-core/lib/server/utils/env.js +0 -73
  463. data/node/node_modules/playwright-core/lib/server/utils/eventsHelper.js +0 -39
  464. data/node/node_modules/playwright-core/lib/server/utils/expectUtils.js +0 -123
  465. data/node/node_modules/playwright-core/lib/server/utils/fileUtils.js +0 -191
  466. data/node/node_modules/playwright-core/lib/server/utils/happyEyeballs.js +0 -207
  467. data/node/node_modules/playwright-core/lib/server/utils/hostPlatform.js +0 -123
  468. data/node/node_modules/playwright-core/lib/server/utils/httpServer.js +0 -203
  469. data/node/node_modules/playwright-core/lib/server/utils/imageUtils.js +0 -141
  470. data/node/node_modules/playwright-core/lib/server/utils/image_tools/colorUtils.js +0 -89
  471. data/node/node_modules/playwright-core/lib/server/utils/image_tools/compare.js +0 -109
  472. data/node/node_modules/playwright-core/lib/server/utils/image_tools/imageChannel.js +0 -78
  473. data/node/node_modules/playwright-core/lib/server/utils/image_tools/stats.js +0 -102
  474. data/node/node_modules/playwright-core/lib/server/utils/linuxUtils.js +0 -71
  475. data/node/node_modules/playwright-core/lib/server/utils/network.js +0 -242
  476. data/node/node_modules/playwright-core/lib/server/utils/nodePlatform.js +0 -154
  477. data/node/node_modules/playwright-core/lib/server/utils/pipeTransport.js +0 -84
  478. data/node/node_modules/playwright-core/lib/server/utils/processLauncher.js +0 -241
  479. data/node/node_modules/playwright-core/lib/server/utils/profiler.js +0 -65
  480. data/node/node_modules/playwright-core/lib/server/utils/socksProxy.js +0 -511
  481. data/node/node_modules/playwright-core/lib/server/utils/spawnAsync.js +0 -41
  482. data/node/node_modules/playwright-core/lib/server/utils/task.js +0 -51
  483. data/node/node_modules/playwright-core/lib/server/utils/userAgent.js +0 -98
  484. data/node/node_modules/playwright-core/lib/server/utils/wsServer.js +0 -121
  485. data/node/node_modules/playwright-core/lib/server/utils/zipFile.js +0 -74
  486. data/node/node_modules/playwright-core/lib/server/utils/zones.js +0 -57
  487. data/node/node_modules/playwright-core/lib/server/videoRecorder.js +0 -124
  488. data/node/node_modules/playwright-core/lib/server/webkit/protocol.d.js +0 -16
  489. data/node/node_modules/playwright-core/lib/server/webkit/webkit.js +0 -108
  490. data/node/node_modules/playwright-core/lib/server/webkit/wkBrowser.js +0 -335
  491. data/node/node_modules/playwright-core/lib/server/webkit/wkConnection.js +0 -144
  492. data/node/node_modules/playwright-core/lib/server/webkit/wkExecutionContext.js +0 -154
  493. data/node/node_modules/playwright-core/lib/server/webkit/wkInput.js +0 -181
  494. data/node/node_modules/playwright-core/lib/server/webkit/wkInterceptableRequest.js +0 -197
  495. data/node/node_modules/playwright-core/lib/server/webkit/wkPage.js +0 -1158
  496. data/node/node_modules/playwright-core/lib/server/webkit/wkProvisionalPage.js +0 -83
  497. data/node/node_modules/playwright-core/lib/server/webkit/wkWorkers.js +0 -105
  498. data/node/node_modules/playwright-core/lib/third_party/pixelmatch.js +0 -255
  499. data/node/node_modules/playwright-core/lib/utils/isomorphic/ariaSnapshot.js +0 -455
  500. data/node/node_modules/playwright-core/lib/utils/isomorphic/assert.js +0 -31
  501. data/node/node_modules/playwright-core/lib/utils/isomorphic/colors.js +0 -72
  502. data/node/node_modules/playwright-core/lib/utils/isomorphic/cssParser.js +0 -245
  503. data/node/node_modules/playwright-core/lib/utils/isomorphic/cssTokenizer.js +0 -1051
  504. data/node/node_modules/playwright-core/lib/utils/isomorphic/headers.js +0 -53
  505. data/node/node_modules/playwright-core/lib/utils/isomorphic/locatorGenerators.js +0 -689
  506. data/node/node_modules/playwright-core/lib/utils/isomorphic/locatorParser.js +0 -176
  507. data/node/node_modules/playwright-core/lib/utils/isomorphic/locatorUtils.js +0 -81
  508. data/node/node_modules/playwright-core/lib/utils/isomorphic/lruCache.js +0 -51
  509. data/node/node_modules/playwright-core/lib/utils/isomorphic/manualPromise.js +0 -114
  510. data/node/node_modules/playwright-core/lib/utils/isomorphic/mimeType.js +0 -459
  511. data/node/node_modules/playwright-core/lib/utils/isomorphic/multimap.js +0 -80
  512. data/node/node_modules/playwright-core/lib/utils/isomorphic/protocolFormatter.js +0 -81
  513. data/node/node_modules/playwright-core/lib/utils/isomorphic/protocolMetainfo.js +0 -330
  514. data/node/node_modules/playwright-core/lib/utils/isomorphic/rtti.js +0 -43
  515. data/node/node_modules/playwright-core/lib/utils/isomorphic/selectorParser.js +0 -386
  516. data/node/node_modules/playwright-core/lib/utils/isomorphic/semaphore.js +0 -54
  517. data/node/node_modules/playwright-core/lib/utils/isomorphic/stackTrace.js +0 -158
  518. data/node/node_modules/playwright-core/lib/utils/isomorphic/stringUtils.js +0 -204
  519. data/node/node_modules/playwright-core/lib/utils/isomorphic/time.js +0 -49
  520. data/node/node_modules/playwright-core/lib/utils/isomorphic/timeoutRunner.js +0 -66
  521. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/entries.js +0 -16
  522. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotRenderer.js +0 -499
  523. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotServer.js +0 -120
  524. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotStorage.js +0 -89
  525. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/traceLoader.js +0 -131
  526. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/traceModel.js +0 -365
  527. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/traceModernizer.js +0 -400
  528. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV3.js +0 -16
  529. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV4.js +0 -16
  530. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV5.js +0 -16
  531. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV6.js +0 -16
  532. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV7.js +0 -16
  533. data/node/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV8.js +0 -16
  534. data/node/node_modules/playwright-core/lib/utils/isomorphic/traceUtils.js +0 -58
  535. data/node/node_modules/playwright-core/lib/utils/isomorphic/types.js +0 -16
  536. data/node/node_modules/playwright-core/lib/utils/isomorphic/urlMatch.js +0 -190
  537. data/node/node_modules/playwright-core/lib/utils/isomorphic/utilityScriptSerializers.js +0 -251
  538. data/node/node_modules/playwright-core/lib/utils/isomorphic/yaml.js +0 -84
  539. data/node/node_modules/playwright-core/lib/utils.js +0 -111
  540. data/node/node_modules/playwright-core/lib/utilsBundle.js +0 -109
  541. data/node/node_modules/playwright-core/lib/utilsBundleImpl/index.js +0 -218
  542. data/node/node_modules/playwright-core/lib/utilsBundleImpl/xdg-open +0 -1066
  543. data/node/node_modules/playwright-core/lib/vite/htmlReport/index.html +0 -84
  544. data/node/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DYBRYzYX.css +0 -1
  545. data/node/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DadYNm1I.js +0 -32
  546. data/node/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
  547. data/node/node_modules/playwright-core/lib/vite/recorder/assets/index-BSjZa4pk.css +0 -1
  548. data/node/node_modules/playwright-core/lib/vite/recorder/assets/index-BhTWtUlo.js +0 -193
  549. data/node/node_modules/playwright-core/lib/vite/recorder/index.html +0 -29
  550. data/node/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +0 -9
  551. data/node/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-a5XoALAZ.js +0 -32
  552. data/node/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-CJSZINFr.js +0 -266
  553. data/node/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-CsJ4vdCR.js +0 -9
  554. data/node/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.DYBRYzYX.css +0 -1
  555. data/node/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
  556. data/node/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.7ch9cixO.css +0 -1
  557. data/node/node_modules/playwright-core/lib/vite/traceViewer/index.BVu7tZDe.css +0 -1
  558. data/node/node_modules/playwright-core/lib/vite/traceViewer/index.Bk2uYQRV.js +0 -2
  559. data/node/node_modules/playwright-core/lib/vite/traceViewer/index.html +0 -43
  560. data/node/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +0 -16
  561. data/node/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +0 -9
  562. data/node/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +0 -21
  563. data/node/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +0 -5
  564. data/node/node_modules/playwright-core/lib/vite/traceViewer/uiMode.Btcz36p_.css +0 -1
  565. data/node/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CQJ9SCIQ.js +0 -5
  566. data/node/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +0 -17
  567. data/node/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.DYP7pi_n.css +0 -32
  568. data/node/node_modules/playwright-core/lib/zipBundle.js +0 -34
  569. data/node/node_modules/playwright-core/lib/zipBundleImpl.js +0 -5
  570. data/node/node_modules/playwright-core/package.json +0 -43
  571. data/node/node_modules/playwright-core/types/protocol.d.ts +0 -23824
  572. data/node/node_modules/playwright-core/types/structs.d.ts +0 -45
  573. data/node/node_modules/playwright-core/types/types.d.ts +0 -22843
  574. data/node/package-lock.json +0 -72
  575. data/node/package.json +0 -14
  576. data/node/src/index.js +0 -215
  577. data/spec/rubycrawl_spec.rb +0 -51
  578. 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
-