Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/rb/sig/lib/selenium/webdriver/remote/http/common.rbs
1990 views
module Selenium
  module WebDriver
    module Remote
      module Http
        class Common
          MAX_REDIRECTS: Integer

          CONTENT_TYPE: String

          DEFAULT_HEADERS: Hash[String, untyped]

          @common_headers: Hash[String, untyped]

          attr_accessor self.extra_headers: Hash[String, untyped]

          attr_writer self.user_agent: String

          def self.user_agent: -> String

          attr_writer server_url: String

          def quit_errors: () -> Array[untyped]

          def close: () -> nil

          def call: (untyped verb, untyped url, untyped command_hash) -> untyped

          private

          def common_headers: -> Hash[String, untyped]

          def server_url: () -> String

          def request: (*untyped) -> untyped

          def create_response: (Integer code, Hash[String, untyped] body, String content_type) -> Remote::Response
        end
      end
    end
  end
end