I get the following error:

c:/ruby-186-26/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:52:in 
`assert_exists': Unable to locate element, using :index, 0 
(Watir::Exception::UnknownObjectException)
    from (eval):2:in `html'
    from index.rb:6

Is this what you are seeing?

aidy lewis wrote:
> Hi,
>
> An example of the problem below
>
> ['watir', 'firewatir'].each { | g | require g }
> ie = Watir::IE.new
> ff = FireWatir::Firefox.new
> [ie, ff].each { |b| b.goto("http://www.google.com";) }
> ff.table(:index, 1).rows[0].html
> ie.table(:index, 1).rows[0].html
>
>
> Aidy
>
> On 28/11/2008, aidy lewis <[EMAIL PROTECTED]> wrote:
>   
>> Hi,
>>
>>  Has anyone experienced index variations in Watir and FireWatir?
>>
>>  This in FireWatir
>>  row.cell(:index, 0)
>>
>>  Will be this in Watir
>>  row.cell(:index, 1)
>>
>>  We think this is because Watir uses win32ole and FireWatir uses JavaScript.
>>
>>  If this is a known and common bug, we will fix it.
>>
>>
>>  Aidy
>>
>>     
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to