connectToTab method
Implementation
Future<ChromeTab?> connectToTab(
String url, {
Duration timeout = const Duration(seconds: 20),
}) async {
return await _connectToTab(
connection: ChromeConnection(Uri.parse(url).host, debugPort),
tabFound: (tab) => tab.url == url,
timeout: timeout,
);
}