Passes all calls to missing methods to @selenium
[Source]
# File lib/selenium/client/selenium_helper.rb, line 26 26: def method_missing(method_name, *args) 27: if args.empty? 28: @selenium.send(method_name) 29: else 30: @selenium.send(method_name, *args) 31: end 32: end
Overrides standard "open" method with @selenium.open
# File lib/selenium/client/selenium_helper.rb, line 11 11: def open(addr) 12: @selenium.open(addr) 13: end
Overrides standard "select" method with @selenium.select
# File lib/selenium/client/selenium_helper.rb, line 21 21: def select(inputLocator, optionLocator) 22: @selenium.select(inputLocator, optionLocator) 23: end
Overrides standard "type" method with @selenium.type
# File lib/selenium/client/selenium_helper.rb, line 16 16: def type(inputLocator, value) 17: @selenium.type(inputLocator, value) 18: end
[Validate]