Locator.find should not call findAll by default
alechenninger opened this issue · 0 comments
alechenninger commented
Currently, Locator#find(By)
has a default implementation that calls findAll and returns the first in the list. This should not ever be the behavior of a locator, in case an implementation wants to handle these cases separately. The default should always be casting the context, and using a specific findBy___
method to find one instance.