From eb22957eb2121be74758f91c48a0e117f7f1dc97 Mon Sep 17 00:00:00 2001 From: Shishu Raj Pandey Date: Thu, 15 Sep 2022 18:18:01 +0200 Subject: [PATCH 1/3] Fixed some typos --- java/src/com/thoughtworks/selenium/Selenium.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/java/src/com/thoughtworks/selenium/Selenium.java b/java/src/com/thoughtworks/selenium/Selenium.java index 7f1a7a2efa783..6f047a949c992 100644 --- a/java/src/com/thoughtworks/selenium/Selenium.java +++ b/java/src/com/thoughtworks/selenium/Selenium.java @@ -666,7 +666,7 @@ public interface Selenium { *

* 4.) If that fails, we'll try looping over all of the known windows to try to find the * appropriate "title". Since "title" is not necessarily unique, this may have unexpected - * behavior. + * behaviour. *

*

* If you're having trouble figuring out the name of a window that you want to manipulate, look at @@ -778,7 +778,7 @@ public interface Selenium { *

* By default, Selenium's overridden window.confirm() function will return true, as if the user * had manually clicked OK; after running this command, the next call to confirm() will return - * false, as if the user had clicked Cancel. Selenium will then resume using the default behavior + * false, as if the user had clicked Cancel. Selenium will then resume using the default behaviour * for future confirmations, automatically returning true (OK) unless/until you explicitly call * this command for each confirmation. *

@@ -795,7 +795,7 @@ public interface Selenium { * window.confirm() function will normally automatically return true, as if the user had manually * clicked OK, so you shouldn't need to use this command unless for some reason you need to change * your mind prior to the next confirmation. After any confirmation, Selenium will resume using - * the default behavior for future confirmations, automatically returning true (OK) unless/until + * the default behaviour for future confirmations, automatically returning true (OK) unless/until * you explicitly call chooseCancelOnNextConfirmation for each confirmation. *

*

@@ -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 builtin Selenium proxy. * * @param key the header name. * @param value the header value. From d37bbcb6964f96e616ac07986ce63a0f021765b2 Mon Sep 17 00:00:00 2001 From: Shishu Raj Pandey Date: Fri, 16 Sep 2022 03:43:32 +0530 Subject: [PATCH 2/3] Update Selenium.java --- java/src/com/thoughtworks/selenium/Selenium.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/thoughtworks/selenium/Selenium.java b/java/src/com/thoughtworks/selenium/Selenium.java index 6f047a949c992..0facb77ae74ca 100644 --- a/java/src/com/thoughtworks/selenium/Selenium.java +++ b/java/src/com/thoughtworks/selenium/Selenium.java @@ -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 builtin 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. From 2f225777931b5e2499539185fafa17f535c6d8f3 Mon Sep 17 00:00:00 2001 From: Titus Fortner Date: Sun, 25 Sep 2022 15:28:36 -0500 Subject: [PATCH 3/3] don't update behavior --- java/src/com/thoughtworks/selenium/Selenium.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java/src/com/thoughtworks/selenium/Selenium.java b/java/src/com/thoughtworks/selenium/Selenium.java index 0facb77ae74ca..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. *

* @@ -666,7 +666,7 @@ public interface Selenium { *

* 4.) If that fails, we'll try looping over all of the known windows to try to find the * appropriate "title". Since "title" is not necessarily unique, this may have unexpected - * behaviour. + * behavior. *

*

* If you're having trouble figuring out the name of a window that you want to manipulate, look at @@ -778,7 +778,7 @@ public interface Selenium { *

* By default, Selenium's overridden window.confirm() function will return true, as if the user * had manually clicked OK; after running this command, the next call to confirm() will return - * false, as if the user had clicked Cancel. Selenium will then resume using the default behaviour + * false, as if the user had clicked Cancel. Selenium will then resume using the default behavior * for future confirmations, automatically returning true (OK) unless/until you explicitly call * this command for each confirmation. *

@@ -795,7 +795,7 @@ public interface Selenium { * window.confirm() function will normally automatically return true, as if the user had manually * clicked OK, so you shouldn't need to use this command unless for some reason you need to change * your mind prior to the next confirmation. After any confirmation, Selenium will resume using - * the default behaviour for future confirmations, automatically returning true (OK) unless/until + * the default behavior for future confirmations, automatically returning true (OK) unless/until * you explicitly call chooseCancelOnNextConfirmation for each confirmation. *

*