To check whether the button present in this page, you can use like this

browser.button(:class => "btn btn-add" , :text => "Add New User").exists?

it would return "true" if web element is present.


-- 
Regards,
Velurajprabhu.B

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to