Skip to content

Commit f4049f4

Browse files
committed
[java] fix javadocs for error messages
1 parent 1f5b21d commit f4049f4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎java/src/org/openqa/selenium/ElementNotInteractableException.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
package org.openqa.selenium;
1919

2020
/**
21-
* Thrown to indicate that although an element is present on the DOM, it is not in a state that can
22-
* be interacted with.
21+
* Thrown to indicate that although a {@link WebElement} is present on the DOM, it is not in a state that can
22+
* be interacted with. This includes an element that is not displayed or whose center point
23+
* can not be scrolled into the viewport.
2324
*/
2425
public class ElementNotInteractableException extends InvalidElementStateException {
2526
public ElementNotInteractableException(String message) {

‎java/src/org/openqa/selenium/InvalidElementStateException.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919

2020
/**
2121
* Indicates that a {@link WebElement} is in a state that means actions cannot be performed with it.
22-
* Examples would include an element being obscured by another when clicking, or perhaps not being
23-
* visible on the DOM. Subclasses of this provide more detailed information.
22+
* For example, attempting to clear an element that isn’t both editable and resettable.
2423
*/
2524
public class InvalidElementStateException extends WebDriverException {
2625
public InvalidElementStateException() {

0 commit comments

Comments
 (0)