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.8.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.7.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.6.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.5.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.4.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.3.2 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.3.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.2.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.1.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.0.1 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-2.0.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-0.2.2 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-0.2.1 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-0.2.0 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-0.2.0.dev lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-0.1.4 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-0.1.3 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-0.1.3.dev lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-0.1.2 lib/selenium/webdriver/remote/server_error.rb
selenium-webdriver-0.1.1 lib/selenium/webdriver/remote/server_error.rb