Record Class HealingResolution
java.lang.Object
java.lang.Record
com.shaft.gui.internal.healing.HealingResolution
- Record Components:
attemptId- provider-owned safe correlation identifierelements- selected elements; successful recovery must contain exactly oneselectedLocator- explainable replacement locator
-
Constructor Summary
ConstructorsConstructorDescriptionHealingResolution(String attemptId, List<org.openqa.selenium.WebElement> elements, org.openqa.selenium.By selectedLocator) Creates an immutable resolution. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattemptIdrecord component.List<org.openqa.selenium.WebElement> elements()Returns the value of theelementsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.openqa.selenium.ByReturns the value of theselectedLocatorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HealingResolution
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
attemptId
-
elements
-
selectedLocator
public org.openqa.selenium.By selectedLocator()Returns the value of theselectedLocatorrecord component.- Returns:
- the value of the
selectedLocatorrecord component
-