I think you still have to pass in and define myalert as a (Perl) subroutine, and you shouldn't edit FireFox.pm but declare your own subroutine for that. I haven't tried capturing alert() myself, as I haven't needed it yet.
In reply to Re^5: fetch HTML page, do javascript, read output from alert/msgbox
by Corion
in thread fetch HTML page, do javascript, read output from alert/msgbox
by TheFlyingCorpse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |