On Monday, April 15, 2013 6:25:40 AM UTC-7, gary wrote:
>
> Sorry guys, my bad, wrong index. Should've been using @b.footer(:index, 
> 0).exists?
>
> thanks anyway, G
>

Yes, zero based indexing these days.

might also have been good to include where you created @b   although in the 
context of watir it's somewhat reasonable to presume it is a browser 
object, I've seen presumptions like that lead to wild goose chases.
 

>
>
> 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]>wrote:
>>
>>> On Mon, Apr 15, 2013 at 8:56 AM, gary <[email protected]> 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]
>>> 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.
>>>  
>>>  
>>>
>>
>>

-- 
-- 
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