By.id constructor
- String id
Returns an element whose ID attribute matches the search value.
Implementation
const By.id(String id) : this('id', id);
Returns an element whose ID attribute matches the search value.
const By.id(String id) : this('id', id);