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 24 def initialize(response) if response.is_a? String super else super("status code #{response.code}; payload #{response.payload}") end end