You could write your own rescue clause for the error:

begin
  browser.select_list(:name, 'select').fire_event('change') 
rescue WIN32OLERuntimeError
  puts "A message that will tell you it can't find the element you wanted."
end

Hope that's helpful.

Abe

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