function getDevtoolsLog(requestIdPrefix = '36185') {
    const log = networkRecordsToDevtoolsLog([
      {url: 'http://example.com', priority: 'VeryHigh', requestId: `${requestIdPrefix}.1`},
      {url: 'http://example.com/xhr', priority: 'High', requestId: `${requestIdPrefix}.2`},
      {url: 'http://example.com/css', priority: 'VeryHigh', requestId: `${requestIdPrefix}.3`},
      {url: 'http://example.com/offscreen', priority: 'Low', requestId: `${requestIdPrefix}.4`},
    ]);

    // Bring the starting events forward in the log.
    /** @type {LH.Protocol.RawEventMessage[]} */
    const startEvents = log.filter(m => m.method === 'Network.requestWillBeSent');
    const restEvents = log.filter(m => !startEvents.includes(m));
    return [...startEvents, ...restEvents];
  }
Use requestIdPrefix to ensure unique requests if used more than once in a test.