in reply to Re: How to use IEAutomation with iframes?
in thread How to use IEAutomation with iframes?
Thanks, I used CSS in Selenium and that worked OK - except for the intermittent cannot find element error (which is something to do with frames too I believe), but IEAutomation doesn't seem to support the use of CSS.
It just so happens the first frame sFrame has both an 'id' and 'name' attribute that are both the same. Using the 'name' to locate the frame seems to work, using id does not - it led me to wonder was there a bug in the IEAutomation code - I looked at the source but the id and name functions looked so similar. The second child frame only has an 'id' so I can't avoid using it.
Using 'id' for the image element seems to work ok.
I don't control the site unfortunately so can't make the changes.
So I'm a bit stuck.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to use IEAutomation with iframes?
by zerocred (Beadle) on Mar 13, 2010 at 10:36 UTC | |
by zerocred (Beadle) on Mar 13, 2010 at 10:57 UTC | |
by Anonymous Monk on Mar 13, 2010 at 10:59 UTC | |
by zerocred (Beadle) on Mar 13, 2010 at 11:24 UTC |