Class: Opera
Instance Method Summary collapse
-
#initialize(path = 'c:\Program Files\Opera\Opera.exe') ⇒ Opera
constructor
A new instance of Opera.
- #setup ⇒ Object
Methods inherited from Browser
#escaped_name, #host, #installed?, #linux?, #macos?, #name, #path, #runnable?, #supported?, #teardown, #to_s, #visit, #windows?
Constructor Details
#initialize(path = 'c:\Program Files\Opera\Opera.exe') ⇒ Opera
Returns a new instance of Opera.
2 3 4 |
# File 'lib/hanoi/browsers/opera.rb', line 2 def initialize(path = 'c:\Program Files\Opera\Opera.exe') @path = path end |
Instance Method Details
#setup ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/hanoi/browsers/opera.rb', line 6 def setup if windows? puts %{ MAJOR ANNOYANCE on Windows. You have to shut down Opera manually after each test for the script to proceed. Any suggestions on fixing this is GREATLY appreciated! Thank you for your understanding. } end end |