-
teeter
Trying to automate a webview by evaluating javascript in a page. I can set the input control value with a CSS selector, but the input control object triggers a validation event on the webpage and will not let me submit until the validation happens. The fastest way I can see to fix this is to send keys to the input control. I have tried this with javascript, but cannot send keys to the webview, just set the value of the control. Does anyone have any ideas on how to get this working?
-
-
teeter
Does anyone know how to interact with Javascript in Pythonista? I use PhantomJS and Selenium on my desktop, but cannot for the life of me figure out how to get it working with Mechanize. I really just need to click accept on a modal and can't figure out how to do it without PhantomJS or Selenium. I tried setting the cookie to "accepted" and some other things, nothing is working. Any help is appreciated!