Skip to content

v2.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Apr 11:18

新增

neo click-xy

绕开 a11y tree 在视口坐标点击。解决自定义 combobox、portal/popover、shadow DOM、跨域 iframe 里 click <ref> 失败的场景 (#24)。

neo eval-val

用 native setter + input/change 事件派发写入受控输入,兼容 React / Vue / Angular。fill <ref> 对这些框架无效时用这个 (#24)。

何时用哪个

场景 命令
标准 HTML,a11y 可见 click <ref> / fill <ref>
combobox 选项、portal、shadow DOM click-xy <x> <y>(先 eval 拿坐标)
React/Vue/Angular 受控输入 eval-val <selector> <value>
表单导航 press Tab / press ArrowDown

其他

173 passed, 0 failed.

closes #24 (P0 + P1)