Class: Selenium::WebDriver::Safari::Browser
- Inherits:
-
Object
- Object
- Selenium::WebDriver::Safari::Browser
- Defined in:
- lib/selenium/webdriver/safari/browser.rb
Instance Method Summary collapse
Instance Method Details
#start(*args) ⇒ Object
6 7 8 9 10 |
# File 'lib/selenium/webdriver/safari/browser.rb', line 6 def start(*args) @process = ChildProcess.new(Safari.path, *args) @process.io.inherit! if $DEBUG @process.start end |
#stop ⇒ Object
12 13 14 |
# File 'lib/selenium/webdriver/safari/browser.rb', line 12 def stop @process.stop if @process end |