Exception: Selenium::WebDriver::Error::ServerError
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
StandardError
|
|
Instance Chain:
self,
StandardError
|
|
Inherits: |
StandardError
|
Defined in: | rb/lib/selenium/webdriver/remote/server_error.rb |
Class Method Summary
- .new(response) ⇒ ServerError constructor
Constructor Details
.new(response) ⇒ ServerError
# 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