click
Click an element via DOM .click(). selector can be a CSS selector or a @eN ref from snapshot. Refs are more reliable on SPAs. Try this first for buttons/links; if the click doesn't register (SPA pointer-event routers, canvas or drag-and-drop UIs), escalate to mouse_click, which fires a real pointer sequence. Refuses rather than reporting a no-op as success when the target cannot receive the click at all: element_disabled for a control carrying the HTML disabled attribute (Chrome dispatches nothing there — satisfy whatever enables it, e.g. wait_for it to become enabled, then retry), and bad_ref/not_found for a node detached from the document. A zero-size element IS still clicked (a hidden <input type=file> is a normal upload pattern) and merely comes back flagged hidden:true. waitFor polls for the click's effect (panel opened, item selected) in the same call.