Selenium::Remote::ErrorHandler - Error handler for Selenium::Remote::Driver
Instead of just returning the end user a server returned error code, this returns a more human readable & usable error message.
Used internally in Selenium::Remote::Driver, but overriding this might be useful in some situations. You could additionally alter the STATUS_CODE parameter of this module to add extra handlers if the situation warrants it.
Please see those modules/websites for more information related to this module.
Please report any bugs or feature requests on the bugtracker website https://github.com/teodesian/Selenium-Remote-Driver/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Copyright (c) 2010-2011 Aditya Ivaturi, Gordon Child
Copyright (c) 2014-2017 Daniel Gempesaw
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.