ideally, something like div().that(hasCssClass("myclass")).that(hasAttribute("attr",startsWith("A"))) would optimise to use By.cssSelector withdiv.myclass[attr^="A") rather than current behaviour which guesses the most specific criterion and produces a single selenium command from that, (checking the other criteria manually)
ideally, something like
div().that(hasCssClass("myclass")).that(hasAttribute("attr",startsWith("A")))would optimise to useBy.cssSelectorwithdiv.myclass[attr^="A")rather than current behaviour which guesses the most specific criterion and produces a single selenium command from that, (checking the other criteria manually)