# Licensed to the Software Freedom Conservancy (SFC) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The SFC licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.


module Selenium
  module WebDriver
    class Service
      SHUTDOWN_SUPPORTED: untyped

      DEFAULT_PORT: untyped

      DRIVER_PATH_ENV_KEY: String

      self.@driver_path: untyped

      @executable_path: untyped

      @host: untyped

      @port: untyped

      @log: untyped

      @args: untyped

      attr_reader self.driver_path: untyped

      def self.chrome: (**untyped opts) -> untyped

      def self.firefox: (**untyped opts) -> untyped

      def self.ie: (**untyped opts) -> untyped

      alias self.internet_explorer self.ie

      def self.edge: (**untyped opts) -> untyped

      alias self.microsoftedge self.edge

      alias self.msedge self.edge

      def self.safari: (**untyped opts) -> untyped

      def self.driver_path=: (untyped path) -> untyped

      attr_accessor host: untyped

      attr_accessor executable_path: untyped

      attr_accessor port: untyped

      attr_accessor log: untyped

      attr_accessor args: untyped

      alias extra_args args

      def initialize: (?path: untyped?, ?port: untyped?, ?log: untyped?, ?args: untyped?) -> void

      def launch: () -> untyped

      def shutdown_supported: () -> untyped

      private

      def warn_driver_log_override: () -> void
    end
  end
end
