Class WebBackendErrors
The failure messages both backends report for the shared resolution and actionability contract, so the same situation reads the same whichever backend produced it. A hand-written backend composes them so its failures stay indistinguishable from the shipped ones.
public static class WebBackendErrors
- Inheritance
-
WebBackendErrors
- Inherited Members
Methods
MultipleMatch(WebLocator, string, int?)
More than one element where a single-element operation requires at most one.
public static WebElementResolutionException MultipleMatch(WebLocator locator, string componentPath, int? count)
Parameters
locatorWebLocatorcomponentPathstringcountint?
Returns
NotActionable(WebElementReference, TimeSpan, string?)
An action that never became actionable, with the backend's last observation when it has one.
public static WebActionabilityException NotActionable(WebElementReference element, TimeSpan timeout, string? observation = null)
Parameters
elementWebElementReferencetimeoutTimeSpanobservationstring
Returns
NotPresent(WebElementReference, TimeSpan)
A read of an element that never appeared.
public static WebElementResolutionException NotPresent(WebElementReference element, TimeSpan timeout)
Parameters
elementWebElementReferencetimeoutTimeSpan