Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Interact with Javascript in Pythonista
-
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!
-
use a ui.WebView instead of mechanize. This also lets you evaluate arbitrary js.
-
This worked great. Thank you!