@ai-ecoverse/slicc-browsers 1.50.0 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -100,6 +100,16 @@ async function framedEvaluate(reader, sessionId, pageUrl, budget, sessions) {
100
100
  );
101
101
  const iframeSession = attached.result.sessionId;
102
102
  sessions.push(iframeSession);
103
+ await reader.send(
104
+ 'Target.setAutoAttach',
105
+ {
106
+ autoAttach: true,
107
+ waitForDebuggerOnStart: false,
108
+ flatten: true,
109
+ filter: [{ type: 'worker' }, { exclude: true }],
110
+ },
111
+ iframeSession
112
+ );
103
113
  await outcome(reader.send('Runtime.runIfWaitingForDebugger', {}, iframeSession));
104
114
  await outcome(reader.send('Page.enable', {}, iframeSession));
105
115
  await outcome(reader.send('Runtime.enable', {}, iframeSession));