Permalink
Browse files

All but one test pass.

  • Loading branch information...
1 parent 71d48c8 commit 8a91412ef3c79aeb44af6ec5e30b752b4d594c03 @btakita btakita committed Jul 23, 2008
Showing with 11 additions and 0 deletions.
  1. +3 −0 lib/selenium/button.rb
  2. +8 −0 lib/selenium/html_element.rb
View
@@ -1,4 +1,7 @@
module Selenium
class Button < HtmlElement
+ def click_wait
+ webpage.click_wait locator
+ end
end
end
@@ -4,5 +4,13 @@ class HtmlElement
def initialize(webpage, locator)
@webpage, @locator = webpage, locator
end
+
+ def double_click
+ webpage.double_click locator
+ end
+
+ def key_press(key)
+ webpage.key_press locator, key
+ end
end
end

0 comments on commit 8a91412

Please sign in to comment.