getByCssSelector

Returns the first Element found in the current search context by the given cssSelector.

Throws

NoSuchElementException

if no element found.