{"id":20597919,"url":"https://github.com/perl-weasel/pherkin-extension-weasel","last_synced_at":"2026-04-29T15:06:19.754Z","repository":{"id":52805135,"uuid":"51826818","full_name":"perl-weasel/pherkin-extension-weasel","owner":"perl-weasel","description":"Extension for Test::BDD::Cucumber providing Weasel access","archived":false,"fork":false,"pushed_at":"2025-05-24T15:19:58.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-13T06:31:52.424Z","etag":null,"topics":["bdd","behavior-driven-development","cucumber","perl","testing","weasel","web-app","web-application","webapp"],"latest_commit_sha":null,"homepage":"","language":"Perl","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/perl-weasel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":null,"funding":null,"license":null,"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":"2016-02-16T10:15:16.000Z","updated_at":"2025-05-24T15:20:01.000Z","dependencies_parsed_at":"2025-06-13T08:02:17.699Z","dependency_job_id":"f129eb72-d971-4f84-88cb-b9616c5228d7","html_url":"https://github.com/perl-weasel/pherkin-extension-weasel","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/perl-weasel/pherkin-extension-weasel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perl-weasel%2Fpherkin-extension-weasel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perl-weasel%2Fpherkin-extension-weasel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perl-weasel%2Fpherkin-extension-weasel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perl-weasel%2Fpherkin-extension-weasel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perl-weasel","download_url":"https://codeload.github.com/perl-weasel/pherkin-extension-weasel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perl-weasel%2Fpherkin-extension-weasel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32430828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bdd","behavior-driven-development","cucumber","perl","testing","weasel","web-app","web-application","webapp"],"created_at":"2024-11-16T08:24:23.759Z","updated_at":"2026-04-29T15:06:19.739Z","avatar_url":"https://github.com/perl-weasel.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# NAME\n\nPherkin::Extension::Weasel - Pherkin extension for web-testing\n\n[![Build Status](https://travis-ci.org/perl-weasel/pherkin-extension-weasel.svg?branch=master)](https://travis-ci.org/perl-weasel/pherkin-extension-weasel)\n\n# VERSION\n\n0.16\n\n# SYNOPSIS\n\n```yaml\n   # In the pherkin config file t/.pherkin.yaml:\n   default:\n     extensions:\n       Pherkin::Extension::Weasel:\n         default_session: selenium\n         sessions:\n            selenium:\n              # write screenshots to img/\n              screenshots_dir: img\n              screenshot_events:\n              timestamps: 0\n              # generate screenshots before every step\n              pre_step: 1\n              # and at the end of every scenario\n              post_scenario: 1\n              base_url: http://localhost:5000\n              driver:\n                drv_name: Weasel::Driver::Selenium2\n                wait_timeout: 3000\n                window_size:  1024x1280\n                caps:\n                   port: 4420\n```\n\n```perl\n  # Which makes the S-\u003e{ext_wsl} field available,\n  # pointing at the default session, in steps of features or scenarios\n  # marked with the '@weasel' tag so in the steps you can use:\n\n  use Weasel::FindExpanders::HTML;\n\n  Then qr/I see an input element with label XYZ/, sub {\n    S-\u003e{ext_wsl}-\u003epage-\u003efind('*labelled', text =\u003e 'XYZ');\n  };\n```\n# DESCRIPTION\n\nThis module implements an extension to [Test::BDD::Cucumber\n(aka pherkin)](https://github.com/pjlsergeant/test-bdd-cucumber-perl),\nproviding access to a\n[`Weasel::Session`](https://github.com/perl-weasel/weasel/) and the\nfollowing features:\n\n  * Starting sessions for scenarios which need it\n  * Taking screenshots on configured events\n  * Provide basic steps for\n    * Page navigation\n    * Page content assertion\n\nIntended features to be implemented:\n\n  * Browser session transcript recording, annotating browser\n    manipulation invocations with Weasel function return\n    values and screenshots.\n\n(More ideas welcome, please log issues.)\n\n# INSTALLATION\n\n```sh\n  # Install Pherkin::Extension::Weasel with its dependencies\n  $ cpanm Pherkin::Extension::Weasel\n\n  # Install the (currently only) Weasel web driver\n  $ cpanm Weasel::Driver::Selenium2\n```\n\nIf you want to use the Dojo compatibility widgets, also:\n\n```sh\n  cpanm Weasel::Widgets::Dojo\n```\n\n# SUPPORT\n\n## BUGS\n\nBugs can be filed in the GitHub issue tracker for the Weasel project:\n https://github.com/perl-weasel/pherkin-extension-weasel/issues\n\n## DISCUSSION\n\nCommunity support is available through\n[perl-weasel@googlegroups.com](mailto:perl-weasel@googlegroups.com).\n\n# COPYRIGHT\n\n```\nCopyright (c)  2016-2018  Erik Huelsmann\n```\n\n# LICENSE\n\nSame as Perl\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperl-weasel%2Fpherkin-extension-weasel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperl-weasel%2Fpherkin-extension-weasel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperl-weasel%2Fpherkin-extension-weasel/lists"}