I have a simple code which gives a No Such Element Exception intermittently. Sometimes it finds a code,sometimes it is not able to do so. Not sure why winium throws such exception.
Demo Example:
def make_call_from_phone(self,extension):
self.window.find_element_by_id("DialPad").click() ##Clicks on dialpad
self.driver.implicitly_wait(5)
time.sleep(10)
self.window.find_element_by_id("DialPadTextBox").send_keys(extension)
##Enters extension
time.sleep(10)
self.window.find_element_by_id("DialPadButton").click() ##Clicks on call
button