DescriptionThe 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));
Committed: https://crrev.com/2a55bf6d555cb626486ca86bc806e33a2d1a7a19
Cr-Commit-Position: refs/heads/master@{#405625}
Patch Set 1 #
Total comments: 2
Patch Set 2 : move to main. rename things #Patch Set 3 : sendOverProtocol has promise API. #
Total comments: 1
Patch Set 4 : callback #
Messages
Total messages: 13 (6 generated)
|