Module: Watir::Container
- Includes:
- XpathSupport
- Included in:
- BaseElement, Browser
- Defined in:
- lib/watir-webdriver.rb,
lib/watir-webdriver/container.rb
Class Method Summary collapse
- .add(method, &blk) ⇒ Object private
Methods included from XpathSupport
#element_by_xpath, #elements_by_xpath
Class Method Details
.add(method, &blk) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
10 11 12 |
# File 'lib/watir-webdriver/container.rb', line 10 def add(method, &blk) define_method(method, &blk) end |