class Selenium::WebDriver::Firefox::Binary

def wait

def wait
  return unless @process
  begin
    @process.poll_for_exit(WAIT_TIMEOUT)
  rescue ChildProcess::TimeoutError => e
    @process.stop
    raise e
  end
end