in reply to Re^4: Executing JavaScript function using WWW::Mechanize::Firefox
in thread Executing JavaScript function using WWW::Mechanize::Firefox
Not sure I understand what kind of a clue this is. Can you elaborate?
Its telling you there is no alert function because "this" is not a Window so there is no function "alert" -- even javascript has "namespaces"
See the docs and source code of https://metacpan.org/pod/WWW::Mechanize::Firefox#mech-eval_in_page-str-env-document and you'll understand.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Executing JavaScript function using WWW::Mechanize::Firefox
by Anonymous Monk on Feb 17, 2016 at 03:11 UTC | |
by Anonymous Monk on Feb 17, 2016 at 04:32 UTC | |
by Anonymous Monk on Feb 17, 2016 at 22:19 UTC | |
by Corion (Patriarch) on Feb 24, 2016 at 11:01 UTC | |
by Anonymous Monk on Feb 17, 2016 at 23:56 UTC |