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

Inherits:
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 Attribute Summary

Attributes inherited from Service

#args, #executable_path, #host, #log, #port

Instance Method Summary collapse

Methods inherited from Service

chrome, edge, #env_path, #find_driver_path, firefox, ie, #launch, safari, #shutdown_supported

Constructor Details

#initialize(args: nil) ⇒ 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