class Selenium::WebDriver::Safari::Browser
Public Instance Methods
start(*args)
click to toggle source
# File lib/selenium/webdriver/safari/browser.rb, line 24 def start(*args) Platform.exit_hook { stop } # make sure we don't leave the browser running @process = ChildProcess.new(Safari.path, *args) @process.io.inherit! if $DEBUG @process.start end
stop()
click to toggle source
# File lib/selenium/webdriver/safari/browser.rb, line 32 def stop @process.stop if @process end