Class/Module Index [+]

Quicksearch

Selenium::WebDriver::ChildProcess::IronRubyProcess

Public Instance Methods

assert_started() click to toggle source
# File common/src/rb/lib/selenium/webdriver/child_process.rb, line 236
def assert_started
  raise Error::WebDriverError, "process not started" unless @process
end
exit_value() click to toggle source
# File common/src/rb/lib/selenium/webdriver/child_process.rb, line 229
def exit_value
  assert_started
  return unless @process.HasExited

  @process.ExitCode
end
kill() click to toggle source
# File common/src/rb/lib/selenium/webdriver/child_process.rb, line 213
def kill
  assert_started
  @process.Kill
end
pid() click to toggle source
# File common/src/rb/lib/selenium/webdriver/child_process.rb, line 224
def pid
  assert_started
  @process.Id
end
start() click to toggle source
# File common/src/rb/lib/selenium/webdriver/child_process.rb, line 201
def start
  args = @args.dup

  @process                           = System::Diagnostics::Process.new
  @process.StartInfo.UseShellExecute = true
  @process.StartInfo.FileName        = args.shift
  @process.StartInfo.Arguments       = args.join ' '
  @process.start

  self
end
wait() click to toggle source
# File common/src/rb/lib/selenium/webdriver/child_process.rb, line 218
def wait
  assert_started
  @process.WaitForExit
  [pid, exit_value]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.