diff --git a/src/main/java/com/xceptance/neodymium/util/SelenideAddons.java b/src/main/java/com/xceptance/neodymium/util/SelenideAddons.java index f5eef7fae..12ed6b6a1 100644 --- a/src/main/java/com/xceptance/neodymium/util/SelenideAddons.java +++ b/src/main/java/com/xceptance/neodymium/util/SelenideAddons.java @@ -120,21 +120,23 @@ public ElementsCollection get() * Attention: Since the SelenideElement class implements the InvocationHandler interface you have to make sure that * the element is retrieved in order to provoke a StaleElementReferenceException. You can do this by calling a * should function that uses a condition. - *
+ *
** The following settings can be configured within the Neodymium configuration to tune the retry behavior: + *
+ ** Example: + *
* ** SelenideAddons.$safe(() -> { * return $("selector").should(exist); * }); *- * * * @param code * the code to run @@ -184,18 +186,20 @@ public ElementsCollection get() * {@link StaleElementReferenceException} occurs. *
* The following settings can be configured within the Neodymium configuration to tune the retry behavior: + *
+ ** Example: + *
* ** SelenideAddons.$safe(() -> { * $("selectorOne").find("selectorTwo").shouldBe(visible); * }); *- * * * @param code * the code to run