What method does it say is missing? and which line of the code is generating the error? (just to be clear and not make assumptions)
If you are using Safariwatir to do safari, it's fairly old.. I have not used it, but did it use the older Watir convention of one based indexing? You might try a little work with IRB and the .flash method to be sure it's pointing to the right cell in the table (e.g. try 0,1 and if that does not work try 1,2 Normally I'd just do it as one one line of code instead of two, not sure if that would make a difference however.. puts @b.table(:class, "user-table")[0][1].text On Dec 7, 8:32 am, Brad <[email protected]> wrote: > I've been pulling my hair out trying to figure out why Safari isn't > getting cell text from a table. > > It seems like this should be working > cell = @b.table(:class, "user-table")[0][1] #getting row 0 cell 1 > puts cell.text > > I get a missing method error. > > Chrome works just find. > > What's the deal? -- 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]
