Can't get even the simplist script to run

I can’t see where I’m going wrong with scripting, I can’t even get the most basic script to run. For example:

navigate	https://www.excite.com/
execAndWait	window.alert("Boo");

I would expect it to open the Excite News page, then bring up a basic alert window which could then be seen in the filmstrip?

It really can’t get much simpler, can anyone see what I’m doing wrong?

Thanks!

1 Like

Alert boxes are blocked by the agent so that may be messing with your debugging attempts.

This script:

navigate  https://www.excite.com/
execAndWait document.getElementsByTagName('a')[11].click()

Looks like it worked ok.

1 Like

Thanks so much, Pat! I hope you are keeping well!

Matt