def Select(self, waitTime: float = OPERATION_WAIT_TIME) -> bool:
ret = self.pattern.Select() == S_OK<EOL>time.sleep(waitTime)<EOL>return ret<EOL>
Call IUIAutomationSelectionItemPattern::Select.
Clear any selected items and then select the current element.
waitTime: float.
Return bool, True if succeed otherwise False.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationselectionitempattern-select