playwright-mcp/src
Ryan Malloy afaa8a7014 feat: comprehensive console capture and offline mode support
Major enhancements to browser automation and debugging capabilities:

**Console Capture Features:**
- Add console output file option (CLI, env var, session config)
- Enhanced CDP console capture for service worker messages
- Browser-level security warnings and mixed content errors
- Network failure and loading error capture
- All console contexts written to structured log files
- Chrome extension for comprehensive console message interception

**Offline Mode Support:**
- Add browser_set_offline tool for DevTools-equivalent offline mode
- Integrate offline mode into browser_configure tool
- Support for testing network failure scenarios and service worker behavior

**Extension Management:**
- Improved extension installation messaging about session persistence
- Console capture extension with debugger API access
- Clear communication about extension lifecycle to MCP clients

**Technical Implementation:**
- CDP session management across multiple domains (Runtime, Network, Security, Log)
- Service worker context console message interception
- Browser context factory integration for offline mode
- Pure Chromium configuration for optimal extension support

All features provide MCP clients with powerful debugging capabilities
equivalent to Chrome DevTools console and offline functionality.
2025-08-31 16:28:43 -06:00
..
extension chore(extension): exit gracefully when waiting for extension connection (#754) 2025-07-24 16:02:02 -07:00
loop chore: retain the source code from the underlying tools (#756) 2025-07-24 17:08:35 -07:00
loopTools chore: retain the source code from the underlying tools (#756) 2025-07-24 17:08:35 -07:00
mcp feat: implement MCP client session persistence for browser contexts 2025-08-12 12:22:46 -06:00
tools feat: comprehensive console capture and offline mode support 2025-08-31 16:28:43 -06:00
artifactManager.ts feat: implement centralized artifact storage with session isolation 2025-08-15 06:42:16 -06:00
browserContextFactory.ts feat: comprehensive console capture and offline mode support 2025-08-31 16:28:43 -06:00
browserServerBackend.ts feat: add snapshot size limits and optional snapshots to fix token overflow 2025-08-22 07:54:36 -06:00
config.ts feat: comprehensive console capture and offline mode support 2025-08-31 16:28:43 -06:00
context.ts feat: comprehensive console capture and offline mode support 2025-08-31 16:28:43 -06:00
environmentIntrospection.ts feat: implement MCP client session persistence for browser contexts 2025-08-12 12:22:46 -06:00
fileUtils.ts chore: experimental agent mode (#516) 2025-06-04 09:14:50 -07:00
httpServer.ts chore: extract pure mcp server helpers (#751) 2025-07-24 12:57:01 -07:00
index.ts chore: extract pure mcp server helpers (#751) 2025-07-24 12:57:01 -07:00
javascript.ts feat: respond with action and generated locator (#181) 2025-04-15 10:55:20 -07:00
log.ts chore: allow right click (#687) 2025-07-17 13:24:05 -07:00
manualPromise.ts feat(dialog): handle dialogs (#212) 2025-04-17 14:03:13 -07:00
package.ts chore: add eval script (#743) 2025-07-23 10:31:37 -07:00
program.ts feat: add console output file option for debugging and monitoring 2025-08-24 14:12:00 -06:00
response.ts feat: add snapshot size limits and optional snapshots to fix token overflow 2025-08-22 07:54:36 -06:00
sessionLog.ts chore: save session log (#740) 2025-07-22 20:06:03 -07:00
sessionManager.ts feat: implement centralized artifact storage with session isolation 2025-08-15 06:42:16 -06:00
tab.ts feat: comprehensive console capture and offline mode support 2025-08-31 16:28:43 -06:00
tools.ts feat: add browser configuration tool and fix STDIO mode 2025-08-11 03:39:24 -06:00