Fix an inaccurately implemented W3C element finder.
Fix an inaccurately implemented W3C element finder.

Also improved the isElementDisplayed method in xbid to only catch
NoSuchElementException.

PiperOrigin-RevId: 250314609

google/webdriver.dart,google/webdriver.dart,google/webdriver.dart