{"id":22426404,"url":"https://github.com/robertfausk/mink-panther-driver","last_synced_at":"2025-08-18T19:41:18.412Z","repository":{"id":38355525,"uuid":"154381233","full_name":"robertfausk/mink-panther-driver","owner":"robertfausk","description":"Symfony Panther driver for Mink framework","archived":false,"fork":false,"pushed_at":"2025-04-04T08:17:21.000Z","size":121,"stargazers_count":12,"open_issues_count":2,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-26T13:42:14.321Z","etag":null,"topics":["behat","chromedriver","e2e-testing","mink","mink-driver","php","symfony","symfony-panther"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/robertfausk/mink-panther-driver","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertfausk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-10-23T18:56:51.000Z","updated_at":"2025-04-04T08:17:24.000Z","dependencies_parsed_at":"2024-06-18T21:26:24.215Z","dependency_job_id":"3da7e546-b515-41f0-b1d7-69942716dd05","html_url":"https://github.com/robertfausk/mink-panther-driver","commit_stats":{"total_commits":118,"total_committers":5,"mean_commits":23.6,"dds":0.364406779661017,"last_synced_commit":"52aa735bc0cf05f5fd9406f4da56136b00b9c5cb"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/robertfausk/mink-panther-driver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfausk%2Fmink-panther-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfausk%2Fmink-panther-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfausk%2Fmink-panther-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfausk%2Fmink-panther-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertfausk","download_url":"https://codeload.github.com/robertfausk/mink-panther-driver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfausk%2Fmink-panther-driver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271050491,"owners_count":24691183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["behat","chromedriver","e2e-testing","mink","mink-driver","php","symfony","symfony-panther"],"created_at":"2024-12-05T19:18:14.662Z","updated_at":"2025-08-18T19:41:18.004Z","avatar_url":"https://github.com/robertfausk.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MinkPantherDriver\n[![Latest Stable Version](https://poser.pugx.org/robertfausk/mink-panther-driver/v/stable.svg)](https://packagist.org/packages/robertfausk/mink-panther-driver)\n[![Latest Unstable Version](https://poser.pugx.org/robertfausk/mink-panther-driver/v/unstable.svg)](https://packagist.org/packages/robertfausk/mink-panther-driver)\n[![Total Downloads](https://poser.pugx.org/robertfausk/mink-panther-driver/downloads.svg)](https://packagist.org/packages/robertfausk/mink-panther-driver)\n[![Monhtly Downloads](https://img.shields.io/packagist/dm/robertfausk/mink-panther-driver?style=flat\u0026color=blue)](https://img.shields.io/packagist/dm/robertfausk/mink-panther-driver)\n[![Daily Downloads](https://img.shields.io/packagist/dd/robertfausk/mink-panther-driver?style=flat\u0026color=blue)](https://img.shields.io/packagist/dm/robertfausk/mink-panther-driver)\n[![Tests](https://github.com/robertfausk/mink-panther-driver/actions/workflows/ci.yml/badge.svg)](https://github.com/robertfausk/mink-panther-driver/actions/workflows/ci.yml)\n[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/robertfausk/mink-panther-driver/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/robertfausk/mink-panther-driver/)\n[![Code Coverage](https://scrutinizer-ci.com/g/robertfausk/mink-panther-driver/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/robertfausk/mink-panther-driver/)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE)\n[![PHP Version Require](http://poser.pugx.org/robertfausk/mink-panther-driver/require/php)](https://packagist.org/packages/robertfausk/mink-panther-driver)\n[![Open Issues](https://img.shields.io/github/issues-raw/robertfausk/mink-panther-driver?style=flat)](https://github.com/robertfausk/mink-panther-driver/issues)\n[![Closed Issues](https://img.shields.io/github/issues-closed-raw/robertfausk/mink-panther-driver?style=flat)](https://github.com/robertfausk/mink-panther-driver/issues?q=is%3Aissue+is%3Aclosed)\n[![Contributors](https://img.shields.io/github/contributors/robertfausk/mink-panther-driver?style=flat)](https://github.com/robertfausk/mink-panther-driver/graphs/contributors)\n![Contributors](https://img.shields.io/maintenance/yes/2027?style=flat)\n[![Dependents](http://poser.pugx.org/robertfausk/mink-panther-driver/dependents)](https://packagist.org/packages/robertfausk/mink-panther-driver/dependents)\n\n\nSymfony Panther driver for Mink framework\n\n## Install\n\n    composer require --dev robertfausk/mink-panther-driver\n\nUsage Example\n-------------\n\n```PHP\n\u003c?php\n\nuse Behat\\Mink\\Mink;\nuse Behat\\Mink\\Session;\nuse Behat\\Mink\\Driver\\PantherDriver;\nuse Symfony\\Component\\Panther\\PantherTestCase;\n\n// These are the same options passed as in PantherTestCaseTrait::createPantherClient client constructor. \nprotected static $defaultOptions = [\n    'webServerDir' =\u003e __DIR__.'/../../../../public', // the Flex directory structure\n    'hostname' =\u003e '127.0.0.1',\n    'port' =\u003e 9080,\n    'router' =\u003e '',\n    'external_base_uri' =\u003e null,\n    'readinessPath' =\u003e '',\n    'browser' =\u003e PantherTestCase::CHROME,\n];\n$kernelOptions = []; # unused cause we do not extend class KernelTestCase\n$managerOptions = [];\n\n$mink = new Mink(array(\n    'panther' =\u003e new Session(new PantherDriver($defaultOptions, $kernelOptions, $managerOptions)),\n));\n\n$mink-\u003egetSession('panther')-\u003egetPage()-\u003efindLink('Chat')-\u003eclick();\n```\n\nPlease refer to [MinkExtension-example](https://github.com/Behat/MinkExtension-example) for an executable example.\n\n## Documentation\n\nSince MinkPantherDriver is just glue between Mink and Symfony Panther, it already has an extensive documentation:\n\n* For `Mink` , read [Mink's documentation](http://mink.behat.org/en/latest/).\n* For `symfony/panther`, read [Panther's documentation](https://github.com/symfony/panther).\n* For usage with `Behat`, read [Behat's documentation](http://behat.org/en/latest/guides.html)\nand give [robertfausk/behat-panther-extension](https://github.com/robertfausk/behat-panther-extension) a try.\n\n### How to upgrade?\n\n Have a look at [CHANGELOG](CHANGELOG.md) for detailed information.\n\n## How to contribute?\n\nStart docker-compose with php web driver by using one of the prepared docker setups with php7.2, php7.3, php7.4, php8.0, php8.1 or php8.2.\n\n    docker-compose up php8.4\n\nRun phpunit tests\n\n    docker-compose exec php8.4 vendor/bin/phpunit\n\nIf you run into issues of type ```session not created: This version of ChromeDriver only supports Chrome version 79```\nthen it is because of mismatched versions between installed chrome driver and chromium.\nBest way to bypass this problem is to update them to their newest version.\n\n    docker-compose exec php8.4 composer update\n    docker-compose exec php8.4 vendor/bin/bdi detect drivers\n\n## Credits\n\nCreated by Robert Freigang [robertfausk](https://github.com/robertfausk).\n \nMinkPantherDriver is built on top of [Panther](https://github.com/symfony/panther) and for usage with [Behat and Mink](http://behat.org/en/latest/cookbooks/integrating_symfony2_with_behat.html#initialising-behat). \nIt has been inspired by [MinkBrowserKitDriver](https://github.com/minkphp/MinkBrowserKitDriver) and [MinkSelenium2Driver](https://github.com/minkphp/MinkSelenium2Driver).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertfausk%2Fmink-panther-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertfausk%2Fmink-panther-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertfausk%2Fmink-panther-driver/lists"}