Am using page-object 0.6.3 and need to locate a div within an iframe which
in turn is inside a series of frame->frame->frameset. With
watir-webdriver, div is located with @browser.frame(:id =>
"FrameA").frameset(:id => "treeMain").frame(:id =>"FrameA").iframe(:id =>
"framepage").div(:class => "TblMgmt")
Tried the following using page-object, but it didn't work - frameset is not
a supported element in page-object currently
in_frame(:id => 'FrameA') do |frame|
in_frame({:id => 'FrameA'}, frame) do |frame|
in_frame({:id => 'framepage'}, frame) do |frame|
div(:tblstatus, :class => "TblMgmt", :frame => frame)
end
end
end
Is there any other trick, i can try?
Thanks.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]