Sha256: 8fb0a0f22a1da92df43afaf8a826abcb173dfb9f65f25e99ceefa1c0d8942759

Contents?: true

Size: 342 Bytes

Versions: 113

Compression:

Stored size: 342 Bytes

Contents

module Selenium
  module WebDriver
    module Error
      class ServerError < StandardError

        def initialize(response)
          if response.kind_of? String
            super(response)
          else
            super("status code #{response.code}")
          end
        end
      end

    end # Error
  end # WebDriver
end # Selenium

Version data entries

113 entries across 113 versions & 5 rubygems

Version Path
selenium-webdriver-2.45.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.45.0.dev3 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.45.0.dev2 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.45.0.dev lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.44.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.44.0.dev lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.43.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.42.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.41.0 lib/selenium/webdriver/remote/server_error.rb
browserstack-webdriver-2.40.1 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.40.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.40.0.rc2 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.40.0.rc1 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.39.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.38.0 lib/selenium/webdriver/remote/server_error.rb
browserstack-webdriver-0.0.22 lib/selenium/webdriver/remote/server_error.rb
browserstack-webdriver-0.0.1 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.37.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.35.1 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.35.0 lib/selenium/webdriver/remote/server_error.rb