[py]: Address `flake8` violations and remove unused imports
# specific language governing permissions and limitations
# under the License.
-from typing import Any, Dict, Mapping, Type, TypeVar
+from typing import Any, Dict, Type
from selenium.common.exceptions import (ElementClickInterceptedException,
ElementNotInteractableException,
@@ -48,10 +48,6 @@ from selenium.common.exceptions import (ElementClickInterceptedException,
WebDriverException)
-_KT = TypeVar("_KT")
-_VT = TypeVar("_VT")
-
-
class ErrorCode:
"""
Error codes defined in the WebDriver wire protocol.
