diff --git a/java/src/com/thoughtworks/selenium/Selenium.java b/java/src/com/thoughtworks/selenium/Selenium.java index 7f1a7a2efa783..8d3446dc2a8e6 100644 --- a/java/src/com/thoughtworks/selenium/Selenium.java +++ b/java/src/com/thoughtworks/selenium/Selenium.java @@ -538,7 +538,7 @@ public interface Selenium { * * *

- * If no option locator prefix is provided, the default behaviour is to match on + * If no option locator prefix is provided, the default behavior is to match on * label. *

* @@ -886,7 +886,7 @@ public interface Selenium { * OK. This can be changed by prior execution of the chooseCancelOnNextConfirmation command. *

*

- * If an confirmation is generated but you do not consume it with getConfirmation, the next + * If a confirmation is generated but you do not consume it with getConfirmation, the next * Selenium action will fail. *

*

@@ -1124,7 +1124,7 @@ public interface Selenium { /** * Determines if the specified element is visible. An element can be rendered invisible by setting * the CSS "visibility" property to "hidden", or the "display" property to "none", either for the - * element itself or one if its ancestors. This method will fail if the element is not present. + * element itself or one of its ancestors. This method will fail if the element is not present. * * @param locator an element locator * @return true if the specified element is visible, false otherwise @@ -1169,7 +1169,7 @@ public interface Selenium { * If a given field has no ID, it will appear as "" in this array. *

* - * @return the IDs of all field on the page + * @return the IDs of all fields on the page */ String[] getAllFields(); @@ -1705,7 +1705,7 @@ public interface Selenium { /** * Tells the Selenium server to add the specified key and value as a custom outgoing request - * header. This only works if the browser is configured to use the built in Selenium proxy. + * header. This only works if the browser is configured to use the built-in Selenium proxy. * * @param key the header name. * @param value the header value.