Skip to content

Commit 85ab54e

Browse files
committed
Fixed library documentation
1 parent bae318f commit 85ab54e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/SeleniumLibrary/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,10 @@ class SeleniumLibrary(DynamicCore):
228228
SeleniumLibrary contains various keywords that have an optional
229229
``timeout`` argument that specifies how long these keywords should
230230
wait for certain events or actions. These keywords include, for example,
231-
``Wait ...`` keywords and keywords related to alerts.
231+
``Wait ...`` keywords and keywords related to alerts. Additionally
232+
`Execute Async Javascript`. although it does not have ``timeout``,
233+
argument, uses timeout to define how long asynchronous JavaScript
234+
can run.
232235
233236
The default timeout these keywords use can be set globally either by
234237
using the `Set Selenium Timeout` keyword or with the ``timeout`` argument

src/SeleniumLibrary/keywords/javascript.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def execute_async_javascript(self, *code):
8080
function as the last argument.
8181
8282
Scripts must complete within the script timeout or this keyword will
83-
fail. See the `Timeouts` section for more information.
83+
fail. See the `Timeout` section for more information.
8484
8585
Starting from SeleniumLibrary 3.2 it is possible to provide JavaScript
8686
[https://seleniumhq.github.io/selenium/docs/api/py/webdriver_remote/selenium.webdriver.remote.webdriver.html#selenium.webdriver.remote.webdriver.WebDriver.execute_async_script|

0 commit comments

Comments
 (0)