We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2036e8f commit 0cb6e62Copy full SHA for 0cb6e62
py/selenium/webdriver/remote/webelement.py
@@ -31,9 +31,8 @@
31
32
from six import add_metaclass
33
34
-
35
-# TODO: when dropping Python 2.7, use built in importlib_resources.files
36
-# not relying on __package__ here as it can be `None` in some situations (see #4558)
+# TODO: When moving to supporting python 3.9 as the minimum version we can
+# use built in importlib_resources.files.
37
_pkg = '.'.join(__name__.split('.')[:-1])
38
getAttribute_js = pkgutil.get_data(_pkg, 'getAttribute.js').decode('utf8')
39
isDisplayed_js = pkgutil.get_data(_pkg, 'isDisplayed.js').decode('utf8')
0 commit comments