Skip to content

findElements returns double the actual number of elements on screen #15

@gautam-jain-dev

Description

@gautam-jain-dev

We're encountering an issue where the findElements command (using CDP driver) consistently returns twice the number of elements actually present on the screen. This discrepancy occurs even when the UI clearly shows only a single element or a fixed number of elements.

For instance, if the screen displays 1 button, findElements returns 2 elements. In another case, when there are 3 text inputs visible, the command returns 6 elements. However, findElement works correctly and returns just one matching element in the same conditions.

Browsers Tried: Opera and Brave

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