{"id":20597920,"url":"https://github.com/perl-weasel/weasel-driver-mock","last_synced_at":"2025-07-26T16:08:58.558Z","repository":{"id":56831086,"uuid":"170997178","full_name":"perl-weasel/weasel-driver-mock","owner":"perl-weasel","description":"Weasel driver to simulate webpage interaction","archived":false,"fork":false,"pushed_at":"2019-09-19T19:48:24.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T15:23:52.252Z","etag":null,"topics":["mock","pageobject","perl","test","weasel","webapp"],"latest_commit_sha":null,"homepage":null,"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}},"created_at":"2019-02-16T11:40:44.000Z","updated_at":"2019-09-19T19:48:26.000Z","dependencies_parsed_at":"2022-08-28T21:02:08.458Z","dependency_job_id":null,"html_url":"https://github.com/perl-weasel/weasel-driver-mock","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/perl-weasel/weasel-driver-mock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perl-weasel%2Fweasel-driver-mock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perl-weasel%2Fweasel-driver-mock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perl-weasel%2Fweasel-driver-mock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perl-weasel%2Fweasel-driver-mock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perl-weasel","download_url":"https://codeload.github.com/perl-weasel/weasel-driver-mock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perl-weasel%2Fweasel-driver-mock/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267191044,"owners_count":24050318,"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-07-26T02:00:08.937Z","response_time":62,"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":["mock","pageobject","perl","test","weasel","webapp"],"created_at":"2024-11-16T08:24:23.951Z","updated_at":"2025-07-26T16:08:58.506Z","avatar_url":"https://github.com/perl-weasel.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# NAME\n\nWeasel::Driver::Mock\n\n[![Build Status](https://travis-ci.org/perl-weasel/weasel-driver-mock.svg?branch=master)](https://travis-ci.org/perl-weasel/weasel-driver-mock)\n\n# VERSION\n\n0.02\n\n# SYNOPSIS\n\n```perl\n  use Weasel;\n  use Weasel::Session;\n  use Weasel::Driver::Mock;\n\n  my %opts = (\n    states =\u003e [\n       { cmd =\u003e 'get', args =\u003e [ 'http://localhost/index' ] },\n       { cmd =\u003e 'find', args =\u003e [ '//div[@id=\"your-id\"]' ] },\n    ],\n  );\n  my $weasel = Weasel-\u003enew(\n       default_session =\u003e 'default',\n       sessions =\u003e {\n          default =\u003e Weasel::Session-\u003enew(\n            driver =\u003e Weasel::Driver::Mock-\u003enew(%opts),\n          ),\n       });\n\n  $weasel-\u003esession-\u003eget('http://localhost/index');\n```\n\n# DESCRIPTION\n\nThis module implements the `Weasel::DriverRole`\nAPI for [Weasel](https://github.com/perl-weasel/weasel/)\nto simulate webpage interactions for testing purposes.\n\n# INSTALLATION\n\n```sh\n  # Install Weasel::Driver::Mock\n  $ cpanm Weasel::Driver::Mock\n```\n\n# SUPPORT\n\n## BUGS\n\nBugs can be filed in the GitHub issue tracker for the\nWeasel::Driver::Mock project:\n https://github.com/perl-weasel/weasel-driver-mock/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)  2019  Erik Huelsmann\n```\n\n# LICENSE\n\nSame as Perl\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperl-weasel%2Fweasel-driver-mock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperl-weasel%2Fweasel-driver-mock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperl-weasel%2Fweasel-driver-mock/lists"}