feat: use innerText instead of selector
This commit is contained in:
@@ -89,7 +89,7 @@ export const BrowserWindow = () => {
|
|||||||
clickY >= highlightRect.top &&
|
clickY >= highlightRect.top &&
|
||||||
clickY <= highlightRect.bottom
|
clickY <= highlightRect.bottom
|
||||||
) {
|
) {
|
||||||
addBrowserStep('', highlighterData.selector);
|
addBrowserStep('', highlighterData.elementInfo?.innerText || '');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user