Failure diagnostics
DrevOps\BehatSteps\Steps\Web\DiagnosticsTrait - Source, Steps
Append on-failure diagnostics to the failure message of any failed step.
public function diagnosticsFindBrowserDriverName(): ?string
Return the browser driver's class, or NULL when it is unavailable
public function diagnosticsFindRerunCommand(): ?string
Return the command that re-runs just the failing scenario
public function diagnosticsFindStatusCode(): ?int
Return the last response status code, or NULL when it is unavailable
public function diagnosticsFindUrl(): ?string
Return the current page URL, or NULL when it cannot be determined
public function diagnosticsGetHeader(): string
Return the header line that precedes the diagnostics block
public function diagnosticsGetJsErrors(): array
Return collected JavaScript console error messages
public function diagnosticsGetRerunBinary(): string
Return the binary used in the re-run command. Override to customize
public function diagnosticsGetShowBrowserDriver(): bool
Return TRUE to include the browser driver class. Override to suppress
public function diagnosticsGetShowJsErrors(): bool
Return TRUE to include JavaScript console errors. Override to suppress
public function diagnosticsGetShowRerun(): bool
Return TRUE to include the re-run command. Override to suppress
public function diagnosticsGetShowStatusCode(): bool
Return TRUE to include the HTTP status code. Override to suppress
public function diagnosticsGetShowUrl(): bool
Return TRUE to include the current URL. Override to suppress