lib/watir/container.rb in watir-3.0.0.rc2 vs lib/watir/container.rb in watir-3.0.0.rc3
- old
+ new
@@ -55,10 +55,14 @@
@page_container = container.page_container
end
public
+ def modal_dialog
+ ModalDialog.new(self)
+ end
+
# Searching for Page Elements
# Not for external consumption
#
#++
def __ole_inner_elements
@@ -96,13 +100,11 @@
# Locator Methods
#
# Not for external use, but cannot set to private due to usages in Element
# classes.
- def locator_for(locator_class, tags, how, what, klass)
- locator = locator_class.new self, tags, klass
- locator.set_specifier how, what
- locator
+ def locator_for(locator_class, specifiers, klass)
+ locator_class.new self, specifiers, klass
end
end # module
end