Thanks, but that yields the error "MozRepl::RemoteObject: TypeError: 'alert' called on an object that does not implement interface Window. at test_js.pl line 23."
Also, my problem is that in my use case, I don't write the JavaScript myself -- I am trying to have Firefox use a website that has a couple of functions which I want to call.
In reply to Re^2: Executing JavaScript function using WWW::Mechanize::Firefox
by Anonymous Monk
in thread Executing JavaScript function using WWW::Mechanize::Firefox
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |