Skip to content

[rb] - Minor - Specific Error type not initialized #8875

Closed
@luke-hill

Description

@luke-hill

🐛 Bug Report

0> Selenium::WebDriver::Error::ServerError
=> uninitialized constant Selenium::WebDriver::Error::ServerError
Did you mean?  Selenium::WebDriver::Error::WebDriverError

This error is thrown in a few places. Primarily when the webdriver connection is timed out during debug phase or a few other areas (Such as using the new experimental JS - See other issue)

To Reproduce

Just try throw the error above. It will say it doesn't recognise it.

Expected behavior

The error exists

Test script or set of commands reproducing this issue

driver = Selenium::WebDriver.for :chrome
driver.get('www.google.com')
raise Selenium::WebDriver::Error::ServerError

Environment

OS: Bionic 18.04
Browser: Chrome/Firefox in remote
Browser version: 83/79
Browser Driver version: Valid
Language Bindings version: Alpha6 Ruby
Selenium Grid version (if applicable): Alpha 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-rbRuby Bindings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions