The frame / iframe is still a warning and not an error.

This is likely related to the bug for switching between nested frames. It's
been fixed on the master branch, and will be available in the next gem
release (which will be after whenever selenium-webdriver 2.45 is released)

As a temporary check - see if putting this in your gemfile/gemspec solves
it:

gem 'watir-webdriver', :github => 'g...@github.com:watir/watir-webdriver.git'

Titus

On Wed, Feb 4, 2015 at 2:27 PM, Dan <dfra...@gmail.com> wrote:

> 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, t.ton...@gmail.com
> 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.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
>
> ---
> 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 watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
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 watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to