You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(Log): add entry filtering methods for test mocking (#242)
Add five filtering methods to the Log class for common entry filtering
use cases, particularly useful when using HAR files for test mocking:
- filterEntriesByUrlPattern: Filter by regex pattern against URL
- filterEntriesByMethod: Filter by HTTP method (case-insensitive)
- filterEntriesByStatus: Filter by status code range (inclusive)
- filterEntriesByDomain: Filter by domain (case-insensitive)
- filterEntriesByContentType: Filter by content type (partial match)
All methods return re-indexed arrays and support case-insensitive
matching where appropriate.
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments