Skip to content

Commit c1a58bf

Browse files
committed
docs: update readme
1 parent 958134c commit c1a58bf

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

pages/index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ The stable release of the protocol, tagged at Chrome 64. It includes a smaller s
3434

3535
<p>Consider subscribing to the <a href="https://groups.google.com/d/forum/chrome-debugging-protocol">chrome-debugging-protocol</a> mailing list.
3636

37-
<h3 id="monitor">Monitoring the protocol</h3>
37+
<h3 id="monitor">Inspect CDP traffic using Protocol Monitor in DevTools</h3>
3838
<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.
4041

4142
<figure class="screenshot">
4243
<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>
4849
Select <i>Experiments</i> on the left of settings. Turn on "Protocol Monitor", then close and reopen DevTools.
4950
Now click the ⋮ menu icon, choose <i>More Tools</i> and then select <i>Protocol monitor</i>.
5051

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,
5253
type the command into the prompt at the bottom of the Protocol Monitor panel and press Enter, for example,
5354
<code>Page.captureScreenshot</code>. If the command requires parameters, provide them as JSON, for example,
5455
<code>{"cmd":"Page.captureScreenshot","args":{"format": "jpeg"}}</code>.

readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# devtools-protocol
2-
Explore the Chrome DevTools Protocol, its methods, events and basic documentation.
1+
# debugger-protocol-viewer
2+
3+
Website for viewing Chrome DevTools Protocol defined at
4+
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/.
35

46
More: [DevTools Protocol repo](https://github.com/ChromeDevTools/devtools-protocol) and [published devtools protocol viewer](https://chromedevtools.github.io/devtools-protocol/)
57

0 commit comments

Comments
 (0)