feat: get current active browser id from pool

This commit is contained in:
karishmas6
2024-06-07 23:49:38 +05:30
parent 4b06903c88
commit f62191a56e

View File

@@ -97,6 +97,9 @@ export class WorkflowGenerator {
workflow: [],
} );
socket.on('activeIndex', (data) => this.generatedData.lastIndex = parseInt(data));
socket.on('decision', async ({pair, actionType, decision}) => {
const id = browserPool.getActiveBrowserId();
})
};