Record Class HealingFingerprintObservation
java.lang.Object
java.lang.Record
com.shaft.gui.internal.healing.HealingFingerprintObservation
- Record Components:
pageUrl- recorded page URL where the element was capturedoriginalLocator- locator the generated test will resolve at replay/execution timeaction- current action namefingerprint- recorded element evidence
public record HealingFingerprintObservation(String pageUrl, org.openqa.selenium.By originalLocator, String action, HealingFingerprintSeed fingerprint)
extends Record
Recorded element evidence supplied to an optional provider without a live driver or element
(issue #4161) -- e.g. generation-time seeding from shaft-capture's already-computed per-element
DOM signal, so recorded fingerprint history exists before a generated test is ever replayed.
-
Constructor Summary
ConstructorsConstructorDescriptionHealingFingerprintObservation(String pageUrl, org.openqa.selenium.By originalLocator, String action, HealingFingerprintSeed fingerprint) Creates a validated observation. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefingerprintrecord component.final inthashCode()Returns a hash code value for this object.org.openqa.selenium.ByReturns the value of theoriginalLocatorrecord component.pageUrl()Returns the value of thepageUrlrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HealingFingerprintObservation
public HealingFingerprintObservation(String pageUrl, org.openqa.selenium.By originalLocator, String action, HealingFingerprintSeed fingerprint) Creates a validated observation.
-
-
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). -
pageUrl
-
originalLocator
public org.openqa.selenium.By originalLocator()Returns the value of theoriginalLocatorrecord component.- Returns:
- the value of the
originalLocatorrecord component
-
action
-
fingerprint
Returns the value of thefingerprintrecord component.- Returns:
- the value of the
fingerprintrecord component
-