title: Flutter Driver: Test BottomNavigationBarItem
body: <p>how do I test BottomNavigationBarItems via <strong>FlutterDriver</strong>?</p>
  
  <p><strong>FlutterDriver</strong> allows accessing Widgets via <strong>text</strong>, <strong>byValueKey</strong>, <strong>byTooltip</strong> and <strong>byType</strong>.</p>
  
  <p>But none of these methods work out for my App because of following reasons:</p>
  
  <ul>
  <li><p><strong>text</strong>: The App is localized and I need to test the App in multiple languages.</p></li>
  <li><p><strong>byValueKey</strong>: BottomNavigationBarItems do not have <strong>key</strong> properties.</p></li>
  <li><p><strong>byTooltip</strong>: BottomNavigationBarItems do not have <strong>toolTip</strong> properties.</p></li>
  <li><p><strong>byType</strong>: byType only returns the first match of the type and no list (needed because I have multiple tabs).</p></li>
  </ul>
  
  <p>Thank you very much!</p>
  
  <p>Cheers.</p>