findElement method Null safety

Future<WebElement> findElement(
  1. By by
)

Searches for an element within the context.

Throws NoSuchElementException if no matching element is found.

Implementation

Future<WebElement> findElement(By by);