titleBar method

Finder titleBar(
  1. dynamic text, {
  2. bool skipOffstage = true,
})

Finds YaruTitleBar by text.

Implementation

Finder titleBar(dynamic text, {bool skipOffstage = true}) {
  return ancestor(
    of: _textOrFinder(text, skipOffstage),
    matching: byType(YaruTitleBar, skipOffstage: skipOffstage),
  );
}