feat: get current active browser id from pool
This commit is contained in:
@@ -97,6 +97,9 @@ export class WorkflowGenerator {
|
|||||||
workflow: [],
|
workflow: [],
|
||||||
} );
|
} );
|
||||||
socket.on('activeIndex', (data) => this.generatedData.lastIndex = parseInt(data));
|
socket.on('activeIndex', (data) => this.generatedData.lastIndex = parseInt(data));
|
||||||
|
socket.on('decision', async ({pair, actionType, decision}) => {
|
||||||
|
const id = browserPool.getActiveBrowserId();
|
||||||
|
})
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user