2 Use
<code>chrome.experimental.devtools.console
</code> to retrieve messages from
3 the inspected page console and post messages there.
<code>getMessages()
</code>
4 returns the list of messages on the console,
<code>onMessageAdded
</code>
5 event provides notifications on new messages, and
<code>addMessage()
</code>
6 allows an extension to add new messages.