chrome-devtools-frontend 1.0.1037221 → 1.0.1039140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/gni/devtools_grd_files.gni +9 -2
- package/front_end/core/common/ParsedURL.ts +1 -1
- package/front_end/core/i18n/locales/en-US.json +2 -2
- package/front_end/core/i18n/locales/en-XL.json +2 -2
- package/front_end/core/sdk/ResourceTreeModel.ts +12 -8
- package/front_end/panels/sources/NavigatorView.ts +9 -0
- package/front_end/services/puppeteer/PuppeteerConnection.ts +1 -1
- package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +244 -244
- package/front_end/third_party/lighthouse/locales/en-US.json +2 -2
- package/front_end/third_party/lighthouse/locales/en-XL.json +2 -2
- package/front_end/third_party/puppeteer/package/README.md +20 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.js +4 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.js +10 -8
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts +19 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js +23 -10
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.js +35 -20
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts +9 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js +19 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.d.ts +5 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js +6 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.d.ts +168 -131
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.js +208 -206
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.d.ts +74 -75
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js +82 -97
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.d.ts +16 -8
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js +17 -9
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Frame.d.ts +634 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Frame.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Frame.js +713 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Frame.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts +9 -679
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js +77 -803
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts +11 -10
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js +11 -10
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts +34 -13
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js +35 -14
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/{DOMWorld.d.ts → IsolatedWorld.d.ts} +58 -13
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/IsolatedWorld.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/{DOMWorld.js → IsolatedWorld.js} +124 -151
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/IsolatedWorld.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts +40 -58
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js +53 -76
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js +23 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.js +17 -17
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js +8 -8
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts +395 -296
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js +398 -313
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.d.ts +14 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js +14 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.d.ts +38 -17
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js +49 -31
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js +7 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js +4 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.d.ts +8 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.js +8 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts +1 -34
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js +5 -53
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.js +6 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initializePuppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initializePuppeteer.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initializePuppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/Poller.d.ts +28 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/Poller.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/Poller.js +148 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/Poller.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.js +18 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js +4 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js +4 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DeferredPromise.d.ts +25 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DeferredPromise.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DeferredPromise.js +78 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/DeferredPromise.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.d.ts +17 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.js +22 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/{common → util}/assert.d.ts +0 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/assert.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/{common → util}/assert.js +0 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/assert.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/getPackageDirectory.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/getPackageDirectory.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/getPackageDirectory.js +19 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/getPackageDirectory.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.js +4 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.js +10 -8
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts +19 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js +23 -10
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.js +36 -21
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts +9 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js +19 -7
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.d.ts +5 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.js +6 -5
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.js +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.d.ts +168 -131
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.js +208 -206
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.d.ts +74 -75
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.js +83 -98
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.d.ts +16 -8
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.js +17 -9
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Frame.d.ts +634 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Frame.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Frame.js +709 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Frame.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts +9 -679
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js +72 -797
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts +11 -10
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js +11 -10
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts +34 -13
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js +35 -14
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/{DOMWorld.d.ts → IsolatedWorld.d.ts} +58 -13
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/IsolatedWorld.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/{DOMWorld.js → IsolatedWorld.js} +123 -150
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/IsolatedWorld.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts +40 -58
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js +54 -77
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.js +24 -7
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.js +17 -17
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js +8 -8
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts +395 -296
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js +398 -313
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.d.ts +14 -7
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.js +14 -7
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.d.ts +38 -17
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js +49 -31
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js +7 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.js +4 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.d.ts +8 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.js +8 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts +1 -34
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js +3 -48
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initializePuppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initializePuppeteer.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initializePuppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/Poller.d.ts +28 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/Poller.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/Poller.js +142 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/Poller.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.js +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js +4 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DeferredPromise.d.ts +25 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DeferredPromise.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DeferredPromise.js +73 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/DeferredPromise.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.d.ts +17 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.js +17 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/{common → util}/assert.d.ts +0 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/assert.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/{common → util}/assert.js +0 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/assert.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/getPackageDirectory.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/getPackageDirectory.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/getPackageDirectory.js +15 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/getPackageDirectory.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +1069 -878
- package/front_end/third_party/puppeteer/package/package.json +32 -28
- package/front_end/third_party/puppeteer/package/typescript-if-required.js +1 -1
- package/front_end/third_party/puppeteer/puppeteer.ts +1 -1
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryHighlightChipList.ts +16 -6
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspector.ts +28 -4
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryViewer.ts +15 -0
- package/front_end/ui/components/linear_memory_inspector/linearMemoryHighlightChipList.css +27 -12
- package/front_end/ui/components/linear_memory_inspector/linearMemoryViewer.css +19 -4
- package/package.json +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.d.ts.map +0 -1
- 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("
|
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
|
-
*
|
59
|
-
*
|
60
|
-
*
|
61
|
-
*
|
62
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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 -
|
104
|
-
* {@link
|
105
|
-
*
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
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
|
-
*
|
114
|
-
* visible, i.e. to not have `display: none` or `visibility: hidden` CSS
|
115
|
-
* properties. Defaults to `false`.
|
127
|
+
* @example
|
116
128
|
*
|
117
|
-
*
|
118
|
-
*
|
119
|
-
*
|
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
|
-
* -
|
122
|
-
*
|
123
|
-
*
|
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.
|
247
|
+
const frame = this.executionContext().frame();
|
127
248
|
(0, assert_js_1.assert)(frame);
|
128
|
-
const
|
129
|
-
const
|
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
|
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
|
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
|
-
*
|
156
|
-
*
|
157
|
-
*
|
158
|
-
*
|
159
|
-
*
|
160
|
-
*
|
161
|
-
*
|
162
|
-
*
|
163
|
-
*
|
164
|
-
*
|
165
|
-
*
|
166
|
-
*
|
167
|
-
*
|
168
|
-
*
|
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
|
-
*
|
183
|
-
*
|
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
|
-
*
|
187
|
-
*
|
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
|
-
*
|
191
|
-
* value can be changed by using the {@link Page.setDefaultTimeout}
|
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
|
-
|
195
|
-
|
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
|
-
|
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.
|
225
|
-
objectId: this.
|
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.
|
346
|
+
this.client
|
238
347
|
.send('DOM.getContentQuads', {
|
239
|
-
objectId: this.
|
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
|
-
*
|
374
|
-
*
|
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
|
-
*
|
421
|
-
*
|
422
|
-
*
|
423
|
-
*
|
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.
|
450
|
-
const { node } = await this.
|
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.
|
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
|
-
*
|
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.
|
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.
|
760
|
-
objectId: this.
|
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.
|
817
|
+
objectId: this.remoteObject().objectId,
|
816
818
|
};
|
817
|
-
return this.
|
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) {
|
package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.js.map
CHANGED
@@ -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,IAAI,MAAA,CAAC;QAClB,uBAAA,IAAI,+BAAiB,YAAY,MAAA,CAAC;IACpC,CAAC;IAED;;;;;;;;;;;;;;;;;;;;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