Hello Monks

i need to complete a script using WWWW::Mechanize.

after loging, and a bit navigating, on a HTML page i have to use a "CTRL+L" and on a second page a "ALT+S" to get the pages i need (containing the informations i am looking for).

i can't follow any link whith WWW::Mechanize for this pages. The 'shortcut' is the only solution i see (because of Java inside the page...)

what did i miss in WWW:Mechanize for doing this or which module do i need to learn to make this call to the 'shorcut' ?

any help is welcome ;-)

my demand has evoluate :

this is the code for my shorcut

"<td    nowrap="nowrap"  id="mx60_0"  align="left"   valign="top" style="vertical-align:top;"><div aria-live="polite" id="mx59_holder" class="bc"><span ctype="label"  id="mx59"   tabindex="0"     targetid="mx59"  mxevent="click" accesskey='s' class="text powerwhite   anchor" style="display:block;;cursor:pointer;;;;" title="Fermer la session ALT+S"><img id='mx59_image' src='../webclient/skins-20140225-1537/tivoli13/images/btn_signout.gif' class='pwimg' border='0' alt="Fermer la session ALT+S" style='vertical-align:top;margin:0px;margin-left:3px;margin-right:3px;'/><span><span>Fermer la </span><span class='text hl hlak'>s</span><span>ession</span></span></span></div></td>"

how can i click on it ?

the dump_links() doesn't find any way to give a chance.

any help is appreciated

best reguards


In reply to using shorcut in Mechanize by x-lours

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.