Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mink Debug Extension Laravel Package

friends-of-behat/mink-debug-extension

Behat extension that logs Mink debug info after each failed step—ideal for CI runs. Saves page content and, with supported drivers, optional screenshots. Configurable log directory plus clean-start and screenshot options.

View on GitHub
Deep Wiki
Context7

MinkDebugExtension

MinkDebugExtension is a Behat extension made for debugging and logging Mink related data after every failed step. It is especially useful while running tests on continuous integration server like Travis. While using appropriate driver, you can also save screenshots just after the failure.

Installation

Assuming you already have Composer:

composer require friends-of-behat/mink-debug-extension

Then you only need to configure your Behat profile:

default:
    extensions:
        FriendsOfBehat\MinkDebugExtension:
            directory: directory-where-to-save-logs

Configuration reference

Under FriendsOfBehat\MinkDebugExtension there are three options to be configured:

  • directory (required to enable extension) - contains path to directory that will contain generated logs. Use the variable %paths.base% to refer to the directory where your behat.yml is
  • screenshot (default false) - whether to save screenshots if using supporting driver
  • clean_start (default true) - whether to clean your existing logs on each Behat execution

Testing

In order to test the extensions run:

composer install
bin/behat --strict

Authors

MinkDebugExtension was originally created by Kamil Kokot. See the list of contributors.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nasirkhan/laravel-sharekit
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony