Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
3da6bf1 to
b211f08
Compare
b211f08 to
caea631
Compare
caea631 to
01d925b
Compare
01d925b to
284114f
Compare
284114f to
642e9bb
Compare
642e9bb to
e63e7be
Compare
Fold the destroyed-tab handling into the top_context model: a destroyed top-level tab drops its ids, labels, refs and documents, and the session falls back to a surviving tab. The getTree lookup stays as the fallback when no tab is left.
…text insertion check and uncheck fall back to a JS click on hidden checkboxes. hover, tap and drag skip the actionability check. Back and forward buttons use BiDi button codes 3 and 4. drag commits mouse state. Text insertion with no editable focus succeeds and drops the text.
… fill Frame points are mapped into the page viewport before they are stored, so later commands do not press at a stale coordinate. fill and type report dialogOpened when focusing opens a prompt.
| let (mut tree_nodes, roots) = build_tree(nodes); | ||
| assign_refs( | ||
| &mut tree_nodes, | ||
| &HashMap::new(), |
There was a problem hiding this comment.
Firefox can only call this with an empty cursor map, so cursor:pointer/onclick/tabindex elements never get refs; a clickable
| .and_then(Value::as_i64) | ||
| .unwrap_or(1) | ||
| .max(0) as u32; | ||
| let actions = pointer_click( |
There was a problem hiding this comment.
click, dblclick and drag never read inputMode or seed, so --human and --input-mode are silently ignored on Firefox even though click/drag are documented to move with a curve. Not reproduced.
| let (mut tree_nodes, roots) = build_tree(nodes); | ||
| assign_refs( | ||
| &mut tree_nodes, | ||
| &HashMap::new(), |
There was a problem hiding this comment.
Firefox snapshots pass an empty cursor-interactive map, so elements the AX tree exposes without an interactive role (a div with onclick, cursor:pointer, hidden radio labels) get no ref and cannot be targeted by ref. Reproduced.
| } | ||
|
|
||
| /// Clicks a ref or selector, returning Chrome's `{clicked}` shape. | ||
| pub async fn click(cmd: &Value, state: &mut DaemonState) -> Result<Value, String> { |
There was a problem hiding this comment.
click, dblclick and drag never read inputMode or seed, so --human/--input-mode are silently ignored and the pointer jumps to the target in one 0ms move, unlike Chrome. Reproduced.
Uh oh!
There was an error while loading. Please reload this page.