module Selenium::Client::SeleniumHelper
Public Instance Methods
method_missing(method_name, *args)
click to toggle source
Delegates to @selenium on method missing
Calls superclass method
# File lib/selenium/client/selenium_helper.rb, line 26 def method_missing(method_name, *args) return super unless @selenium.respond_to?(method_name) @selenium.send(method_name, *args) end
open(url)
click to toggle source
Overrides default open method to actually delegates to @selenium
# File lib/selenium/client/selenium_helper.rb, line 11 def open(url) @selenium.open url end
select(input_locator, option_locator)
click to toggle source
Overrides default select method to actually delegates to @selenium
# File lib/selenium/client/selenium_helper.rb, line 21 def select(input_locator, option_locator) @selenium.select input_locator, option_locator end
type(locator, value)
click to toggle source
Overrides default type method to actually delegates to @selenium
# File lib/selenium/client/selenium_helper.rb, line 16 def type(locator, value) @selenium.type locator, value end