@@ -34,9 +34,10 @@ The stable release of the protocol, tagged at Chrome 64. It includes a smaller s
34
34
35
35
<p >Consider subscribing to the <a href =" https://groups.google.com/d/forum/chrome-debugging-protocol " >chrome-debugging-protocol</a > mailing list.
36
36
37
- <h3 id =" monitor " >Monitoring the protocol </h3 >
37
+ <h3 id =" monitor " >Inspect CDP traffic using Protocol Monitor in DevTools </h3 >
38
38
<p >This is especially handy to understand how the DevTools frontend makes use of the protocol.
39
- You can view all requests/responses and methods as they happen.
39
+ You can view all requests/responses and methods as they happen in the Protocol Monitor
40
+ panel in DevTools.
40
41
41
42
<figure class =" screenshot " >
42
43
<a href =" images/protocol-monitor.png " target =" _blank " style =" text-align : center ; display :block ;" >
@@ -48,7 +49,7 @@ Click the gear icon in the top-right of the DevTools to open the <i>Settings</i>
48
49
Select <i >Experiments</i > on the left of settings. Turn on "Protocol Monitor", then close and reopen DevTools.
49
50
Now click the ⋮ menu icon, choose <i >More Tools</i > and then select <i >Protocol monitor</i >.
50
51
51
- <p >You can also issue your own commands using Protocol Monitor. If the command does not require any parameters,
52
+ <p >You can also send commands using Protocol Monitor. If the command does not require any parameters,
52
53
type the command into the prompt at the bottom of the Protocol Monitor panel and press Enter, for example,
53
54
<code >Page.captureScreenshot</code >. If the command requires parameters, provide them as JSON, for example,
54
55
<code >{"cmd":"Page.captureScreenshot","args":{"format": "jpeg"}}</code >.
0 commit comments