class Selenium::WebDriver::Error::ServerError

Public Class Methods

new(response) click to toggle source
Calls superclass method
# File lib/selenium/webdriver/remote/server_error.rb, line 6
def initialize(response)
  if response.kind_of? String
    super(response)
  else
    super("status code #{response.code}")
  end
end