The WebInspector.sendOverProtocol method provides an easy mechanism to test
and debug protocol commands. It's intended for developer debugging only. Examples: WebInspector.sendOverProtocol('Emulation.setDeviceMetricsOverride', { ... }); WebInspector.sendOverProtocol('Emulation.clearDeviceMetricsOverride'); WebInspector.sendOverProtocol('Page.captureScreenshot') .then((err, result) => console.log(result)); Review-Url: https://codereview.chromium.org/2149833002 Cr-Commit-Position: refs/heads/master@{#405625}
Showing
Please register or sign in to comment