Yes, Microsoft is not known for following standards. The OP indeed can use the click method to browse to those links as Microsoft extends the functionality of click() to other, non-INPUT elements. I have to concede that I foolishly thought Microsoft would follow the standards their own documentation links to.

fireEvent is a method in Microsoft's DOM, not something specific to OLE Automation, and from what I can tell it doesn't perform the default action of the event on the element (in the case of AnchorElement->onclick, browsing to href), just any custom event handlers attached to event on that element. So if the OP's page had a:hrefs like 'javascript:.*' instead of onclick handlers, using fireEvent would not work for them.

In reply to Re^7: Is it possible to trigger a mouse click action in a browser using Perl? by james2vegas
in thread Is it possible to trigger a mouse click action in a browser using Perl? by eshwar

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.