feat: emit elementInfo with data highlighter

This commit is contained in:
karishmas6
2024-07-27 01:47:06 +05:30
parent 8a440f37d8
commit e9fa40c1af

View File

@@ -487,7 +487,7 @@ export class WorkflowGenerator {
const elementInfo = await getElementInformation(page, coordinates);
//console.log('Backend Rectangle:', rect)
if (rect) {
this.socket.emit('highlighter', { rect, selector: displaySelector });
this.socket.emit('highlighter', { rect, selector: displaySelector, elementInfo });
}
}