@@ -34,19 +34,18 @@ public interface WebElement extends SearchContext, TakesScreenshot {
3434 * should discard all references to this element and any further
3535 * operations performed on this element will throw a
3636 * StaleElementReferenceException.
37- * <p>
37+ *
3838 * Note that if click() is done by sending a native event (which is
3939 * the default on most browsers/platforms) then the method will
4040 * _not_ wait for the next page to load and the caller should verify
4141 * that themselves.
42- * <p>
43- * <p>
42+ *
4443 * There are some preconditions for an element to be clicked. The
4544 * element must be visible and it must have a height and width
4645 * greater then 0.
4746 *
4847 * @throws StaleElementReferenceException If the element no
49- * longer exists as initially defined
48+ * longer exists as initially defined
5049 */
5150 void click ();
5251
@@ -69,7 +68,7 @@ public interface WebElement extends SearchContext, TakesScreenshot {
6968 /**
7069 * If this element is a text entry element, this will clear the value. Has no effect on other
7170 * elements. Text entry elements are INPUT and TEXTAREA elements.
72- * <p>
71+ *
7372 * Note that the events fired by this event may not be as you'd expect. In particular, we don't
7473 * fire any keyboard or mouse events. If you want to ensure keyboard events are fired, consider
7574 * using something like {@link #sendKeys(CharSequence...)} with the backspace key. To ensure
@@ -169,7 +168,7 @@ public interface WebElement extends SearchContext, TakesScreenshot {
169168 * This method is affected by the 'implicit wait' times in force at the time of execution.
170169 * The findElement(..) invocation will return a matching row, or try again repeatedly until
171170 * the configured timeout is reached.
172- * <p>
171+ *
173172 * findElement should not be used to look for non-present elements, use {@link #findElements(By)}
174173 * and assert zero length response instead.
175174 *
@@ -213,7 +212,7 @@ public interface WebElement extends SearchContext, TakesScreenshot {
213212 * Color values should be returned as rgba strings, so,
214213 * for example if the "background-color" property is set as "green" in the
215214 * HTML source, the returned value will be "rgba(0, 255, 0, 1)".
216- * <p>
215+ *
217216 * Note that shorthand CSS properties (e.g. background, font, border, border-top, margin,
218217 * margin-top, padding, padding-top, list-style, outline, pause, cue) are not returned,
219218 * in accordance with the
@@ -225,4 +224,4 @@ public interface WebElement extends SearchContext, TakesScreenshot {
225224 * @return The current, computed value of the property.
226225 */
227226 String getCssValue (String propertyName );
228- }
227+ }
0 commit comments