Though I can't cite a reference, offhand, and thus am uncertain that my recall is accurate, I believe I discovered some years ago that some authorities deprecate use of id="xyz" as the sole ident in an html tag "attribute=value" pair. The rationale, IIRC, is that some tools fail to parse it correctly (perhaps, ??, because of a conflict with use of id in css??
In any case, I have utilized the proposed cure -- namely, adding name="xyz" (where xyz is identical to the value in the id="xyz") -- and that has consistently worked, over multiple sites, browsers, versions and hosts.
I conceed, this may be OT or even irrelevant, but your statement
Using 'name:' works!
$ie->getFrame('name:', 'info')->getImage('id:', "selBtn2")->Click();
leads me to suspect you control the website content and could thus make the necessary changes... perhaps even fairly painlessly.
In reply to Re: How to use IEAutomation with iframes?
by ww
in thread How to use IEAutomation with iframes?
by zerocred
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |