Use normalize-space(.) instead of text() to capture button text inside child elements, add modal-scoped fallback selectors, and prefer JS click to avoid overlay interception. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Use normalize-space(.) instead of text() to capture button text inside child elements, add modal-scoped fallback selectors, and prefer JS click to avoid overlay interception. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>