Class: AutoItWindowState
- Inherits:
-
Object
- Object
- AutoItWindowState
- Defined in:
- lib/selenium/auto_it_window.rb
Instance Method Summary collapse
- #active? ⇒ Boolean
- #enabled? ⇒ Boolean
- #exists? ⇒ Boolean
-
#initialize(state) ⇒ AutoItWindowState
constructor
A new instance of AutoItWindowState.
- #maxmized? ⇒ Boolean
- #minimized? ⇒ Boolean
- #visible? ⇒ Boolean
Constructor Details
#initialize(state) ⇒ AutoItWindowState
Returns a new instance of AutoItWindowState.
59 60 61 |
# File 'lib/selenium/auto_it_window.rb', line 59 def initialize(state) @state = state end |
Instance Method Details
#active? ⇒ Boolean
75 76 77 |
# File 'lib/selenium/auto_it_window.rb', line 75 def active? @state & 8 > 0 end |
#enabled? ⇒ Boolean
71 72 73 |
# File 'lib/selenium/auto_it_window.rb', line 71 def enabled? @state & 4 > 0 end |
#exists? ⇒ Boolean
63 64 65 |
# File 'lib/selenium/auto_it_window.rb', line 63 def exists? @state & 1 > 0 end |
#maxmized? ⇒ Boolean
83 84 85 |
# File 'lib/selenium/auto_it_window.rb', line 83 def maxmized? @state & 32 > 0 end |
#minimized? ⇒ Boolean
79 80 81 |
# File 'lib/selenium/auto_it_window.rb', line 79 def minimized? @state & 16 > 0 end |
#visible? ⇒ Boolean
67 68 69 |
# File 'lib/selenium/auto_it_window.rb', line 67 def visible? @state & 2 > 0 end |