Open
Description
There are currently several problems with handling frames that should be resolved. Some of these problems are already covered by existing issues, but this new issue list all these highly related problems in one place. The whole frame handling logic should be rewritten and all these problems resolved at the same time.
Page Should (Not) Contain
searches text from frames, but only searches from one level and not from sub frames (Inconsistency in page/frame related keyword #98)- Other keywords don't look inside frames at all. This includes
Page Should (Not) Contain Element
andCurrent Frame Should (Not) Contain
. (Inconsistency in page/frame related keyword #98) Page Should (Not) Contain
internally selects the main frame, disabling earlierSelect Frame
calls.(Select Frame Keyword behaviour #201)- We should see could we deprecate all
Current Frame ...
keywords. It would be better that after selecting a frame, all subsequent keywords would operate in the frame. This may actually already be the case, except withPage Should (Not) Contain
which looks from the root (see 3. above). - If all keywords operate on the selected frame,
Page Should
is pretty misleading wording. Should we consider renaming these keywords likePage Should Contain -> Text Should Be Present
,Page Should Contain Element -> Element Should Be Present
?