Class: Firefox
Instance Method Summary collapse
Methods inherited from Browser
#escaped_name, #host, #installed?, #linux?, #macos?, #path, #runnable?, #setup, #supported?, #to_s, #visit, #windows?
Instance Method Details
#name ⇒ Object
2 3 4 |
# File 'lib/zfben_hanoi/browsers/firefox.rb', line 2 def name 'firefox' end |
#teardown ⇒ Object
6 7 8 9 10 |
# File 'lib/zfben_hanoi/browsers/firefox.rb', line 6 def teardown if macos? system('killall ' + self.name) end end |