Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

All but one test pass.

  • Loading branch information...
commit 8a91412ef3c79aeb44af6ec5e30b752b4d594c03 1 parent 71d48c8
@btakita btakita authored
Showing with 11 additions and 0 deletions.
  1. +3 −0  lib/selenium/button.rb
  2. +8 −0 lib/selenium/html_element.rb
View
3  lib/selenium/button.rb
@@ -1,4 +1,7 @@
module Selenium
class Button < HtmlElement
+ def click_wait
+ webpage.click_wait locator
+ end
end
end
View
8 lib/selenium/html_element.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.