123456789_123456789_123456789_123456789_123456789_

Exception: Selenium::WebDriver::Error::ServerError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, StandardError
Instance Chain:
self, StandardError
Inherits: StandardError
  • Object
Defined in: rb/lib/selenium/webdriver/remote/server_error.rb

Class Method Summary

Constructor Details

.new(response) ⇒ ServerError

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/remote/server_error.rb', line 24

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