Find elements via the driver's underlying W3C Selector engine. If the browser does not implement the Selector API, the best effort is made to emulate the API. In this case, we strive for at least CSS2 support, but offer no guarantees. @param cssSelector CSS expression. @return A By which locates el
(String cssSelector)
| 110 | * @return A By which locates elements by CSS. |
| 111 | */ |
| 112 | public static By cssSelector(String cssSelector) { |
| 113 | return new ByCssSelector(cssSelector); |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * Find a single element. Override this method if necessary. |
no outgoing calls