Sha256: 707545e2d5a2b6698d418e52f7dcf2eff342d402daba7ae4400141764f06dfd1
Contents?: true
Size: 573 Bytes
Versions: 1
Compression:
Stored size: 573 Bytes
Contents
require File.dirname(__FILE__) + '/element' class Button_JQuery < Element # Clicks on object def click @selenium.click(@locator) begin @selenium.wait_for_condition('selenium.browserbot.getCurrentWindow().jQuery.active == 0', 10000) rescue => e #continue sleep(4) end sleep(5) end def doubleClick @selenium.double_click(@locator) begin @selenium.wait_for_condition('selenium.browserbot.getCurrentWindow().jQuery.active == 0', 10000) rescue => e #continue sleep(4) end sleep(5) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
selenium-rspec-dsl-1.0.2 | sites/buttonJQuery.rb |