Skip to content

Commit 2a2d5c4

Browse files
committed
Update comments
1 parent 1d2bf4e commit 2a2d5c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,9 @@ def get_attribute(
14771477
timeout=None,
14781478
hard_fail=True,
14791479
):
1480-
"""This method uses JavaScript to get the value of an attribute."""
1480+
"""This method uses JavaScript to get the value of an attribute.
1481+
If the attribute doesn't exist or isn't found, an exception will
1482+
get raised if hard_fail is True (otherwise None is returned)."""
14811483
self.__check_scope()
14821484
if not timeout:
14831485
timeout = settings.SMALL_TIMEOUT

0 commit comments

Comments
 (0)