Commit 6e4f7c5
fix: use Array.from() for WebDriver element collections in selectElement
WebDriver returns element collections that aren't plain arrays, so
.map() may not work correctly. Matches the pattern used in WebDriver's
own assertOnlyOneElement.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c3097db commit 6e4f7c5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments