@camunda/e2e-test-suite 0.0.554 → 0.0.556
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.
|
@@ -63,10 +63,14 @@ function shouldSkipProxying(value) {
|
|
|
63
63
|
return true;
|
|
64
64
|
}
|
|
65
65
|
// Best-effort detection based on constructor name to avoid importing Playwright types.
|
|
66
|
+
// Playwright 1.60+ exposes these classes as `_Locator` / `_FrameLocator` / `_ElementHandle`.
|
|
66
67
|
const ctorName = value.constructor?.name;
|
|
67
68
|
return (ctorName === 'Locator' ||
|
|
69
|
+
ctorName === '_Locator' ||
|
|
68
70
|
ctorName === 'FrameLocator' ||
|
|
69
|
-
ctorName === '
|
|
71
|
+
ctorName === '_FrameLocator' ||
|
|
72
|
+
ctorName === 'ElementHandle' ||
|
|
73
|
+
ctorName === '_ElementHandle');
|
|
70
74
|
}
|
|
71
75
|
// Cache to avoid wrapping the same object multiple times (which can lead to duplicate logs)
|
|
72
76
|
const proxyCache = new WeakMap();
|