hi thank you.

when_present is working here, But I wrongly typed the code, Actually it 
was,

line 1:$browser1 = $browser.windows.last.browser

line 2: parseHTML($browser1.table(:class,'something').html)

-- 
Posted via http://www.ruby-forum.com/.