Like Marshall, I am also impressed by your reply and attitude.

I am a bit of a WWW::Mechanize expert but not so with WWW::Mechanize::Firefox which I am not sure I ever even used. I have reached for WWW::Selenium but it's been probably four years since I did much with it and my impression is WMF will be more direct and maybe easier; Corion is likely to help you here if you get stuck on some point. That said, I'm reminded that the Selenium IDE will record your interactions and write them into scripts for you. Though apparently they have split Perl off and you have to download it separately now. :( http://www.seleniumhq.org/download/

In any case, this code won't be easy unless your Perl, your JS, and your HTML/HTTP chops are solid. Like most web programming, no single part of it is hard but the coagulation of a thousand points of failure makes it so.

All modern browsers have excellent developer tools panels to help you see cause and effect while you whittle the problem to a solution. Stack Overflow is usually an excellent place to get JavaScript answers; though if they are at least slightly related to a Perl issue, they're usually welcome here.

Update: fixed a link.


In reply to Re^2: Fast efficient webpage section monitoring by Your Mother
in thread Fast efficient webpage section monitoring by Marcool

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.