in electron/execution.ts [73:80]
async function onRecordJourney(event: IpcMainInvokeEvent, url: string) {
if (browserManager.isRunning() || syntheticsManager.isRunning()) {
throw new Error(
'Cannot start recording a journey, a browser operation is already in progress.'
);
}
await recordJourney(event, url, browserManager);
}