is there method identify following in selenium?
number of iframes in page attributes/details of current iframe
driver.findelements(by.xpath("//iframe")).size(); for acquiring details of current frame propose switch using webelement object , switchto, , attributes do, getattribute
upd
in fact, yes, first give amount of iframes in current context. if don't want recursively, want quick , working (dirty) solution - page source , find inclusions of "<iframe" string
Comments
Post a Comment