Skip to content

Commit 3391ab1

Browse files
committed
Fix also asunc JS keyword
1 parent 8ab1b31 commit 3391ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SeleniumLibrary/keywords/javascript.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def execute_javascript(self, *code: Union[WebElement, str]) -> Any:
7373
return self.driver.execute_script(js_code, *js_args)
7474

7575
@keyword
76-
def execute_async_javascript(self, *code: str) -> Any:
76+
def execute_async_javascript(self, *code: Union[WebElement, str]) -> Any:
7777
"""Executes asynchronous JavaScript code with possible arguments.
7878
7979
Similar to `Execute Javascript` except that scripts executed with

0 commit comments

Comments
 (0)