{"id":19783129,"url":"https://github.com/edmondscommerce/behat-zalenium-context","last_synced_at":"2025-06-26T00:06:27.929Z","repository":{"id":56975151,"uuid":"151257936","full_name":"edmondscommerce/behat-zalenium-context","owner":"edmondscommerce","description":"A Behat Context for integrating with Zalenium and allowing split videos for test scenarios","archived":false,"fork":false,"pushed_at":"2020-02-10T10:42:00.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T13:07:22.391Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.edmondscommerce.co.uk/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edmondscommerce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-02T13:21:29.000Z","updated_at":"2020-02-10T10:42:02.000Z","dependencies_parsed_at":"2022-08-21T07:40:33.161Z","dependency_job_id":null,"html_url":"https://github.com/edmondscommerce/behat-zalenium-context","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edmondscommerce/behat-zalenium-context","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fbehat-zalenium-context","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fbehat-zalenium-context/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fbehat-zalenium-context/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fbehat-zalenium-context/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edmondscommerce","download_url":"https://codeload.github.com/edmondscommerce/behat-zalenium-context/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edmondscommerce%2Fbehat-zalenium-context/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261973727,"owners_count":23238586,"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","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":[],"created_at":"2024-11-12T06:07:22.700Z","updated_at":"2025-06-26T00:06:27.898Z","avatar_url":"https://github.com/edmondscommerce.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Behat Zalenium Context\n## By [Edmonds Commerce](https://www.edmondscommerce.co.uk)\n\nA Behat Context for integrating with Zalenium and allowing split videos for test scenarios\n\nThe context passes message to Zalenium through the use of Browser cookies:\n* To indicate test pass and failure\n* Add current step message to output video\n* Some error handling\n\n## Requirements\n* PHP7.0+\n* Using Zalenium (based on Selenium 3)\n* Docker (for Zalenium to run)\n* Using Chrome in automated tests\n\n## Installation\n\nInstall via composer - \n```bash\ncomposer require edmondscommerce/behat-zalenium-context:dev-master@dev\n```\n\n*if you are using this in your main repository we suggest add this as a dev dependency with the `--dev` flag*\n\n## Configuration \n\n### Use ZaleniumExtension\nReplace the `MinkExtension` in your `behat.yml` file with the `ZaleniumExtension`.\nThis is required to allow the Zalenium messages to be set in the videos correctly.\n\n```yaml\ndefault:\n  extensions:\n    Behat\\MinkExtension:     \n```\n\nBecomes\n\n```yaml\ndefault:\n  extensions:\n    EdmondsCommerce\\ZaleniumContext\\ZaleniumExtension:\n```\n\n### Include Context in Behat Configuration\n\n```yaml\ndefault:\n    # ...\n    suites:\n        default:\n        # ...\n            contexts:\n                - # ...\n                - EdmondsCommerce\\ZaleniumContext\\ZaleniumContext\n```\n\n### Update your profile to use Zalenium\nThis will allow the `ZaleniumDriver` to work in place of `Selenium2Driver`.\nThe `ZaleniumDriver` is an extension of the `Selenium2Driver`.\n\n```yaml\n# ...\n        selenium_chrome_session_headless:\n          selenium2:\n            browser: chrome\n            capabilities:\n# ...\n```\n\nBecomes\n\n```yaml\n# ...\n        selenium_chrome_session:\n          zalenium:\n            browser: chrome\n            capabilities:\n# ...\n```\n\n## Usage\n\nSee our handbook page in the links below for further information on how to use Zalenium with Behat.\nIf you find a bug or want to help improve the extension, drop us an issue/pull request!\n\n### Notes\nBy default, the `ZaleniumDriver` will disable W3C mode, this is not supported by the underlying web driver.\nAs a matter of convenience, this has been done in the driver itself, along with the allowance of insecure SSL.\nThese options are automatically added to the desired capabilities.\n\nAll test scenarios must have a name, the following will cause an exception in the Zalenium driver.\n```gherkin\nScenario:\nGiven I don't set my scenario name\nThen I see my tests are broken\n```\n \n## Links\n[Packagist](https://packagist.org/packages/edmondscommerce/zalenium-context)\n\n[Zalenium Github](https://github.com/zalando/zalenium)\n\n[Zalenium on the EC handbook](https://www.edmondscommerce.co.uk/handbook/Development-Tools/Testing/Zalenium/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedmondscommerce%2Fbehat-zalenium-context","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedmondscommerce%2Fbehat-zalenium-context","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedmondscommerce%2Fbehat-zalenium-context/lists"}