The Problem: I'm using Appium's python client to `send_keys` to a `WebElement`.
And Instruments decides it shouldn't tap certain keys sometimes.
This is a pain when I'm trying to do things like login. I need to be able to reliably type or programmatically set values on input fields.
el = driver.find_element_by_xpath('//UIAApplication[1]/UIAWindow[1]/UIATableView[1]/UIATableCell[1]/UIATextField[1]')
el.click()
el.send_keys('BECKERMA')
All pretty standard. And it usually works
But usually isn't cutting it. I need something solid.
Possible Solutions?
I think I can make `send_keys` work if I do some sort of try/retry if I get a `WebDriverException` back.
But what would be really cool is if I could set the value of the element through a JavaScript `execute_script` - or better yet - a selenium python binding!
I don't know JavaScript, and I've already tried searching for how to set the value on the object without doing `sendKeys` but I've come up blank.
Any ideas would be really helpful. Thanks!