class Selenium::WebDriver::IE::Server

@api private

Public Class Methods

new() click to toggle source
# File lib/selenium/webdriver/ie/server.rb, line 26
def initialize
  @handle = nil
end

Public Instance Methods

port() click to toggle source
# File lib/selenium/webdriver/ie/server.rb, line 51
def port
  self.class.current_port
end
running?() click to toggle source
# File lib/selenium/webdriver/ie/server.rb, line 47
def running?
  self.class.is_running
end
start(start_port) click to toggle source

Starts the server, communicating on the specified port, if it is not already running

# File lib/selenium/webdriver/ie/server.rb, line 34
def start(start_port)
  return port if running?
  @handle = self.class.start_server(start_port)

  start_port
end
stop() click to toggle source
# File lib/selenium/webdriver/ie/server.rb, line 41
def stop
  return if session_count != 0 || @handle.nil?
  self.class.stop_server @handle
  @handle = nil
end