focused_element_details issue

I want the key to be triggered when there is any selected text.

Normally the keyboard shortcut is triggered but when i use focused_element_text as trigger condition that there is a selected text then the keyboard action shortcut is not triggered.