Skip to content

Commit 3a860ed

Browse files
authored
Improved doc to indicate that threads are not supported (#1194)
1 parent 8edce40 commit 3a860ed

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/SeleniumLibrary/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ class SeleniumLibrary(DynamicCore):
6060
- `Timeouts, waits and delays`
6161
- `Run-on-failure functionality`
6262
- `Boolean arguments`
63+
- `Thread support`
6364
- `Importing`
6465
- `Shortcuts`
6566
- `Keywords`
@@ -302,6 +303,14 @@ class SeleniumLibrary(DynamicCore):
302303
303304
Note that prior to SeleniumLibrary 3.0, all non-empty strings, including
304305
``false``, ``no`` and ``none``, were considered true.
306+
307+
= Thread support =
308+
309+
SeleniumLibrary is not thread safe. This is mainly due because the underlying
310+
[https://github.com/SeleniumHQ/selenium/wiki/Frequently-Asked-Questions#q-is-webdriver-thread-safe|
311+
Selenium tool is not thread safe] within one browser/driver instance.
312+
Because of the limitation in the Selenium side, the keywords or the
313+
API provided the SeleniumLibrary is not thread safe.
305314
"""
306315
ROBOT_LIBRARY_SCOPE = 'GLOBAL'
307316
ROBOT_LIBRARY_VERSION = __version__

0 commit comments

Comments
 (0)