mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-03-25 09:25:47 +00:00
When users search for windows with URLs containing ports (e.g., 'http://example.com:8080'), the system now provides much better debugging information when the window isn't found. Key improvements: - Enhanced window not found errors now list all available window titles - Added specific guidance for URL-based searches (try without protocol) - New CaptureError.windowTitleNotFound with detailed debugging info - Comprehensive test coverage for colon parsing in app targets - Better error messages help users understand why matching failed Example improved error: "Window with title containing 'http://example.com:8080' not found in Google Chrome. Available windows: 'example.com:8080 - Google Chrome', 'New Tab - Google Chrome'. Note: For URLs, try without the protocol (e.g., 'example.com:8080' instead of 'http://example.com:8080')." This addresses the common issue where browsers display simplified URLs in window titles without the protocol, making it easier for users to find the correct matching pattern. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| analyze-edge-cases.test.ts | ||
| analyze.test.ts | ||
| defensive-format-validation.test.ts | ||
| edge-case-fixes.test.ts | ||
| image-edge-cases.test.ts | ||
| image.test.ts | ||
| improved-window-error-messages.test.ts | ||
| invalid-format.test.ts | ||
| list.test.ts | ||
| multiple-app-matches.test.ts | ||
| path-traversal-error-handling.test.ts | ||
| window-title-matching.test.ts | ||