Browser#cell has been removed, as part of cleaning up the table API.
Instead you can use:

browser.td(:id => "...")
browser.th(:id => "...")

#cell and #cells are only available on TableRow, and #row and #rows
only available on Table and TableSection (tbody, tfoot, thead). You
can see the complete revised API here:

http://gist.github.com/565553


On Wed, Oct 6, 2010 at 2:23 PM, Ozzi <[email protected]> wrote:
> hey Jari,
>
> thank you for the quick update...
>
> I just tried to run my test again and the teps prior to getting to the
> pop up are now failing. im getting a error saying:
>  undefined method `cell' for #<Watir::Browser:0x3fd3050>
> (NoMethodError)
>
> this was working before i did a gem update.
>
> the line of code that is failing is:
> @browser.cell(:id => '04939849-aa75-408d-9b1f-c380e7df48ed', :class =>
> 'mgnlNavigation1Cell mgnlNavigationText').click
>
> since i did an update this is now failing would you know why?
>
> kind regards,
> usman hussain
>
> On Oct 6, 12:37 pm, Jari Bakken <[email protected]> wrote:
>> On Wed, Oct 6, 2010 at 1:11 PM, Ozzi <[email protected]> wrote:
>> > ahhh cool. brilliant... if you can let me know once this is done that
>> > would be brilliant...
>>
>> Done, just released 0.1.0.
>
> --
> 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]
>

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

Reply via email to