On Fri, Oct 12, 2012 at 7:46 PM, Adrian Killens <[email protected]>
wrote:
> if b.div(:id, "hello").class_name == "blah"

Or something like this:

if browser.div(:id => "hello", :class => "blah").exists?
...

Željko

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