Exception: Selenium::WebDriver::Error::ServerError
- Inherits:
-
StandardError
- Object
- StandardError
- Selenium::WebDriver::Error::ServerError
- Defined in:
- rb/lib/selenium/webdriver/remote/server_error.rb
Instance Method Summary (collapse)
-
- (ServerError) initialize(response)
constructor
A new instance of ServerError.
Constructor Details
- (ServerError) initialize(response)
Returns a new instance of ServerError
6 7 8 9 10 11 12 |
# File 'rb/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 |