Skip to content

Commit 8290239

Browse files
committed
Use Locator type for Get CSS Property Value keyword
1 parent f7aa505 commit 8290239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SeleniumLibrary/keywords/element.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ def _selenium_keys_has_attr(self, key):
12791279

12801280
@keyword("Get CSS Property Value")
12811281
def get_css_property_value(
1282-
self, locator: Union[WebElement, str], css_property: str
1282+
self, locator: Locator, css_property: str
12831283
) -> str:
12841284
"""Returns the computed value of ``css_property`` from the element ``locator``.
12851285

0 commit comments

Comments
 (0)