Skip to content

Commit

Permalink
Raise deprecation level to ERROR for PageSession.clickOnElement and I…
Browse files Browse the repository at this point in the history
…nputDomain.dispatchMouseClick

Resolves:
#481
  • Loading branch information
joffrey-bion committed Jan 3, 2025
1 parent 296c25b commit 8f02dd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ suspend fun InputDomain.dispatchMouseClick(
expression = "this.dispatchMouseClick(x, y, clickDurationMillis.milliseconds, button)",
imports = ["kotlin.time.Duration.Companion.milliseconds"],
),
level = DeprecationLevel.ERROR,
)
suspend fun InputDomain.dispatchMouseClick(
x: Double,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ suspend fun PageSession.clickOnElement(
expression = "this.clickOnElement(selector, clickDurationMillis.milliseconds, mouseButton)",
imports = ["kotlin.time.Duration.Companion.milliseconds"],
),
level = DeprecationLevel.ERROR,
)
suspend fun PageSession.clickOnElement(
selector: CssSelector,
Expand Down

0 comments on commit 8f02dd4

Please sign in to comment.