diff --git a/src/SeleniumLibrary/keywords/waiting.py b/src/SeleniumLibrary/keywords/waiting.py
index d5b6dde4..755f815d 100644
--- a/src/SeleniumLibrary/keywords/waiting.py
+++ b/src/SeleniumLibrary/keywords/waiting.py
@@ -16,6 +16,8 @@
 
 import time
 
+from selenium.common.exceptions import StaleElementReferenceException
+
 from SeleniumLibrary.base import LibraryComponent, keyword
 from SeleniumLibrary.errors import ElementNotFound
 from SeleniumLibrary.utils import is_noney, secs_to_timestr
@@ -228,6 +230,9 @@ class WaitingKeywords(LibraryComponent):
                     return
             except ElementNotFound as err:
                 not_found = str(err)
+            except StaleElementReferenceException as err:
+                self.info('Suppressing StaleElementReferenceException from Selenium.')
+                not_found = err
             else:
                 not_found = None
             time.sleep(0.2)
diff --git a/tasks.py b/tasks.py
index ac75e2ed..c9ddd181 100644
--- a/tasks.py
+++ b/tasks.py
@@ -41,7 +41,9 @@ to install the latest available release or use
 to install exactly this version. Alternatively you can download the source
 distribution from PyPI_ and install it manually.
 
-SeleniumLibrary {version} was released on {date}.
+SeleniumLibrary {version} was released on {date}. SeleniumLibrary supports
+Python **ADD VERSIONS**, Selenium **ADD VERSIONS** and
+Robot Framework **ADD VERSIONS**.
 
 .. _Robot Framework: http://robotframework.org
 .. _SeleniumLibrary: https://github.com/robotframework/SeleniumLibrary

Wait... keywords should not fail StaleElementReferenceException
The `Wait ...` keywords can fail to `StaleElementReferenceException` because in between finding the element and doing action with the element (like checking is the element displayed) the DOM may change. Finding the element and doing something with the element are always two different Selenium API calls, even when doing it Python way: `self.find_element(locator).text` and therefore there is always small delay between the calls. 

There are various reasons why the DOM may change, but the `Wait ...` keywords should not fail, in middle of the waiting, if Selenium raises `StaleElementReferenceException`. Change the `Wait ...` keywords to suppress the `StaleElementReferenceException` and log it. 

This issue replaces the #475


diff --git a/utest/test/keywords/test_waiting_stale_element_refereance_exception.py b/utest/test/keywords/test_waiting_stale_element_refereance_exception.py
new file mode 100644
index 00000000..49e2e80a
--- /dev/null
+++ b/utest/test/keywords/test_waiting_stale_element_refereance_exception.py
@@ -0,0 +1,84 @@
+import unittest
+
+from selenium.common.exceptions import StaleElementReferenceException
+from mockito import mock, when, unstub
+
+from SeleniumLibrary.keywords import WaitingKeywords
+
+
+def _raise(*a):
+    raise StaleElementReferenceException('Darn')
+
+
+class TableKeywordsTest(unittest.TestCase):
+
+    @classmethod
+    def setUpClass(cls):
+        cls.ctx = mock()
+        cls.waiting = WaitingKeywords(cls.ctx)
+        cls.timeout = 0.5
+        cls.count = 0
+
+    def tearDown(self):
+        unstub()
+
+    def test_wait_until_element_is_visible(self):
+        locator = '//div'
+        element = mock()
+        when(self.waiting).find_element(locator, required=False).thenReturn(element)
+        when(element).is_displayed().thenRaise(StaleElementReferenceException()).thenReturn(True)
+        self.waiting.wait_until_element_is_visible(locator, self.timeout)
+
+    def test_wait_until_element_is_visible_fails(self):
+        locator = '//div'
+        element = mock()
+        when(self.waiting).find_element(locator, required=False).thenReturn(element)
+        when(element).is_displayed().thenRaise(StaleElementReferenceException('foo'))
+        with self.assertRaisesRegexp(AssertionError, 'Message: foo'):
+            self.waiting.wait_until_element_is_visible(locator, self.timeout)
+
+    def test_wait_until_element_is_not_visible(self):
+        locator = '//div'
+        element = mock()
+        when(self.waiting).find_element(locator, required=False).thenReturn(element)
+        when(element).is_displayed().thenRaise(StaleElementReferenceException()).thenReturn(False)
+        self.waiting.wait_until_element_is_not_visible(locator, self.timeout)
+
+    def test_wait_until_element_is_enabled(self):
+        locator = '//div'
+        element = mock()
+        when(self.waiting).find_element(locator, None).thenReturn(element)
+        when(element).is_enabled().thenRaise(StaleElementReferenceException()).thenReturn(True)
+        self.waiting.wait_until_element_is_enabled(locator, self.timeout)
+
+    def test_wait_until_element_is_enabled_get_attribute_readonly(self):
+        locator = '//div'
+        element = mock()
+        when(self.waiting).find_element(locator, None).thenReturn(element)
+        when(element).is_enabled().thenReturn(True)
+        when(element).get_attribute('readonly').thenRaise(StaleElementReferenceException()).thenReturn(None)
+        self.waiting.wait_until_element_is_enabled(locator, self.timeout)
+
+    def test_wait_until_element_is_enabled_fails(self):
+        locator = '//div'
+        element = mock()
+        when(self.waiting).find_element(locator, None).thenReturn(element)
+        when(element).is_enabled().thenRaise(StaleElementReferenceException('foo'))
+        with self.assertRaisesRegexp(AssertionError, 'Message: foo'):
+            self.waiting.wait_until_element_is_enabled(locator, self.timeout)
+
+    def test_wait_until_element_contains(self):
+        locator = '//div'
+        text = 'foo'
+        element1, element2 = mock(), mock({'text': 'foobar'})
+        element1.__class__.text = property(_raise)
+        when(self.waiting).find_element(locator).thenReturn(element1).thenReturn(element2)
+        self.waiting.wait_until_element_contains(locator, text, self.timeout)
+
+    def test_wait_until_element_does_not_contain(self):
+        locator = '//div'
+        text = 'foo'
+        element1, element2 = mock(), mock({'text': 'tidii'})
+        element1.__class__.text = property(_raise)
+        when(self.waiting).find_element(locator).thenReturn(element1).thenReturn(element2)
+        self.waiting.wait_until_element_does_not_contain(locator, text, self.timeout)

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio
3.9
requirements.txt requirements-dev.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
allpairspy==2.5.1
approval_utilities==14.3.1
approvaltests==14.3.1
attrs==25.3.0
beautifulsoup4==4.13.3
certifi==2025.1.31
charset-normalizer==3.4.1
coverage==7.8.0
empty-files==0.0.9
exceptiongroup==1.2.2
execnet==2.1.1
h11==0.14.0
idna==3.10
iniconfig==2.1.0
mock==5.2.0
mockito==1.5.4
mrjob==0.7.4
outcome==1.3.0.post0
packaging==24.2
pluggy==1.5.0
pyperclip==1.9.0
PySocks==1.7.1
pytest==8.3.5
pytest-asyncio==0.26.0
pytest-cov==6.0.0
pytest-mock==3.14.0
pytest-xdist==3.6.1
PyYAML==6.0.2
requests==2.32.3
robotframework==7.2.2
-e git+https://github.com/robotframework/SeleniumLibrary.git@85ab54ea2da02bd3d2f79d1fc2c7de069986e7b6#egg=robotframework_seleniumlibrary
robotstatuschecker==4.1.1
selenium==4.30.0
sniffio==1.3.1
sortedcontainers==2.4.0
soupsieve==2.6
testfixtures==8.3.0
tomli==2.2.1
trio==0.29.0
trio-websocket==0.12.2
typing_extensions==4.13.0
urllib3==2.3.0
websocket-client==1.8.0
wsproto==1.2.0

name: SeleniumLibrary
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - allpairspy==2.5.1
      - approval-utilities==14.3.1
      - approvaltests==14.3.1
      - attrs==25.3.0
      - beautifulsoup4==4.13.3
      - certifi==2025.1.31
      - charset-normalizer==3.4.1
      - coverage==7.8.0
      - empty-files==0.0.9
      - exceptiongroup==1.2.2
      - execnet==2.1.1
      - h11==0.14.0
      - idna==3.10
      - iniconfig==2.1.0
      - mock==5.2.0
      - mockito==1.5.4
      - mrjob==0.7.4
      - outcome==1.3.0.post0
      - packaging==24.2
      - pluggy==1.5.0
      - pyperclip==1.9.0
      - pysocks==1.7.1
      - pytest==8.3.5
      - pytest-asyncio==0.26.0
      - pytest-cov==6.0.0
      - pytest-mock==3.14.0
      - pytest-xdist==3.6.1
      - pyyaml==6.0.2
      - requests==2.32.3
      - robotframework==7.2.2
      - robotstatuschecker==4.1.1
      - selenium==4.30.0
      - sniffio==1.3.1
      - sortedcontainers==2.4.0
      - soupsieve==2.6
      - testfixtures==8.3.0
      - tomli==2.2.1
      - trio==0.29.0
      - trio-websocket==0.12.2
      - typing-extensions==4.13.0
      - urllib3==2.3.0
      - websocket-client==1.8.0
      - wsproto==1.2.0
prefix: /opt/conda/envs/SeleniumLibrary

utest/test/keywords/test_waiting_stale_element_refereance_exception.py::TableKeywordsTest::test_wait_until_element_contains utest/test/keywords/test_waiting_stale_element_refereance_exception.py::TableKeywordsTest::test_wait_until_element_does_not_contain utest/test/keywords/test_waiting_stale_element_refereance_exception.py::TableKeywordsTest::test_wait_until_element_is_enabled utest/test/keywords/test_waiting_stale_element_refereance_exception.py::TableKeywordsTest::test_wait_until_element_is_enabled_fails utest/test/keywords/test_waiting_stale_element_refereance_exception.py::TableKeywordsTest::test_wait_until_element_is_enabled_get_attribute_readonly utest/test/keywords/test_waiting_stale_element_refereance_exception.py::TableKeywordsTest::test_wait_until_element_is_not_visible utest/test/keywords/test_waiting_stale_element_refereance_exception.py::TableKeywordsTest::test_wait_until_element_is_visible utest/test/keywords/test_waiting_stale_element_refereance_exception.py::TableKeywordsTest::test_wait_until_element_is_visible_fails
src/SeleniumLibrary/keywords/waiting.py tasks.py
src/SeleniumLibrary/keywords/waiting.py tasks.py