chrome-devtools-frontend 1.0.1037221 → 1.0.1038113

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 (373) hide show
  1. package/config/gni/devtools_grd_files.gni +9 -2
  2. package/front_end/panels/sources/NavigatorView.ts +4 -0
  3. package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +244 -244
  4. package/front_end/third_party/lighthouse/locales/en-US.json +2 -2
  5. package/front_end/third_party/lighthouse/locales/en-XL.json +2 -2
  6. package/front_end/third_party/puppeteer/package/README.md +20 -0
  7. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.d.ts +3 -3
  8. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.js +4 -4
  9. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.js.map +1 -1
  10. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
  11. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.js +10 -8
  12. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +1 -1
  13. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts +19 -6
  14. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -1
  15. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js +23 -10
  16. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js.map +1 -1
  17. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +1 -1
  18. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +3 -2
  19. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
  20. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.d.ts.map +1 -1
  21. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.js +35 -20
  22. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.js.map +1 -1
  23. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts +9 -2
  24. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -1
  25. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js +19 -7
  26. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js.map +1 -1
  27. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.d.ts +5 -4
  28. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.d.ts.map +1 -1
  29. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js +6 -5
  30. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js.map +1 -1
  31. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts +1 -0
  32. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -1
  33. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js +1 -0
  34. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js.map +1 -1
  35. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.d.ts +2 -0
  36. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.d.ts.map +1 -1
  37. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js +3 -1
  38. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js.map +1 -1
  39. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.d.ts +168 -131
  40. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.d.ts.map +1 -1
  41. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.js +208 -206
  42. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.js.map +1 -1
  43. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts +1 -0
  44. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -1
  45. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js +1 -0
  46. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js.map +1 -1
  47. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.d.ts +2 -2
  48. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js +2 -2
  49. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.d.ts +74 -75
  50. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.d.ts.map +1 -1
  51. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js +82 -97
  52. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -1
  53. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.d.ts +16 -8
  54. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.d.ts.map +1 -1
  55. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js +17 -9
  56. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js.map +1 -1
  57. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.d.ts +2 -1
  58. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.d.ts.map +1 -1
  59. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.js +3 -2
  60. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.js.map +1 -1
  61. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Frame.d.ts +634 -0
  62. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Frame.d.ts.map +1 -0
  63. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Frame.js +713 -0
  64. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Frame.js.map +1 -0
  65. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts +9 -679
  66. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -1
  67. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js +77 -803
  68. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
  69. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts +11 -10
  70. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -1
  71. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js +11 -10
  72. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -1
  73. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts +2 -2
  74. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -1
  75. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js +1 -1
  76. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts +34 -13
  77. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts.map +1 -1
  78. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js +35 -14
  79. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js.map +1 -1
  80. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/{DOMWorld.d.ts → IsolatedWorld.d.ts} +58 -13
  81. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/IsolatedWorld.d.ts.map +1 -0
  82. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/{DOMWorld.js → IsolatedWorld.js} +124 -151
  83. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/IsolatedWorld.js.map +1 -0
  84. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts +40 -58
  85. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -1
  86. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js +53 -76
  87. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js.map +1 -1
  88. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts +2 -1
  89. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts.map +1 -1
  90. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js +23 -6
  91. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -1
  92. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.js +17 -17
  93. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts +1 -1
  94. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -1
  95. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js +8 -8
  96. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -1
  97. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.d.ts +2 -0
  98. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.d.ts.map +1 -1
  99. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.js.map +1 -1
  100. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts +395 -296
  101. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts.map +1 -1
  102. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js +398 -313
  103. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js.map +1 -1
  104. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.d.ts +14 -7
  105. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.d.ts.map +1 -1
  106. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js +14 -7
  107. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -1
  108. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.d.ts +38 -17
  109. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.d.ts.map +1 -1
  110. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js +49 -31
  111. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js.map +1 -1
  112. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts +1 -1
  113. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts.map +1 -1
  114. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js +7 -3
  115. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js.map +1 -1
  116. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.d.ts +1 -0
  117. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.d.ts.map +1 -1
  118. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js +4 -2
  119. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js.map +1 -1
  120. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.d.ts +8 -4
  121. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.d.ts.map +1 -1
  122. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.js +8 -4
  123. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.js.map +1 -1
  124. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts +1 -34
  125. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts.map +1 -1
  126. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js +5 -53
  127. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js.map +1 -1
  128. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.d.ts +3 -0
  129. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.d.ts.map +1 -0
  130. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.js +6 -0
  131. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.js.map +1 -0
  132. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
  133. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +1 -1
  134. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initializePuppeteer.d.ts.map +1 -1
  135. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initializePuppeteer.js +2 -2
  136. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initializePuppeteer.js.map +1 -1
  137. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/Poller.d.ts +28 -0
  138. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/Poller.d.ts.map +1 -0
  139. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/Poller.js +148 -0
  140. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/Poller.js.map +1 -0
  141. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +2 -0
  142. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts.map +1 -0
  143. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.js +18 -0
  144. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.js.map +1 -0
  145. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +3 -1
  146. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
  147. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js +4 -2
  148. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -1
  149. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -1
  150. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js +4 -3
  151. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -1
  152. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  153. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +2 -2
  154. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
  155. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts.map +1 -1
  156. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js +2 -2
  157. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js.map +1 -1
  158. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js +1 -1
  159. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js.map +1 -1
  160. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.d.ts +3 -1
  161. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.d.ts.map +1 -1
  162. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js +3 -1
  163. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js.map +1 -1
  164. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.d.ts +3 -2
  165. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.d.ts.map +1 -1
  166. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.js +3 -2
  167. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.js.map +1 -1
  168. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DeferredPromise.d.ts +25 -0
  169. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DeferredPromise.d.ts.map +1 -0
  170. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DeferredPromise.js +78 -0
  171. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DeferredPromise.js.map +1 -0
  172. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.d.ts +17 -0
  173. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.d.ts.map +1 -0
  174. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.js +22 -0
  175. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.js.map +1 -0
  176. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/{common → util}/assert.d.ts +0 -0
  177. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/assert.d.ts.map +1 -0
  178. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/{common → util}/assert.js +0 -0
  179. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/assert.js.map +1 -0
  180. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/getPackageDirectory.d.ts +2 -0
  181. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/getPackageDirectory.d.ts.map +1 -0
  182. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/getPackageDirectory.js +19 -0
  183. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/getPackageDirectory.js.map +1 -0
  184. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.d.ts +3 -3
  185. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.js +4 -4
  186. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.js.map +1 -1
  187. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
  188. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.js +10 -8
  189. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.js.map +1 -1
  190. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts +19 -6
  191. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts.map +1 -1
  192. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js +23 -10
  193. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js.map +1 -1
  194. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +1 -1
  195. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js +3 -2
  196. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -1
  197. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.d.ts.map +1 -1
  198. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.js +36 -21
  199. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.js.map +1 -1
  200. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts +9 -2
  201. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts.map +1 -1
  202. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js +19 -7
  203. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js.map +1 -1
  204. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.d.ts +5 -4
  205. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.d.ts.map +1 -1
  206. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.js +6 -5
  207. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.js.map +1 -1
  208. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts +1 -0
  209. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts.map +1 -1
  210. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js +1 -0
  211. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js.map +1 -1
  212. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.d.ts +2 -0
  213. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.d.ts.map +1 -1
  214. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.js +3 -1
  215. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.js.map +1 -1
  216. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.d.ts +168 -131
  217. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.d.ts.map +1 -1
  218. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.js +208 -206
  219. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.js.map +1 -1
  220. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts +1 -0
  221. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts.map +1 -1
  222. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js +1 -0
  223. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js.map +1 -1
  224. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.d.ts +2 -2
  225. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.js +2 -2
  226. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.d.ts +74 -75
  227. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.d.ts.map +1 -1
  228. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.js +83 -98
  229. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.js.map +1 -1
  230. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.d.ts +16 -8
  231. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.d.ts.map +1 -1
  232. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.js +17 -9
  233. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.js.map +1 -1
  234. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.d.ts +2 -1
  235. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.d.ts.map +1 -1
  236. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.js +3 -2
  237. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.js.map +1 -1
  238. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Frame.d.ts +634 -0
  239. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Frame.d.ts.map +1 -0
  240. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Frame.js +709 -0
  241. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Frame.js.map +1 -0
  242. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts +9 -679
  243. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -1
  244. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js +72 -797
  245. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
  246. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts +11 -10
  247. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -1
  248. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js +11 -10
  249. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -1
  250. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts +2 -2
  251. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -1
  252. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js +1 -1
  253. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts +34 -13
  254. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts.map +1 -1
  255. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js +35 -14
  256. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js.map +1 -1
  257. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/{DOMWorld.d.ts → IsolatedWorld.d.ts} +58 -13
  258. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/IsolatedWorld.d.ts.map +1 -0
  259. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/{DOMWorld.js → IsolatedWorld.js} +123 -150
  260. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/IsolatedWorld.js.map +1 -0
  261. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts +40 -58
  262. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -1
  263. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js +54 -77
  264. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js.map +1 -1
  265. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.d.ts +2 -1
  266. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.d.ts.map +1 -1
  267. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.js +24 -7
  268. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.js.map +1 -1
  269. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.js +17 -17
  270. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts +1 -1
  271. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -1
  272. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js +8 -8
  273. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js.map +1 -1
  274. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.d.ts +2 -0
  275. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.d.ts.map +1 -1
  276. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.js.map +1 -1
  277. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts +395 -296
  278. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts.map +1 -1
  279. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js +398 -313
  280. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js.map +1 -1
  281. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.d.ts +14 -7
  282. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.d.ts.map +1 -1
  283. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.js +14 -7
  284. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.js.map +1 -1
  285. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.d.ts +38 -17
  286. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.d.ts.map +1 -1
  287. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js +49 -31
  288. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js.map +1 -1
  289. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts +1 -1
  290. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts.map +1 -1
  291. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js +7 -3
  292. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js.map +1 -1
  293. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.d.ts +1 -0
  294. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.d.ts.map +1 -1
  295. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.js +4 -2
  296. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.js.map +1 -1
  297. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.d.ts +8 -4
  298. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.d.ts.map +1 -1
  299. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.js +8 -4
  300. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.js.map +1 -1
  301. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts +1 -34
  302. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts.map +1 -1
  303. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js +3 -48
  304. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js.map +1 -1
  305. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.d.ts +3 -0
  306. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.d.ts.map +1 -0
  307. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.js +3 -0
  308. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.js.map +1 -0
  309. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
  310. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +1 -1
  311. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initializePuppeteer.d.ts.map +1 -1
  312. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initializePuppeteer.js +2 -2
  313. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initializePuppeteer.js.map +1 -1
  314. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/Poller.d.ts +28 -0
  315. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/Poller.d.ts.map +1 -0
  316. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/Poller.js +142 -0
  317. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/Poller.js.map +1 -0
  318. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts +2 -0
  319. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts.map +1 -0
  320. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.js +2 -0
  321. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.js.map +1 -0
  322. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts +3 -1
  323. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
  324. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js +4 -2
  325. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -1
  326. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -1
  327. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js +3 -2
  328. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -1
  329. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  330. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +2 -2
  331. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
  332. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.d.ts.map +1 -1
  333. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js +2 -2
  334. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js.map +1 -1
  335. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js +1 -1
  336. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js.map +1 -1
  337. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.d.ts +3 -1
  338. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.d.ts.map +1 -1
  339. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js +3 -1
  340. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js.map +1 -1
  341. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.d.ts +3 -2
  342. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.d.ts.map +1 -1
  343. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.js +3 -2
  344. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.js.map +1 -1
  345. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DeferredPromise.d.ts +25 -0
  346. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DeferredPromise.d.ts.map +1 -0
  347. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DeferredPromise.js +73 -0
  348. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DeferredPromise.js.map +1 -0
  349. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.d.ts +17 -0
  350. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.d.ts.map +1 -0
  351. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.js +17 -0
  352. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.js.map +1 -0
  353. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/{common → util}/assert.d.ts +0 -0
  354. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/assert.d.ts.map +1 -0
  355. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/{common → util}/assert.js +0 -0
  356. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/assert.js.map +1 -0
  357. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/getPackageDirectory.d.ts +2 -0
  358. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/getPackageDirectory.d.ts.map +1 -0
  359. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/getPackageDirectory.js +15 -0
  360. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/getPackageDirectory.js.map +1 -0
  361. package/front_end/third_party/puppeteer/package/lib/types.d.ts +1069 -878
  362. package/front_end/third_party/puppeteer/package/package.json +32 -28
  363. package/front_end/third_party/puppeteer/package/typescript-if-required.js +1 -1
  364. package/front_end/third_party/puppeteer/puppeteer.ts +1 -1
  365. package/package.json +1 -1
  366. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +0 -1
  367. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.js.map +0 -1
  368. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.d.ts.map +0 -1
  369. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.js.map +0 -1
  370. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts.map +0 -1
  371. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.js.map +0 -1
  372. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.d.ts.map +0 -1
  373. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.js.map +0 -1
@@ -36,7 +36,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
36
36
  var _ElementHandle_instances, _ElementHandle_frame, _ElementHandle_page, _ElementHandle_frameManager, _ElementHandle_scrollIntoViewIfNeeded, _ElementHandle_getOOPIFOffsets, _ElementHandle_getBoxModel, _ElementHandle_fromProtocolQuad, _ElementHandle_intersectQuadWithViewport;
37
37
  Object.defineProperty(exports, "__esModule", { value: true });
38
38
  exports.ElementHandle = void 0;
39
- const assert_js_1 = require("./assert.js");
39
+ const assert_js_1 = require("../util/assert.js");
40
+ const IsolatedWorld_js_1 = require("./IsolatedWorld.js");
40
41
  const JSHandle_js_1 = require("./JSHandle.js");
41
42
  const QueryHandler_js_1 = require("./QueryHandler.js");
42
43
  const util_js_1 = require("./util.js");
@@ -55,12 +56,12 @@ const applyOffsetsToQuad = (quad, offsetX, offsetY) => {
55
56
  * const puppeteer = require('puppeteer');
56
57
  *
57
58
  * (async () => {
58
- * const browser = await puppeteer.launch();
59
- * const page = await browser.newPage();
60
- * await page.goto('https://example.com');
61
- * const hrefElement = await page.$('a');
62
- * await hrefElement.click();
63
- * // ...
59
+ * const browser = await puppeteer.launch();
60
+ * const page = await browser.newPage();
61
+ * await page.goto('https://example.com');
62
+ * const hrefElement = await page.$('a');
63
+ * await hrefElement.click();
64
+ * // ...
64
65
  * })();
65
66
  * ```
66
67
  *
@@ -93,41 +94,160 @@ class ElementHandle extends JSHandle_js_1.JSHandle {
93
94
  __classPrivateFieldSet(this, _ElementHandle_frameManager, frameManager, "f");
94
95
  }
95
96
  /**
96
- * Wait for the `selector` to appear within the element. If at the moment of calling the
97
- * method the `selector` already exists, the method will return immediately. If
98
- * the `selector` doesn't appear after the `timeout` milliseconds of waiting, the
99
- * function will throw.
97
+ * Queries the current element for an element matching the given selector.
100
98
  *
101
- * This method does not work across navigations or if the element is detached from DOM.
99
+ * @param selector - The selector to query for.
100
+ * @returns A {@link ElementHandle | element handle} to the first element
101
+ * matching the given selector. Otherwise, `null`.
102
+ */
103
+ async $(selector) {
104
+ const { updatedSelector, queryHandler } = (0, QueryHandler_js_1.getQueryHandlerAndSelector)(selector);
105
+ (0, assert_js_1.assert)(queryHandler.queryOne, 'Cannot handle queries for a single element with the given selector');
106
+ return (await queryHandler.queryOne(this, updatedSelector));
107
+ }
108
+ /**
109
+ * Queries the current element for all elements matching the given selector.
102
110
  *
103
- * @param selector - A
104
- * {@link https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors | selector}
105
- * of an element to wait for
106
- * @param options - Optional waiting parameters
107
- * @returns Promise which resolves when element specified by selector string
108
- * is added to DOM. Resolves to `null` if waiting for hidden: `true` and
109
- * selector is not found in DOM.
110
- * @remarks
111
- * The optional parameters in `options` are:
111
+ * @param selector - The selector to query for.
112
+ * @returns An array of {@link ElementHandle | element handles} that point to
113
+ * elements matching the given selector.
114
+ */
115
+ async $$(selector) {
116
+ const { updatedSelector, queryHandler } = (0, QueryHandler_js_1.getQueryHandlerAndSelector)(selector);
117
+ (0, assert_js_1.assert)(queryHandler.queryAll, 'Cannot handle queries for a multiple element with the given selector');
118
+ return (await queryHandler.queryAll(this, updatedSelector));
119
+ }
120
+ /**
121
+ * Runs the given function on the first element matching the given selector in
122
+ * the current element.
123
+ *
124
+ * If the given function returns a promise, then this method will wait till
125
+ * the promise resolves.
112
126
  *
113
- * - `visible`: wait for the selected element to be present in DOM and to be
114
- * visible, i.e. to not have `display: none` or `visibility: hidden` CSS
115
- * properties. Defaults to `false`.
127
+ * @example
116
128
  *
117
- * - `hidden`: wait for the selected element to not be found in the DOM or to be hidden,
118
- * i.e. have `display: none` or `visibility: hidden` CSS properties. Defaults to
119
- * `false`.
129
+ * ```ts
130
+ * const tweetHandle = await page.$('.tweet');
131
+ * expect(await tweetHandle.$eval('.like', node => node.innerText)).toBe(
132
+ * '100'
133
+ * );
134
+ * expect(await tweetHandle.$eval('.retweets', node => node.innerText)).toBe(
135
+ * '10'
136
+ * );
137
+ * ```
120
138
  *
121
- * - `timeout`: maximum time to wait in milliseconds. Defaults to `30000`
122
- * (30 seconds). Pass `0` to disable timeout. The default value can be changed
123
- * by using the {@link Page.setDefaultTimeout} method.
139
+ * @param selector - The selector to query for.
140
+ * @param pageFunction - The function to be evaluated in this element's page's
141
+ * context. The first element matching the selector will be passed in as the
142
+ * first argument.
143
+ * @param args - Additional arguments to pass to `pageFunction`.
144
+ * @returns A promise to the result of the function.
145
+ */
146
+ async $eval(selector, pageFunction, ...args) {
147
+ const elementHandle = await this.$(selector);
148
+ if (!elementHandle) {
149
+ throw new Error(`Error: failed to find element matching selector "${selector}"`);
150
+ }
151
+ const result = await elementHandle.evaluate(pageFunction, ...args);
152
+ await elementHandle.dispose();
153
+ return result;
154
+ }
155
+ /**
156
+ * Runs the given function on an array of elements matching the given selector
157
+ * in the current element.
158
+ *
159
+ * If the given function returns a promise, then this method will wait till
160
+ * the promise resolves.
161
+ *
162
+ * @example
163
+ * HTML:
164
+ *
165
+ * ```html
166
+ * <div class="feed">
167
+ * <div class="tweet">Hello!</div>
168
+ * <div class="tweet">Hi!</div>
169
+ * </div>
170
+ * ```
171
+ *
172
+ * JavaScript:
173
+ *
174
+ * ```js
175
+ * const feedHandle = await page.$('.feed');
176
+ * expect(
177
+ * await feedHandle.$$eval('.tweet', nodes => nodes.map(n => n.innerText))
178
+ * ).toEqual(['Hello!', 'Hi!']);
179
+ * ```
180
+ *
181
+ * @param selector - The selector to query for.
182
+ * @param pageFunction - The function to be evaluated in the element's page's
183
+ * context. An array of elements matching the given selector will be passed to
184
+ * the function as its first argument.
185
+ * @param args - Additional arguments to pass to `pageFunction`.
186
+ * @returns A promise to the result of the function.
187
+ */
188
+ async $$eval(selector, pageFunction, ...args) {
189
+ const { updatedSelector, queryHandler } = (0, QueryHandler_js_1.getQueryHandlerAndSelector)(selector);
190
+ (0, assert_js_1.assert)(queryHandler.queryAllArray);
191
+ const arrayHandle = (await queryHandler.queryAllArray(this, updatedSelector));
192
+ const result = await arrayHandle.evaluate(pageFunction, ...args);
193
+ await arrayHandle.dispose();
194
+ return result;
195
+ }
196
+ /**
197
+ * @deprecated Use {@link ElementHandle.$$} with the `xpath` prefix.
198
+ *
199
+ * The method evaluates the XPath expression relative to the elementHandle.
200
+ * If there are no such elements, the method will resolve to an empty array.
201
+ * @param expression - Expression to {@link https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate | evaluate}
202
+ */
203
+ async $x(expression) {
204
+ if (expression.startsWith('//')) {
205
+ expression = `.${expression}`;
206
+ }
207
+ return this.$$(`xpath/${expression}`);
208
+ }
209
+ /**
210
+ * Wait for an element matching the given selector to appear in the current
211
+ * element.
212
+ *
213
+ * Unlike {@link Frame.waitForSelector}, this method does not work across
214
+ * navigations or if the element is detached from DOM.
215
+ *
216
+ * @example
217
+ *
218
+ * ```ts
219
+ * const puppeteer = require('puppeteer');
220
+ *
221
+ * (async () => {
222
+ * const browser = await puppeteer.launch();
223
+ * const page = await browser.newPage();
224
+ * let currentURL;
225
+ * page
226
+ * .mainFrame()
227
+ * .waitForSelector('img')
228
+ * .then(() => console.log('First URL with image: ' + currentURL));
229
+ *
230
+ * for (currentURL of [
231
+ * 'https://example.com',
232
+ * 'https://google.com',
233
+ * 'https://bbc.com',
234
+ * ]) {
235
+ * await page.goto(currentURL);
236
+ * }
237
+ * await browser.close();
238
+ * })();
239
+ * ```
240
+ *
241
+ * @param selector - The selector to query and wait for.
242
+ * @param options - Options for customizing waiting behavior.
243
+ * @returns An element matching the given selector.
244
+ * @throws Throws if an element matching the given selector doesn't appear.
124
245
  */
125
246
  async waitForSelector(selector, options = {}) {
126
- const frame = this._context.frame();
247
+ const frame = this.executionContext().frame();
127
248
  (0, assert_js_1.assert)(frame);
128
- const secondaryContext = await frame._secondaryWorld.executionContext();
129
- const adoptedRoot = await secondaryContext._adoptElementHandle(this);
130
- const handle = await frame._secondaryWorld.waitForSelector(selector, {
249
+ const adoptedRoot = await frame.worlds[IsolatedWorld_js_1.PUPPETEER_WORLD].adoptHandle(this);
250
+ const handle = await frame.worlds[IsolatedWorld_js_1.PUPPETEER_WORLD].waitForSelector(selector, {
131
251
  ...options,
132
252
  root: adoptedRoot,
133
253
  });
@@ -135,39 +255,44 @@ class ElementHandle extends JSHandle_js_1.JSHandle {
135
255
  if (!handle) {
136
256
  return null;
137
257
  }
138
- const mainExecutionContext = await frame._mainWorld.executionContext();
139
- const result = await mainExecutionContext._adoptElementHandle(handle);
258
+ const result = (await frame.worlds[IsolatedWorld_js_1.MAIN_WORLD].adoptHandle(handle));
140
259
  await handle.dispose();
141
260
  return result;
142
261
  }
143
262
  /**
263
+ * @deprecated Use {@link ElementHandle.waitForSelector} with the `xpath`
264
+ * prefix.
265
+ *
144
266
  * Wait for the `xpath` within the element. If at the moment of calling the
145
267
  * method the `xpath` already exists, the method will return immediately. If
146
268
  * the `xpath` doesn't appear after the `timeout` milliseconds of waiting, the
147
269
  * function will throw.
148
270
  *
149
- * If `xpath` starts with `//` instead of `.//`, the dot will be appended automatically.
271
+ * If `xpath` starts with `//` instead of `.//`, the dot will be appended
272
+ * automatically.
150
273
  *
151
274
  * This method works across navigation
275
+ *
152
276
  * ```ts
153
277
  * const puppeteer = require('puppeteer');
154
278
  * (async () => {
155
- * const browser = await puppeteer.launch();
156
- * const page = await browser.newPage();
157
- * let currentURL;
158
- * page
159
- * .waitForXPath('//img')
160
- * .then(() => console.log('First URL with image: ' + currentURL));
161
- * for (currentURL of [
162
- * 'https://example.com',
163
- * 'https://google.com',
164
- * 'https://bbc.com',
165
- * ]) {
166
- * await page.goto(currentURL);
167
- * }
168
- * await browser.close();
279
+ * const browser = await puppeteer.launch();
280
+ * const page = await browser.newPage();
281
+ * let currentURL;
282
+ * page
283
+ * .waitForXPath('//img')
284
+ * .then(() => console.log('First URL with image: ' + currentURL));
285
+ * for (currentURL of [
286
+ * 'https://example.com',
287
+ * 'https://google.com',
288
+ * 'https://bbc.com',
289
+ * ]) {
290
+ * await page.goto(currentURL);
291
+ * }
292
+ * await browser.close();
169
293
  * })();
170
294
  * ```
295
+ *
171
296
  * @param xpath - A
172
297
  * {@link https://developer.mozilla.org/en-US/docs/Web/XPath | xpath} of an
173
298
  * element to wait for
@@ -179,39 +304,23 @@ class ElementHandle extends JSHandle_js_1.JSHandle {
179
304
  * The optional Argument `options` have properties:
180
305
  *
181
306
  * - `visible`: A boolean to wait for element to be present in DOM and to be
182
- * visible, i.e. to not have `display: none` or `visibility: hidden` CSS
183
- * properties. Defaults to `false`.
307
+ * visible, i.e. to not have `display: none` or `visibility: hidden` CSS
308
+ * properties. Defaults to `false`.
184
309
  *
185
310
  * - `hidden`: A boolean wait for element to not be found in the DOM or to be
186
- * hidden, i.e. have `display: none` or `visibility: hidden` CSS properties.
187
- * Defaults to `false`.
311
+ * hidden, i.e. have `display: none` or `visibility: hidden` CSS properties.
312
+ * Defaults to `false`.
188
313
  *
189
314
  * - `timeout`: A number which is maximum time to wait for in milliseconds.
190
- * Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The default
191
- * value can be changed by using the {@link Page.setDefaultTimeout} method.
315
+ * Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The
316
+ * default value can be changed by using the {@link Page.setDefaultTimeout}
317
+ * method.
192
318
  */
193
319
  async waitForXPath(xpath, options = {}) {
194
- const frame = this._context.frame();
195
- (0, assert_js_1.assert)(frame);
196
- const secondaryContext = await frame._secondaryWorld.executionContext();
197
- const adoptedRoot = await secondaryContext._adoptElementHandle(this);
198
- xpath = xpath.startsWith('//') ? '.' + xpath : xpath;
199
- if (!xpath.startsWith('.//')) {
200
- await adoptedRoot.dispose();
201
- throw new Error('Unsupported xpath expression: ' + xpath);
320
+ if (xpath.startsWith('//')) {
321
+ xpath = `.${xpath}`;
202
322
  }
203
- const handle = await frame._secondaryWorld.waitForXPath(xpath, {
204
- ...options,
205
- root: adoptedRoot,
206
- });
207
- await adoptedRoot.dispose();
208
- if (!handle) {
209
- return null;
210
- }
211
- const mainExecutionContext = await frame._mainWorld.executionContext();
212
- const result = await mainExecutionContext._adoptElementHandle(handle);
213
- await handle.dispose();
214
- return result;
323
+ return this.waitForSelector(`xpath/${xpath}`, options);
215
324
  }
216
325
  asElement() {
217
326
  return this;
@@ -221,8 +330,8 @@ class ElementHandle extends JSHandle_js_1.JSHandle {
221
330
  * iframe nodes, or null otherwise
222
331
  */
223
332
  async contentFrame() {
224
- const nodeInfo = await this._client.send('DOM.describeNode', {
225
- objectId: this._remoteObject.objectId,
333
+ const nodeInfo = await this.client.send('DOM.describeNode', {
334
+ objectId: this.remoteObject().objectId,
226
335
  });
227
336
  if (typeof nodeInfo.node.frameId !== 'string') {
228
337
  return null;
@@ -234,9 +343,9 @@ class ElementHandle extends JSHandle_js_1.JSHandle {
234
343
  */
235
344
  async clickablePoint(offset) {
236
345
  const [result, layoutMetrics] = await Promise.all([
237
- this._client
346
+ this.client
238
347
  .send('DOM.getContentQuads', {
239
- objectId: this._remoteObject.objectId,
348
+ objectId: this.remoteObject().objectId,
240
349
  })
241
350
  .catch(util_js_1.debugError),
242
351
  __classPrivateFieldGet(this, _ElementHandle_page, "f")._client().send('Page.getLayoutMetrics'),
@@ -365,13 +474,15 @@ class ElementHandle extends JSHandle_js_1.JSHandle {
365
474
  * throws an error.
366
475
  *
367
476
  * @example
477
+ *
368
478
  * ```ts
369
479
  * handle.select('blue'); // single selection
370
480
  * handle.select('red', 'green', 'blue'); // multiple selections
371
481
  * ```
482
+ *
372
483
  * @param values - Values of options to select. If the `<select>` has the
373
- * `multiple` attribute, all values are considered, otherwise only the first
374
- * one is taken into account.
484
+ * `multiple` attribute, all values are considered, otherwise only the first
485
+ * one is taken into account.
375
486
  */
376
487
  async select(...values) {
377
488
  for (const value of values) {
@@ -417,10 +528,10 @@ class ElementHandle extends JSHandle_js_1.JSHandle {
417
528
  * {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input | input element}.
418
529
  *
419
530
  * @param filePaths - Sets the value of the file input to these paths.
420
- * If a path is relative, then it is resolved against the
421
- * {@link https://nodejs.org/api/process.html#process_process_cwd | current working directory}.
422
- * Note for locals script connecting to remote chrome environments,
423
- * paths must be absolute.
531
+ * If a path is relative, then it is resolved against the
532
+ * {@link https://nodejs.org/api/process.html#process_process_cwd | current working directory}.
533
+ * Note for locals script connecting to remote chrome environments,
534
+ * paths must be absolute.
424
535
  */
425
536
  async uploadFile(...filePaths) {
426
537
  const isMultiple = await this.evaluate(element => {
@@ -446,8 +557,8 @@ class ElementHandle extends JSHandle_js_1.JSHandle {
446
557
  return path.resolve(filePath);
447
558
  }
448
559
  });
449
- const { objectId } = this._remoteObject;
450
- const { node } = await this._client.send('DOM.describeNode', { objectId });
560
+ const { objectId } = this.remoteObject();
561
+ const { node } = await this.client.send('DOM.describeNode', { objectId });
451
562
  const { backendNodeId } = node;
452
563
  /* The zero-length array is a special case, it seems that
453
564
  DOM.setFileInputFiles does not actually update the files in that case,
@@ -462,7 +573,7 @@ class ElementHandle extends JSHandle_js_1.JSHandle {
462
573
  });
463
574
  }
464
575
  else {
465
- await this._client.send('DOM.setFileInputFiles', {
576
+ await this.client.send('DOM.setFileInputFiles', {
466
577
  objectId,
467
578
  files,
468
579
  backendNodeId,
@@ -498,6 +609,7 @@ class ElementHandle extends JSHandle_js_1.JSHandle {
498
609
  * use {@link ElementHandle.press}.
499
610
  *
500
611
  * @example
612
+ *
501
613
  * ```ts
502
614
  * await elementHandle.type('Hello'); // Types instantly
503
615
  * await elementHandle.type('World', {delay: 100}); // Types slower, like a user
@@ -528,7 +640,7 @@ class ElementHandle extends JSHandle_js_1.JSHandle {
528
640
  * will type the text in upper case.
529
641
  *
530
642
  * @param key - Name of key to press, such as `ArrowLeft`.
531
- * See {@link KeyInput} for a list of all key names.
643
+ * See {@link KeyInput} for a list of all key names.
532
644
  */
533
645
  async press(key, options) {
534
646
  await this.focus();
@@ -600,7 +712,7 @@ class ElementHandle extends JSHandle_js_1.JSHandle {
600
712
  (0, assert_js_1.assert)(boundingBox, 'Node is either not visible or not an HTMLElement');
601
713
  (0, assert_js_1.assert)(boundingBox.width !== 0, 'Node has 0 width.');
602
714
  (0, assert_js_1.assert)(boundingBox.height !== 0, 'Node has 0 height.');
603
- const layoutMetrics = await this._client.send('Page.getLayoutMetrics');
715
+ const layoutMetrics = await this.client.send('Page.getLayoutMetrics');
604
716
  // Fallback to `layoutViewport` in case of using Firefox.
605
717
  const { pageX, pageY } = layoutMetrics.cssVisualViewport || layoutMetrics.layoutViewport;
606
718
  const clip = Object.assign({}, boundingBox);
@@ -614,116 +726,6 @@ class ElementHandle extends JSHandle_js_1.JSHandle {
614
726
  }
615
727
  return imageData;
616
728
  }
617
- /**
618
- * Runs `element.querySelector` within the page.
619
- *
620
- * @param selector - The selector to query with.
621
- * @returns `null` if no element matches the selector.
622
- * @throws `Error` if the selector has no associated query handler.
623
- */
624
- async $(selector) {
625
- const { updatedSelector, queryHandler } = (0, QueryHandler_js_1.getQueryHandlerAndSelector)(selector);
626
- (0, assert_js_1.assert)(queryHandler.queryOne, 'Cannot handle queries for a single element with the given selector');
627
- return (await queryHandler.queryOne(this, updatedSelector));
628
- }
629
- /**
630
- * Runs `element.querySelectorAll` within the page. If no elements match the selector,
631
- * the return value resolves to `[]`.
632
- */
633
- /**
634
- * Runs `element.querySelectorAll` within the page.
635
- *
636
- * @param selector - The selector to query with.
637
- * @returns `[]` if no element matches the selector.
638
- * @throws `Error` if the selector has no associated query handler.
639
- */
640
- async $$(selector) {
641
- const { updatedSelector, queryHandler } = (0, QueryHandler_js_1.getQueryHandlerAndSelector)(selector);
642
- (0, assert_js_1.assert)(queryHandler.queryAll, 'Cannot handle queries for a multiple element with the given selector');
643
- return (await queryHandler.queryAll(this, updatedSelector));
644
- }
645
- /**
646
- * This method runs `document.querySelector` within the element and passes it as
647
- * the first argument to `pageFunction`. If there's no element matching `selector`,
648
- * the method throws an error.
649
- *
650
- * If `pageFunction` returns a Promise, then `frame.$eval` would wait for the promise
651
- * to resolve and return its value.
652
- *
653
- * @example
654
- * ```ts
655
- * const tweetHandle = await page.$('.tweet');
656
- * expect(await tweetHandle.$eval('.like', node => node.innerText)).toBe('100');
657
- * expect(await tweetHandle.$eval('.retweets', node => node.innerText)).toBe('10');
658
- * ```
659
- */
660
- async $eval(selector, pageFunction, ...args) {
661
- const elementHandle = await this.$(selector);
662
- if (!elementHandle) {
663
- throw new Error(`Error: failed to find element matching selector "${selector}"`);
664
- }
665
- const result = await elementHandle.evaluate(pageFunction, ...args);
666
- await elementHandle.dispose();
667
- return result;
668
- }
669
- /**
670
- * This method runs `document.querySelectorAll` within the element and passes it as
671
- * the first argument to `pageFunction`. If there's no element matching `selector`,
672
- * the method throws an error.
673
- *
674
- * If `pageFunction` returns a Promise, then `frame.$$eval` would wait for the
675
- * promise to resolve and return its value.
676
- *
677
- * @example
678
- * ```html
679
- * <div class="feed">
680
- * <div class="tweet">Hello!</div>
681
- * <div class="tweet">Hi!</div>
682
- * </div>
683
- * ```
684
- *
685
- * @example
686
- * ```ts
687
- * const feedHandle = await page.$('.feed');
688
- * expect(await feedHandle.$$eval('.tweet', nodes => nodes.map(n => n.innerText)))
689
- * .toEqual(['Hello!', 'Hi!']);
690
- * ```
691
- */
692
- async $$eval(selector, pageFunction, ...args) {
693
- const { updatedSelector, queryHandler } = (0, QueryHandler_js_1.getQueryHandlerAndSelector)(selector);
694
- (0, assert_js_1.assert)(queryHandler.queryAllArray);
695
- const arrayHandle = (await queryHandler.queryAllArray(this, updatedSelector));
696
- const result = await arrayHandle.evaluate(pageFunction, ...args);
697
- await arrayHandle.dispose();
698
- return result;
699
- }
700
- /**
701
- * The method evaluates the XPath expression relative to the elementHandle.
702
- * If there are no such elements, the method will resolve to an empty array.
703
- * @param expression - Expression to {@link https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate | evaluate}
704
- */
705
- async $x(expression) {
706
- const arrayHandle = await this.evaluateHandle((element, expression) => {
707
- const doc = element.ownerDocument || document;
708
- const iterator = doc.evaluate(expression, element, null, XPathResult.ORDERED_NODE_ITERATOR_TYPE);
709
- const array = [];
710
- let item;
711
- while ((item = iterator.iterateNext())) {
712
- array.push(item);
713
- }
714
- return array;
715
- }, expression);
716
- const properties = await arrayHandle.getProperties();
717
- await arrayHandle.dispose();
718
- const result = [];
719
- for (const property of properties.values()) {
720
- const elementHandle = property.asElement();
721
- if (elementHandle) {
722
- result.push(elementHandle);
723
- }
724
- }
725
- return result;
726
- }
727
729
  /**
728
730
  * Resolves to true if the element is visible in the current viewport.
729
731
  */
@@ -756,8 +758,8 @@ _ElementHandle_frame = new WeakMap(), _ElementHandle_page = new WeakMap(), _Elem
756
758
  throw new Error(error);
757
759
  }
758
760
  try {
759
- await this._client.send('DOM.scrollIntoViewIfNeeded', {
760
- objectId: this._remoteObject.objectId,
761
+ await this.client.send('DOM.scrollIntoViewIfNeeded', {
762
+ objectId: this.remoteObject().objectId,
761
763
  });
762
764
  }
763
765
  catch (_err) {
@@ -812,9 +814,9 @@ _ElementHandle_frame = new WeakMap(), _ElementHandle_page = new WeakMap(), _Elem
812
814
  return { offsetX, offsetY };
813
815
  }, _ElementHandle_getBoxModel = function _ElementHandle_getBoxModel() {
814
816
  const params = {
815
- objectId: this._remoteObject.objectId,
817
+ objectId: this.remoteObject().objectId,
816
818
  };
817
- return this._client.send('DOM.getBoxModel', params).catch(error => {
819
+ return this.client.send('DOM.getBoxModel', params).catch(error => {
818
820
  return (0, util_js_1.debugError)(error);
819
821
  });
820
822
  }, _ElementHandle_fromProtocolQuad = function _ElementHandle_fromProtocolQuad(quad) {
@@ -1 +1 @@
1
- {"version":3,"file":"ElementHandle.js","sourceRoot":"","sources":["../../../../src/common/ElementHandle.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,2CAAmC;AAKnC,+CAQuB;AAEvB,uDAA6D;AAG7D,uCAA+C;AAE/C,MAAM,kBAAkB,GAAG,CACzB,IAAa,EACb,OAAe,EACf,OAAe,EACf,EAAE;IACF,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;QACrB,OAAO,EAAC,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,OAAO,EAAC,CAAC;IACpD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,MAAa,aAEX,SAAQ,sBAAqB;IAK7B;;OAEG;IACH,YACE,OAAyB,EACzB,MAAkB,EAClB,YAA2C,EAC3C,KAAY,EACZ,IAAU,EACV,YAA0B;QAE1B,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;;QAfvC,uCAAc;QACd,sCAAY;QACZ,8CAA4B;QAc1B,uBAAA,IAAI,wBAAU,KAAK,MAAA,CAAC;QACpB,uBAAA,IAAI,uBAAS,IA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