How can I set focus on an element?

I'm trying, but it simply gives focus to the plasmo-csui, not the specific element I want
Was this page helpful?