src/Browser/BrowserNetworkTrait.php
public function networkTraffic() {
    $networkTraffic = $this->command('network_traffic');
    $requestTraffic = array();

    if (count($networkTraffic) === 0) {
      return null;
    }

    foreach ($networkTraffic as $traffic) {
      $requestTraffic[] = new Request($traffic["request"], $traffic["responseParts"]);
    }

    return $requestTraffic;
  }
public function networkTraffic() {
    $networkTraffic = $this->command('network_traffic');
    $requestTraffic = array();

    if (count($networkTraffic) === 0) {
      return null;
    }

    foreach ($networkTraffic as $traffic) {
      $requestTraffic[] = new Request($traffic["request"], $traffic["responseParts"]);
    }

    return $requestTraffic;
  }
Get all the network traffic that the page have created
@return array