From d2bf94aa1b97eeb82883b952ea94c86edfaa9170 Mon Sep 17 00:00:00 2001 From: redth Date: Sat, 15 Oct 2022 15:47:24 -0400 Subject: [PATCH] Fix extension method extra unused arg --- src/Core/Query/QueryExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Query/QueryExtensions.cs b/src/Core/Query/QueryExtensions.cs index 77b0138..ab5241c 100644 --- a/src/Core/Query/QueryExtensions.cs +++ b/src/Core/Query/QueryExtensions.cs @@ -131,7 +131,7 @@ public static DriverQuery LongPress(this DriverQuery query) public static DriverQuery InputText(this DriverQuery query, string text) => query.Append(new InteractionQueryStep((driver, element) => driver.InputText(element, text))); - public static DriverQuery ClearText(this DriverQuery query, string text) + public static DriverQuery ClearText(this DriverQuery query) => query.Append(new InteractionQueryStep((driver, element) => driver.ClearText(element))); }