Skip to content

vibium find returns a ref for disabled elements, inconsistent with map #212

Description

@vincebln2

Description

vibium find returns a ref for disabled elements and exits 0. vibium map correctly excludes them. The two commands should be consistent.

Steps to reproduce:

vibium go https://testtrack.org
vibium eval 'document.body.insertAdjacentHTML("beforeend","<button id=\"b29\" disabled>B29</button>")'
vibium find "#b29"
vibium map --selector "#b29"

Expected: find exits 1 (element not actionable), consistent with map

Actual:

vibium find "#b29"             → @e1 [button] "B29", exit 0
vibium map --selector "#b29"  → No interactive elements found

Environment

vibium v26.5.31 · Chrome for Testing 149.0.7827.115 · macOS 26.5.1

References

#112 (B29)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions