Browser.targets() method
Gets all active targets.
In case of multiple browser contexts, this returns all targets in all browser contexts.
Signature:
class Browser {
abstract targets(): Target[];
}
Returns:
Target[]
Gets all active targets.
In case of multiple browser contexts, this returns all targets in all browser contexts.
class Browser {
abstract targets(): Target[];
}
Returns:
Target[]