getFirstTab method
Implementation
Future<ChromeTab?> getFirstTab({
Duration timeout = const Duration(seconds: 20),
}) async {
return await _connectToTab(
connection: ChromeConnection('localhost', debugPort),
tabFound: (tab) => !tab.isBackgroundPage && !tab.isChromeExtension,
timeout: timeout,
);
}