Sha256: 60a4f397938c1007f6c00fe2da97e81218c5f77944b6ec5d12192a14ce506084
Contents?: true
Size: 450 Bytes
Versions: 1
Compression:
Stored size: 450 Bytes
Contents
# encoding: utf-8 module Watir class Button < HTMLElement # add the attributes from <input> attributes Watir::Input.typed_attributes def locate ButtonLocator.new(@parent.wd, @selector, self.class.attribute_list).locate end def text assert_exists case @element.tag_name when 'input' value when 'button' text end end def enabled? !disabled? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watir-webdriver-0.0.1.dev | lib/watir-webdriver/elements/button.rb |