Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 3, 2024 via composer

behat/mink-extension 2.3.1

Mink extension for Behat
Package summary
Share
1
issue
1
moderate severity
license
1
2
licenses
27
MIT
1
Artistic-1.0
Package created
7 May 2012
Version published
6 Feb 2018
Maintainers
1
Total deps
28
Direct deps
3
License
MIT

Issues

1

1 moderate severity issue

moderate
Recommendation: Validate that the package complies with your license policy
via: behat/behat@v3.14.0
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
27 Packages, Including:
behat/behat@v3.14.0
behat/gherkin@v4.9.0
behat/mink@v1.11.0
behat/mink-extension@2.3.1
psr/container@1.1.2
psr/event-dispatcher@1.0.0
symfony/config@v4.4.44
symfony/console@v5.4.39
symfony/css-selector@v7.0.7
symfony/dependency-injection@v4.4.49
symfony/deprecation-contracts@v3.4.0
symfony/event-dispatcher@v5.4.39
symfony/event-dispatcher-contracts@v3.4.2
symfony/filesystem@v5.4.39
symfony/polyfill-ctype@v1.29.0
symfony/polyfill-intl-grapheme@v1.29.0
symfony/polyfill-intl-normalizer@v1.29.0
symfony/polyfill-mbstring@v1.29.0
symfony/polyfill-php73@v1.29.0
symfony/polyfill-php80@v1.29.0
symfony/polyfill-php81@v1.29.0
symfony/process@v6.4.7
symfony/service-contracts@v2.5.3
symfony/string@v6.4.7
symfony/translation@v4.4.47
symfony/translation-contracts@v2.5.3
symfony/yaml@v6.4.7

Artistic License 1.0

Weakly Protective
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
behat/transliterator@v1.5.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

3
All Dependencies CSV
ⓘ This is a list of behat/mink-extension 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
behat/behatv3.14.0-MIT
prod
1
behat/minkv1.11.0-MIT
prod
symfony/configv4.4.44-MIT
prod dev

Visualizations

Frequently Asked Questions

What does behat/mink-extension do?

The Behat/MinkExtension is a robust integration layer that bridges the gap between Behat 3.0+ and Mink 1.5+. Its primary role is to provide additional services for Behat, such as Mink, Sessions, and Drivers. Simultaneously, it offers Behat\MinkExtension\Context\MinkAwareContext that delivers a Mink instance for your contexts. The base context Behat\MinkExtension\Context\MinkContext is endowed with essential step definitions and hooks for your contexts or sub-contexts. This basic context can either be used independently or provide a reliable foundation for more specific contexts.

How do you use behat/mink-extension?

To utilize the Behat/MinkExtension, you must first install it in your project. For this, use the composer tool. Here is a simple command you should use in your terminal:

composer require --dev behat/mink-extension

After successfully installing the extension, you should activate it in your Behat suites. In your Behat project’s behat.yml configuration file, add the MinkExtension and configure your browser simulator:

default:
  extensions:
    Behat\MinkExtension:
      base_url: http://example.com
      sessions:
        default:
          goutte: ~

Here, we used goutte as the default web browser simulator for non-JS scenarios. Use this in your feature context files, and Mink will become available as a service.

<?php

namespace FeatureContext extends \Behat\MinkExtension\Context\MinkContext
{
    // your context methods go here
}

In the code above, FeatureContext class extends MinkContext, giving it access to Mink and all its functionality.

Where are the behat/mink-extension docs?

The official documentation of Behat/MinkExtension is accessible and provides an in-depth explanation of how to make the most of this extension. You can find this information on the Official documentation. Documentation comes with details on what the extension offers, how to use it efficiently and keep up-to-date with its features.