diff --git a/dotnet/src/webdriver/InitializationScript.cs b/dotnet/src/webdriver/InitializationScript.cs
index f0068b6285e43..dbf2515bd0775 100644
--- a/dotnet/src/webdriver/InitializationScript.cs
+++ b/dotnet/src/webdriver/InitializationScript.cs
@@ -17,7 +17,6 @@
// under the License.
//
-using System;
using System.Globalization;
#nullable enable
@@ -27,7 +26,7 @@ namespace OpenQA.Selenium
///
/// Represents a JavaScript script that is loaded and run on every document load.
///
- public class InitializationScript : IEquatable
+ public class InitializationScript
{
internal InitializationScript(string scriptId, string scriptName, string scriptSource)
{
@@ -51,12 +50,6 @@ internal InitializationScript(string scriptId, string scriptName, string scriptS
///
public string ScriptSource { get; }
- ///
- public bool Equals(InitializationScript? other)
- {
- return other is not null && this.ScriptId.Equals(other.ScriptId) && this.ScriptName.Equals(other.ScriptName) && this.ScriptSource.Equals(other.ScriptSource);
- }
-
///
/// Indicates whether the current is equal to another of the same type.
///