You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dotnet/src/support/Events/EventFiringWebDriver.cs
+22-14Lines changed: 22 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1419,20 +1419,6 @@ public void Submit()
1419
1419
}
1420
1420
}
1421
1421
1422
-
publicoverrideboolEquals(objectobj)
1423
-
{
1424
-
if(!(objisIWebElement))
1425
-
returnfalse;
1426
-
1427
-
IWebElementother=(IWebElement)obj;
1428
-
if(otherisIWrapsElementwrapper)
1429
-
{
1430
-
other=((IWrapsElement)wrapper).WrappedElement;
1431
-
}
1432
-
1433
-
returnunderlyingElement.Equals(other);
1434
-
}
1435
-
1436
1422
/// <summary>
1437
1423
/// Click this element. If this causes a new page to load, this method will block until
1438
1424
/// the page has loaded. At this point, you should discard all references to this element
@@ -1574,6 +1560,28 @@ public ReadOnlyCollection<IWebElement> FindElements(By by)
1574
1560
1575
1561
returnwrappedElementList.AsReadOnly();
1576
1562
}
1563
+
1564
+
/// <summary>
1565
+
/// Determines whether the specified <see cref="EventFiringWebElement"/> is equal to the current <see cref="EventFiringWebElement"/>.
1566
+
/// </summary>
1567
+
/// <param name="obj">The <see cref="EventFiringWebElement"/> to compare to the current <see cref="EventFiringWebElement"/>.</param>
1568
+
/// <returns><see langword="true"/> if the specified <see cref="EventFiringWebElement"/> is equal to the current <see cref="EventFiringWebElement"/>; otherwise, <see langword="false"/>.</returns>
0 commit comments