Enum TransportErrorBehavior
- Namespace
- WebDriverBiDi.Protocol
- Assembly
- WebDriverBiDi.dll
The enumerated value specifying what the Transport should do upon encountering an error that no command call can report: a message it cannot process, an error response not caused by a command, or an unhandled exception in an event handler.
public enum TransportErrorBehavior
Fields
Collect = 1Collect errors as they occur and throw an exception upon termination of the Transport.
Ignore = 0Neither collect nor throw errors. An ignored error is still reported through the transport's diagnostic channels, as described for each error behavior property of Transport: the corresponding observable event where there is one, OnLogMessage, or WebDriverBiDiEventSource.
Terminate = 2Terminates the Transport connection immediately. This will have the effect of throwing an exception upon execution of the next command.