Skip to content

Commit f14ad29

Browse files
committed
[java] Removing deprecated beforeSetScriptTimeout and afterSetScriptTimeout
1 parent 2a36e03 commit f14ad29

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

java/src/org/openqa/selenium/support/events/WebDriverListener.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -907,17 +907,6 @@ default void beforeImplicitlyWait(WebDriver.Timeouts timeouts, Duration duration
907907
*/
908908
default void afterImplicitlyWait(WebDriver.Timeouts timeouts, Duration duration) {}
909909

910-
/**
911-
* This action will be performed each time before {@link
912-
* WebDriver.Timeouts#scriptTimeout(Duration)} is called.
913-
*
914-
* @param timeouts The timeouts object that will be called
915-
* @param duration The duration that will be passed to the method
916-
* @deprecated Use {@link #beforeScriptTimeout(WebDriver.Timeouts, Duration)} instead.
917-
*/
918-
@Deprecated
919-
default void beforeSetScriptTimeout(WebDriver.Timeouts timeouts, Duration duration) {}
920-
921910
/**
922911
* This action will be performed each time before {@link
923912
* WebDriver.Timeouts#scriptTimeout(Duration)} is called.
@@ -927,17 +916,6 @@ default void beforeSetScriptTimeout(WebDriver.Timeouts timeouts, Duration durati
927916
*/
928917
default void beforeScriptTimeout(WebDriver.Timeouts timeouts, Duration duration) {}
929918

930-
/**
931-
* This action will be performed each time after {@link
932-
* WebDriver.Timeouts#scriptTimeout(Duration)} is called.
933-
*
934-
* @param timeouts The timeouts object that will be called
935-
* @param duration The duration that will be passed to the method
936-
* @deprecated Use {@link #afterScriptTimeout(WebDriver.Timeouts, Duration)} instead.
937-
*/
938-
@Deprecated
939-
default void afterSetScriptTimeout(WebDriver.Timeouts timeouts, Duration duration) {}
940-
941919
/**
942920
* This action will be performed each time after {@link
943921
* WebDriver.Timeouts#scriptTimeout(Duration)} is called.

0 commit comments

Comments
 (0)