By.name constructor

const By.name(
  1. String name
)

Returns an element whose NAME attribute matches the search value.

Implementation

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