Class: Selenium::WebDriver::IE::Service

Inherits:
WebDriver::Service
  • Object
show all
Defined in:
lib/selenium/webdriver/ie/service.rb

Constant Summary collapse

DEFAULT_PORT =
5555
EXECUTABLE =
'IEDriverServer'
SHUTDOWN_SUPPORTED =
true
DRIVER_PATH_ENV_KEY =
'SE_IEDRIVER'

Instance Method Summary collapse

Constructor Details

#initialize(args: nil) ⇒ Service

Returns a new instance of Service.



29
30
31
32
33
34
35
36
37
# File 'lib/selenium/webdriver/ie/service.rb', line 29

def initialize(args: nil, **)
  if ENV.key?('SE_DEBUG')
    args = Array(args.dup)
    warn_driver_log_override if args.reject! { |arg| arg.include?('log-level') || arg.include?('silent') }
    args << '--log-level=DEBUG'
  end

  super
end