Class: Ext::Window
- Defined in:
- lib/selenium-extjs/component/Window.rb
Instance Attribute Summary
Attributes inherited from Component
Instance Method Summary collapse
Methods inherited from Component
#getId, #highlight, #init_component, #initialize, #method_missing, #node, #selector, #wait_for_ajax
Constructor Details
This class inherits a constructor from Ext::Component
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Ext::Component
Instance Method Details
#close ⇒ Object
4 5 6 |
# File 'lib/selenium-extjs/component/Window.rb', line 4 def close @selenium.click_at( node() + "//div[contains(@class, 'x-tool-close')]", "0,0") end |