Returns mounted elements whose widget key equals key.
key
List<Element> byKey(Key key) { return _tester.elementsWhere((e) => e.widget.key == key); }