()
| 37 | DevTools.ProtocolClient.InspectorBackend.test.suppressRequestErrors = true; |
| 38 | |
| 39 | const noopAgentCommand = (): Promise<{getError: () => undefined}> => { |
| 40 | return Promise.resolve({ |
| 41 | getError: () => undefined, |
| 42 | }); |
| 43 | }; |
| 44 | |
| 45 | // Stub out Network emulation commands on the DevTools Agent prototype globally. |
| 46 | // This prevents the DevTools Frontend from ever resetting/clearing Puppeteer's |