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