@@ -691,7 +691,7 @@ public String toString() {
691
691
* Wait until an element is no longer attached to the DOM.
692
692
*
693
693
* @param element The element to wait for.
694
- * @return false is the element is still attached to the DOM, true otherwise.
694
+ * @return false if the element is still attached to the DOM, true otherwise.
695
695
*/
696
696
public static ExpectedCondition <Boolean > stalenessOf (final WebElement element ) {
697
697
return new ExpectedCondition <Boolean >() {
@@ -847,7 +847,7 @@ public String toString() {
847
847
/**
848
848
* An expectation with the logical opposite condition of the given condition.
849
849
*
850
- * Note that if the Condition your are inverting throws an exception that is caught by the Ignored
850
+ * Note that if the Condition you are inverting throws an exception that is caught by the Ignored
851
851
* Exceptions, the inversion will not take place and lead to confusing results.
852
852
*
853
853
* @param condition ExpectedCondition to be inverted
@@ -999,7 +999,7 @@ public String toString() {
999
999
* An expectation for checking number of WebElements with given locator
1000
1000
*
1001
1001
* @param locator used to find the element
1002
- * @param number user to define exact number of elements
1002
+ * @param number used to define exact number of elements
1003
1003
* @return Boolean true when size of elements list is equal to defined
1004
1004
*/
1005
1005
public static ExpectedCondition <List <WebElement >> numberOfElementsToBeMoreThan (final By locator ,
@@ -1027,7 +1027,7 @@ public String toString() {
1027
1027
* number
1028
1028
*
1029
1029
* @param locator used to find the element
1030
- * @param number user to define maximum number of elements
1030
+ * @param number used to define maximum number of elements
1031
1031
* @return Boolean true when size of elements list is less than defined
1032
1032
*/
1033
1033
public static ExpectedCondition <List <WebElement >> numberOfElementsToBeLessThan (final By locator ,
@@ -1054,7 +1054,7 @@ public String toString() {
1054
1054
* An expectation for checking number of WebElements with given locator
1055
1055
*
1056
1056
* @param locator used to find the element
1057
- * @param number user to define number of elements
1057
+ * @param number used to define number of elements
1058
1058
* @return Boolean true when size of elements list is equal to defined
1059
1059
*/
1060
1060
public static ExpectedCondition <List <WebElement >> numberOfElementsToBe (final By locator ,
@@ -1080,7 +1080,7 @@ public String toString() {
1080
1080
/**
1081
1081
* An expectation for checking given WebElement has attribute with a specific value
1082
1082
*
1083
- * @param element used to check it's parameters
1083
+ * @param element used to check its parameters
1084
1084
* @param attribute used to define css or html attribute
1085
1085
* @param value used as expected attribute value
1086
1086
* @return Boolean true when element has css or html attribute with the value
@@ -1112,7 +1112,7 @@ public String toString() {
1112
1112
* An expectation for checking WebElement with given locator has attribute which contains specific
1113
1113
* value
1114
1114
*
1115
- * @param element used to check it's parameters
1115
+ * @param element used to check its parameters
1116
1116
* @param attribute used to define css or html attribute
1117
1117
* @param value used as expected attribute value
1118
1118
* @return Boolean true when element has css or html attribute which contains the value
@@ -1141,7 +1141,7 @@ public String toString() {
1141
1141
* An expectation for checking WebElement with given locator has attribute which contains specific
1142
1142
* value
1143
1143
*
1144
- * @param locator used to define WebElement to check it's parameters
1144
+ * @param locator used to define WebElement to check its parameters
1145
1145
* @param attribute used to define css or html attribute
1146
1146
* @param value used as expected attribute value
1147
1147
* @return Boolean true when element has css or html attribute which contains the value
@@ -1169,7 +1169,7 @@ public String toString() {
1169
1169
/**
1170
1170
* An expectation for checking WebElement any non empty value for given attribute
1171
1171
*
1172
- * @param element used to check it's parameters
1172
+ * @param element used to check its parameters
1173
1173
* @param attribute used to define css or html attribute
1174
1174
* @return Boolean true when element has css or html attribute with non empty value
1175
1175
*/
0 commit comments