Skip to content

Commit

Permalink
Fix the Equals method for locator list
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatkins18 committed Jan 31, 2024
1 parent ce0717d commit 85b9594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Boa.Constrictor.Selenium/Tasks/SwitchFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public override void PerformAs(IActor actor, IWebDriver driver)
/// <param name="obj">The other object.</param>
public override bool Equals(object obj) =>
obj is SwitchFrame frame &&
Locators.Equals(frame.Locators) &&
Locators.SequenceEqual(frame.Locators) &&
StartFromCurrentLocation == frame.StartFromCurrentLocation &&
UseDefaultContent == frame.UseDefaultContent;

Expand Down

0 comments on commit 85b9594

Please sign in to comment.