By.cssSelector constructor Null safety

const By.cssSelector(
  1. String cssSelector
)

Returns an element matching a CSS selector.

Implementation

const By.cssSelector(String cssSelector) : this('css selector', cssSelector);