Skip to content

Commit

Permalink
fixup: py38
Browse files Browse the repository at this point in the history
  • Loading branch information
jsfehler committed Jun 24, 2024
1 parent c65ef6c commit c82ef33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions splinter/driver/webdriver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import time
import warnings
from contextlib import contextmanager
from typing import Optional
from typing import Dict, Optional

from selenium.common.exceptions import ElementClickInterceptedException
from selenium.common.exceptions import MoveTargetOutOfBoundsException
Expand Down Expand Up @@ -712,7 +712,7 @@ def __init__(self, element, parent):
self.wait_time = self.parent.wait_time
self.element_class = self.parent.element_class

def _as_id_dict(self) -> dict[str, str]:
def _as_id_dict(self) -> Dict[str, str]:
"""Get the canonical object to identify an element by it's ID.
When sent to the browser, it will be used to build an Element object.
Expand Down Expand Up @@ -770,7 +770,7 @@ def _set_value(self, value):
def __getitem__(self, attr):
return self._element.get_attribute(attr)

def _as_id_dict(self) -> dict[str, str]:
def _as_id_dict(self) -> Dict[str, str]:
"""Get the canonical object to identify an element by it's ID.
When sent to the browser, it will be used to build an Element object.
Expand Down

0 comments on commit c82ef33

Please sign in to comment.