Replies: 2 comments
-
I'm not comfy with my JS, but if I grep the code for I would assume that the part (lines 79..91) should be moved into a function and recurse or looped until all However, there is more in Could someone look into this? And even implement? Would be awesome! |
Beta Was this translation helpful? Give feedback.
-
Some answers for reference:
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I try to automate something in (irefox in) a horrible web UI that is dynamically nesting iframes within iframes. Plus, some have IDs while others only have names (
<iframe name="some-name">
).I tried both CSS selectors and XPath.
I tried to
#iframe_w_id |> [name="frame-name"]
, I tried to "switch frame" - one at a time and directly to the inner frame.Are nested iframes supported at all?
The "switch-frame" block says it supports CSS and XPath. Other blocks have a drop-down which one it is, this one dosn't. Does it still support both selectors?
XPath seems to be evaluated only within the current frame, correct? At least running
//iframe[@name='some-name']
or//input[@id="id-in-nested-iframe"]
did not work,Regarding the iframe selector extension to CSS selectors - is the meaning the left expression selects the iframe element and the right expression selects an element that is a direct child of the iframe? Is it more like
elem1 elem2
with elem2 is a descendant or more likeelem1 > elem2
where elem1 is the parent of elem2, just with iframes?Thanks.
Chris.
Beta Was this translation helpful? Give feedback.
All reactions