Friday 15 January 2010

ios - Is it possible to execute javascript in a UIWebView via UIAutomation? -


As the title, I want to execute some JavaScript inside the UIWebView via UIAutomation Console. Can it be done? I am assuming should be possible, but I can not find anything in the document or in fact how it can be done.

I think it is not possible to UIAWebView to UIWebView < / Code> does not evaluate the method you can click on a link though: target.frontMostApp (). MainWindow () ScrollViews () [0] .webViews () [0] .links () ["Say hello"]. Tap (); tried to record a script with the tool to see just possible.

No comments:

Post a Comment