Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

fix: add ClearCache and CanClearCache to MockBridge

Data2de0f65d62d3
diff --git a/internal/handlers/health_tabs_test.go b/internal/handlers/health_tabs_test.go
index c21faea3..919ca357 100644
--- a/internal/handlers/health_tabs_test.go
+++ b/internal/handlers/health_tabs_test.go
@@ -486,6 +486,14 @@ func (m *MockBridge) GetErrorLogs(tabID string, limit int) []bridge.ErrorEntry {
func (m *MockBridge) ClearErrorLogs(tabID string) {}
+func (m *MockBridge) ClearCache(ctx context.Context) error {
+ return nil
+}
+
+func (m *MockBridge) CanClearCache(ctx context.Context) (bool, error) {
+ return true, nil
+}
+
type mockBridgeDisconnected struct {
mockBridge
}