py_err_se_err
No overview available.
def py_err_se_err(
err: Exception
) - > dict
Converts a Python exception into a Selenium-specific error format. This function is used to ensure that internal Python errors are mapped to the appropriate WebDriver error codes and messages for consistent API responses.
Parameters
| Name | Type | Description |
|---|---|---|
| err | Exception | The Python exception instance to be translated into a Selenium error structure. |
Returns
| Type | Description |
|---|---|
dict | A dictionary containing the standardized Selenium error code and the associated error message. |