def SetFocus(self) -> bool:
return self.Element.SetFocus() == S_OK<EOL>
Call IUIAutomationElement::SetFocus.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationelement-setfocus