Skip to main content

se_err_py_err

No overview available.

def se_err_py_err(
err: SeleniumError
) - > Exception

Converts a Selenium error into a Python-native error to provide more idiomatic exception handling within the application.

Parameters

NameTypeDescription
errSeleniumErrorThe raw Selenium exception object that needs to be translated into a standard Python error.

Returns

TypeDescription
ExceptionA Python exception object that corresponds to the specific Selenium error encountered.