Permalink
Browse files

table now supports exists? with selenium_webdriver

  • Loading branch information...
1 parent dc4ab1d commit 1fcb953b8ff3386161d84906ec45db6d432550f6 @cheezy committed Feb 5, 2014
Showing with 4 additions and 9 deletions.
  1. +4 −0 ChangeLog
  2. +0 −1 features/table.feature
  3. +0 −8 lib/page-object/platforms/selenium_webdriver/table.rb
View
4 ChangeLog
@@ -1,3 +1,7 @@
+=== Version 0.9.6.1
+* Enhancements
+ * Table now supports exists?
+
=== Version 0.9.6 / 2014-2-4
* Enhancements
* Updated to use the latest watir-webdriver 0.6.7
View
1 features/table.feature
@@ -10,7 +10,6 @@ Feature: Table
When I retrieve a table element
Then I should know it is visible
- @watir_only
Scenario: Determine if a table exists
When I retrieve a table element
Then I should know it exists
View
8 lib/page-object/platforms/selenium_webdriver/table.rb
@@ -24,14 +24,6 @@ def rows
table_rows.size
end
- #
- # override PageObject::Platforms::SeleniumElement because exists? is not
- # available on a table element in Selenium.
- #
- def exists?
- raise "exists? not available on table element"
- end
-
private
def find_index_by_title(row_title, eles)

0 comments on commit 1fcb953

Please sign in to comment.