The handleGetText function now retrieves text using innerText, falling back to textContent if innerText is not available. This change enhances the accuracy of text extraction from elements. Co-authored-by: Honglei Wu <honglei.wu@shopee.com>