Module: OperaWatir::Compat::Browser

Extended by:
Forwardable
Defined in:
lib/operawatir/compat/browser.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args, &blk) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/operawatir/compat/browser.rb', line 6

def method_missing(method, *args, &blk)
  if active_window.respond_to? method
    active_window.send(method, *args, &blk)
  else
    super
  end
end