Sorry guys, my bad, wrong index. Should've been using @b.footer(:index, 
0).exists?

thanks anyway, G


On Monday, 15 April 2013 13:11:31 UTC+1, Oscar.Rieken wrote:
>
> watir-classic => 
> http://rubydoc.info/github/watir/watir-classic/Watir/Container
> watir-webdriver => 
> http://watir.github.io/watir-webdriver/doc/Watir/Container.html
>
> they both contain footer(s) and header(s)
>
>
> On Mon, Apr 15, 2013 at 6:02 AM, Željko Filipin 
> <[email protected]<javascript:>
> > wrote:
>
>> On Mon, Apr 15, 2013 at 8:56 AM, gary <[email protected]<javascript:>
>> > wrote:
>>  
>>> if @b.footer(:index, 1).exists?
>>> undefined method `footer' for nil:NilClass (NoMethodError)
>>>  
>>
>> The error message says @b variable is not defined.
>>
>> Željko
>>  
>> -- 
>> -- 
>> Before posting, please read http://watir.com/support. In short: search 
>> before you ask, be nice.
>>  
>> [email protected] <javascript:>
>> http://groups.google.com/group/watir-general
>> [email protected] <javascript:>
>>  
>> --- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
-- 
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/groups/opt_out.


Reply via email to