connectToTabId method

Future<ChromeTab?> connectToTabId(
  1. String host,
  2. String id, {
  3. Duration timeout = const Duration(seconds: 20),
})

Implementation

Future<ChromeTab?> connectToTabId(
  String host,
  String id, {
  Duration timeout = const Duration(seconds: 20),
}) async {
  return await _connectToTab(
    connection: ChromeConnection(host, debugPort),
    tabFound: (tab) => tab.id == id,
    timeout: timeout,
  );
}