chrome-cdp-cli 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ A command-line tool designed specifically for Large Language Models (LLMs) and A
|
|
|
49
49
|
- 📸 **Visual Capture**: Take screenshots and capture complete DOM snapshots with layout information
|
|
50
50
|
- 📊 **Console Monitoring**: Real-time console message capture with filtering and storage
|
|
51
51
|
- 🌐 **Network Monitoring**: Real-time network request/response monitoring with comprehensive filtering
|
|
52
|
-
- 🖱️ **Element Interaction**:
|
|
52
|
+
- 🖱️ **Element Interaction**: Complete native interaction commands (click, hover, fill, drag, press_key, upload_file, wait_for, handle_dialog)
|
|
53
53
|
- 🔧 **CLI Interface**: Full command-line interface with argument parsing and routing
|
|
54
54
|
- 🛠️ **IDE Integration**: Install Cursor commands and Claude skills with directory validation and --force option
|
|
55
55
|
- 📦 **Build System**: Complete TypeScript build pipeline with testing framework
|
|
@@ -101,7 +101,7 @@ This tool is designed for LLM-assisted development. The IDE integrations (`insta
|
|
|
101
101
|
- ⚡ **JavaScript Execution**: Execute JavaScript code in browser context with full async support
|
|
102
102
|
- 📸 **Visual Capture**: Take screenshots and capture HTML content
|
|
103
103
|
- 📊 **Monitoring**: Monitor console messages and network requests in real-time
|
|
104
|
-
- 🖱️ **Element Interaction**:
|
|
104
|
+
- 🖱️ **Element Interaction**: Complete native interaction commands (click, hover, fill, drag, press_key, upload_file, wait_for, handle_dialog)
|
|
105
105
|
- 📝 **Form Automation**: Single field and batch form filling with comprehensive options
|
|
106
106
|
- 🔧 **Flexible Output**: Support for JSON and human-readable text output formats
|
|
107
107
|
- 🚧 **Eval Workarounds**: Many advanced features available through JavaScript execution
|
|
@@ -586,7 +586,6 @@ chrome-cdp-cli eval "document.cookie"
|
|
|
586
586
|
These features require dedicated handlers and are not yet available:
|
|
587
587
|
|
|
588
588
|
- Native page management commands (new_page, close_page, list_pages, select_page)
|
|
589
|
-
- Native element interaction commands (click, hover, fill, drag)
|
|
590
589
|
- Native performance profiling commands
|
|
591
590
|
- Native device emulation commands
|
|
592
591
|
- Advanced output formatting options
|
|
@@ -669,20 +668,15 @@ new Promise(resolve => {
|
|
|
669
668
|
- `new_page`, `close_page`, `list_pages`, `select_page`
|
|
670
669
|
- Direct CDP Target domain integration
|
|
671
670
|
|
|
672
|
-
2. **
|
|
673
|
-
- `click`, `hover`, `fill`, `fill_form` commands
|
|
674
|
-
- CSS selector-based element targeting
|
|
675
|
-
- Comprehensive form filling with batch operations
|
|
676
|
-
|
|
677
|
-
3. **Performance Analysis**
|
|
671
|
+
2. **Performance Analysis**
|
|
678
672
|
- `performance_start_trace`, `performance_stop_trace`
|
|
679
673
|
- Built-in performance metrics and analysis
|
|
680
674
|
|
|
681
|
-
|
|
675
|
+
3. **Device Emulation**
|
|
682
676
|
- `emulate` command for device simulation
|
|
683
677
|
- Network condition simulation
|
|
684
678
|
|
|
685
|
-
|
|
679
|
+
4. **Advanced Output Formatting**
|
|
686
680
|
- Enhanced JSON/text formatting
|
|
687
681
|
- Quiet and verbose modes
|
|
688
682
|
- Custom output templates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chrome-cdp-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "LLM-first browser automation CLI via Chrome DevTools Protocol. Eval-first design optimized for AI assistants - LLMs write JavaScript scripts for rapid validation. Features: JavaScript execution, element interaction, screenshots, DOM snapshots, console/network monitoring. Built-in IDE integration for Cursor and Claude.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|