By.tagName constructor

const By.tagName(
  1. String tagName
)

Returns an element whose tag name matches the search value.

Implementation

const By.tagName(String tagName) : this('tag name', tagName);