Skip to content

Commit

Permalink
Do not expose the experimental API
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergondza committed Sep 11, 2019
1 parent 40a41c7 commit 5606d3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/jenkinsci/test/acceptance/po/Control.java
Expand Up @@ -111,7 +111,7 @@ public void click() {
* like click but will block for up to 30 seconds until the underlying web element has become stale.
* see https://blog.codeship.com/get-selenium-to-wait-for-page-load/
*/
public void clickAndWaitToBecomeStale() {
/*package*/ void clickAndWaitToBecomeStale() {
clickAndWaitToBecomeStale(Duration.ofSeconds(30));
}

Expand All @@ -120,7 +120,7 @@ public void clickAndWaitToBecomeStale() {
* see https://blog.codeship.com/get-selenium-to-wait-for-page-load/
* @param timeout the amount of time to wait
*/
public void clickAndWaitToBecomeStale(Duration timeout) {
/*package*/ void clickAndWaitToBecomeStale(Duration timeout) {
WebElement webElement = resolve();
// webElement.submit() despite advertising it does exactly this just blows up :(
webElement.click();
Expand Down

0 comments on commit 5606d3b

Please sign in to comment.