getByTitle

DomNode getByTitle(

  1. String title, {
  2. bool exact = true,
})

Finds element by its title attribute.

Implementation

DomNode getByTitle(String title, {bool exact = true}) {
  final results = queryAllByTitle(title, exact: exact);
  return _getSingleResult(results, 'getByTitle', title);
}