feat: pass highlighter selector for selector prop

This commit is contained in:
karishmas6
2024-07-31 04:55:09 +05:30
parent f608ef5895
commit 1872c3cc50

View File

@@ -89,7 +89,7 @@ export const BrowserWindow = () => {
clickY >= highlightRect.top && clickY >= highlightRect.top &&
clickY <= highlightRect.bottom clickY <= highlightRect.bottom
) { ) {
addBrowserStep('', highlighterData.elementInfo?.innerText || ''); addBrowserStep('', highlighterData.elementInfo?.innerText || '', highlighterData.selector);
} }
} }
}; };