cdp_examples

Examples for justjavac/cdp

cdp
chrome-devtools-protocol
examples
moon add justjavac/cdp_examples@0.1.5
Download zip
Author
Version
0.1.5
License
MIT
Last updated
24 days ago
Downloads
29

Dependencies

README

#justjavac/cdp examples

Runnable examples for the justjavac/cdp MoonBit Chrome DevTools Protocol library.

#Run

Start Chrome with remote debugging:

& "C:\Program Files\Google\Chrome\Application\chrome.exe" ` --remote-debugging-port=9222 ` --user-data-dir="$env:TEMP\mbt-cdp-profile"

Then run an example:

$env:MBT_CDP_TARGET = "9222" $env:MBT_CDP_EXAMPLE = "discover_version" moon run cmd $env:MBT_CDP_EXAMPLE = "runtime_evaluate" moon run cmd

From the repository root, prefix the command with -C examples:

moon -C examples run cmd

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io