frame and iframe are different elements now, so you might want to check that. It used be that frame found frame and iframe, but no longer.
On Wednesday, February 4, 2015 at 5:22:26 AM UTC-5, [email protected] wrote: > > Hi all, > > I used to use watir for testing 2 years ago. Recently I wanted to rerun > the tests I wrote, but they no longer run, since in between I reinstalled > my OS and updated a few things: browser, chromedriver, ruby, etc. > > Currently I am using: > > - Chrome 40.0.2214.94 (64-bit) (installed on ubuntu 64bit using google > apt repo) > - chromedriver: 2.14 (downloaded from > http://chromedriver.storage.googleapis.com/) > - ruby: MRI 1.9.3, installed via rbenv/ruby-build > - watir-webdriver: 0.6.11 > > > The problem I am having: I have a complex web page with many nested frames > like this: > > frame (top) > frame name=viewport > frame name=menuframe > frame name=clientframe0 > frame name=clientframe1 > . > . > frame name=clientframe9 > > I used to access menuframe as follows: > > viewport = browser.frame(:name => "viewport") > viewport.exists? # true > viewport.html # print expected html content > > menuframe = viewport.frame(:name => "menuframe") > menuframe.exists? # false > > # next try > menuframe = viewport.frame(:index => 0) > menuframe.exists? # false > > > Any hint what I should try please? > > Regards, > Tony > -- -- 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] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
