lib/watir-webdriver.rb in watir-webdriver-0.0.9 vs lib/watir-webdriver.rb in watir-webdriver-0.1.0

- old
+ new

@@ -8,11 +8,12 @@ require "watir-webdriver/window_switching" require "watir-webdriver/container" require "watir-webdriver/locators/element_locator" require "watir-webdriver/locators/button_locator" require "watir-webdriver/locators/text_field_locator" -require "watir-webdriver/locators/table_row_locator" +require "watir-webdriver/locators/child_row_locator" +require "watir-webdriver/locators/child_cell_locator" require "watir-webdriver/browser" module Watir include Selenium @@ -27,10 +28,12 @@ end end require "watir-webdriver/attribute_helper" +require "watir-webdriver/row_container" +require "watir-webdriver/cell_container" require "watir-webdriver/element_collection" require "watir-webdriver/elements/element" require "watir-webdriver/elements/generated" require "watir-webdriver/elements/frame" require "watir-webdriver/elements/input" @@ -46,20 +49,16 @@ require "watir-webdriver/elements/select" require "watir-webdriver/elements/form" require "watir-webdriver/elements/option" require "watir-webdriver/elements/table" require "watir-webdriver/elements/table_row" +require "watir-webdriver/elements/table_cell" +require "watir-webdriver/elements/table_section" Watir.tag_to_class.freeze module Watir module Container - - # TODO: deprecate cell/row in favor of td/tr? - alias_method :cell, :td - alias_method :cells, :tds - alias_method :row, :tr - alias_method :rows, :trs end # Container end # Watir