FlutterDriver locator and fluent-style improvements #20785
To be more like Selenium-WebDriver, FlutterDriver would be better if it had a mechanism to find lists of matches for a given locator.
// WebDriver's Java API: Element element = webDriver.findElement(locator); // singular match List<WebElement> elements = webDriver.findElement(locator); // multiple matches, returned as list String secondElemText = elements.get(1).getText();
FlutterDriver only has mechanisms to target single matches to locators, right now.
To be honest, FlutterDriver's API feels more like Selenium-RC from 2004 (I co-created that) rather than the superior Selenium2 API (WebDriver) that came a few years later.
The text was updated successfully, but these errors were encountered: