diff --git a/Boa.Constrictor.Selenium/Tasks/SwitchFrame.cs b/Boa.Constrictor.Selenium/Tasks/SwitchFrame.cs index f4a8977..ed303ee 100644 --- a/Boa.Constrictor.Selenium/Tasks/SwitchFrame.cs +++ b/Boa.Constrictor.Selenium/Tasks/SwitchFrame.cs @@ -111,7 +111,7 @@ public override void PerformAs(IActor actor, IWebDriver driver) /// The other object. public override bool Equals(object obj) => obj is SwitchFrame frame && - Locators.Equals(frame.Locators) && + Locators.SequenceEqual(frame.Locators) && StartFromCurrentLocation == frame.StartFromCurrentLocation && UseDefaultContent == frame.UseDefaultContent;