Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UI Automation - how to capture - record using javascript editor

MobileSafari.app doesn't have accessibility labels is there a way to capture (record) events so that i can use in the javascript for UI Automation?

there was a previous post which made that statement but didn't provide any instructions as to how to record using the javascript editor

details please

thank you in advance!

like image 781
mimi Avatar asked Mar 15 '26 04:03

mimi


1 Answers

Just open a new script in your Instrument session, and push the little record button at bottom of the page (appears on the screenshot). Now use your app and you should get that kind of stuff:
enter image description here

Now you can see the value or the name of your buttons and use it to write your own scripts. I'm not a programmer, so this tool is very useful for me.
Hope it will be for you too. :)

like image 81
Yvan Moullec Avatar answered Mar 22 '26 14:03

Yvan Moullec



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!