targets property

List<Target> targets

An array of all active targets inside the browser context.

Implementation

List<Target> get targets {
  return browser.targets
      .where((target) => target.browserContext == this)
      .toList();
}