@farmslot/recipe-harness 0.16.0 → 0.16.1
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.
- package/CHANGELOG.md +4 -0
- package/dist/runtime/cdp.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to `@farmslot/recipe-harness` are tracked here.
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 0.16.1 - 2026-09-09
|
|
8
|
+
|
|
9
|
+
- Include native form controls and checkbox/radio/switch roles in browser readiness hit tests, so an actionable modal does not block its own setup.
|
|
10
|
+
|
|
7
11
|
## 0.16.0 - 2026-09-07
|
|
8
12
|
|
|
9
13
|
- Wait for stable CDP click targets, refresh contexts invalidated by navigation before dispatch, and run app restart preparation only once.
|
package/dist/runtime/cdp.js
CHANGED
|
@@ -288,7 +288,7 @@ export async function probeCdpCompositorInteractivity(session, timeoutMs = 1_000
|
|
|
288
288
|
requestAnimationFrame((secondFrame) => resolve(secondFrame > firstFrame));
|
|
289
289
|
});
|
|
290
290
|
});
|
|
291
|
-
const candidates = [...document.querySelectorAll('button, a, [role="button"], [role="link"], [role="tab"]')];
|
|
291
|
+
const candidates = [...document.querySelectorAll('button, a, input, select, textarea, [role="button"], [role="link"], [role="tab"], [role="checkbox"], [role="radio"], [role="switch"]')];
|
|
292
292
|
const visibleTargets = candidates.filter((element) => {
|
|
293
293
|
if (element.disabled || element.getAttribute('aria-disabled') === 'true') return false;
|
|
294
294
|
const style = getComputedStyle(element);
|