At the moment, grid select does not ensure, that a row, that should be selected, is visible and thus eligible to do so. This behavior can be unexpected, since a lot of other basic TestBenchElement methods ensure, that they are visible, before doing an interaction (like click or sendKeys).
Therefore we should provide this feature also for grid rows. The easiest change would be to simply let getRow(int) do the scroll by changing the internal call to getRow(rowIndex, true) as this would also for other interactions ensure, that the row is visible.
Alternatively select could call scrollIntoView before doing the select itself.
Vaadin 24.9.4