{"id":21163444,"url":"https://github.com/punktde/codeception-webdriver","last_synced_at":"2025-07-09T15:35:05.916Z","repository":{"id":48642127,"uuid":"199848701","full_name":"punktDe/codeception-webdriver","owner":"punktDe","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-18T11:55:48.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-14T21:42:21.150Z","etag":null,"topics":["codeception"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/punktDe.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"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}},"created_at":"2019-07-31T12:08:16.000Z","updated_at":"2024-10-18T11:55:35.000Z","dependencies_parsed_at":"2024-03-12T14:04:54.383Z","dependency_job_id":"dbba113a-8c56-416a-9ce1-1dcdd2b8cd4d","html_url":"https://github.com/punktDe/codeception-webdriver","commit_stats":{"total_commits":15,"total_committers":8,"mean_commits":1.875,"dds":0.7333333333333334,"last_synced_commit":"8227f61ee5a0ceed4f3ddf652807b7d2de0baca0"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punktDe%2Fcodeception-webdriver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punktDe%2Fcodeception-webdriver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punktDe%2Fcodeception-webdriver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punktDe%2Fcodeception-webdriver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/punktDe","download_url":"https://codeload.github.com/punktDe/codeception-webdriver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225567530,"owners_count":17489517,"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":["codeception"],"created_at":"2024-11-20T13:46:53.370Z","updated_at":"2024-11-20T13:46:54.129Z","avatar_url":"https://github.com/punktDe.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# punktde/codeception-webdriver\n\n## Gherkin Steps and additional module functions for the Codeception Webdriver module\n\n### How to use\n\n#### Additional module to store text and compare it later\n\nUse the module `PunktDe\\Codeception\\Webdriver\\Module\\Storage` in your `codeception.yaml`:\n\n```yaml\nmodules:\n   enabled:\n      - PunktDe\\Codeception\\Webdriver\\Module\\Storage\n```\n\n#### Gherkin steps\n\nYou can either use the trait `PunktDe\\Codeception\\Webdriver\\ActorTraits\\Webdriver` in your testing actor, which will add browser controls, checkers, cookie functions and functions\nto switch between frames or windows. Or if you only need some of the functionality you can use these specific traits:\n\n* `PunktDe\\Codeception\\Webdriver\\ActorTraits\\Checks`\n* `PunktDe\\Codeception\\Webdriver\\ActorTraits\\Controls`\n* `PunktDe\\Codeception\\Webdriver\\ActorTraits\\Cookie`\n* `PunktDe\\Codeception\\Webdriver\\ActorTraits\\Switchers`\n\nThe trait to use the storage module is all by itself, you have to include that even if you included the complete `PunktDe\\Codeception\\Webdriver\\ActorTraits\\Webdriver` trait.\n\n##### Example actor\n\n```php\n\u003c?php\n\n/*\n *  (c) 2018 punkt.de GmbH - Karlsruhe, Germany - http://punkt.de\n *  All rights reserved.\n */\n\n/**\n * Inherited Methods\n * @method void wantToTest($text)\n * @method void wantTo($text)\n * @method void execute($callable)\n * @method void expectTo($prediction)\n * @method void expect($prediction)\n * @method void amGoingTo($argumentation)\n * @method void am($role)\n * @method void lookForwardTo($achieveValue)\n * @method void comment($description)\n * @method \\Codeception\\Lib\\Friend haveFriend($name, $actorClass = NULL)\n *\n * @SuppressWarnings(PHPMD)\n*/\nclass AcceptanceTester extends \\Codeception\\Actor\n{\n    use _generated\\AcceptanceTesterActions;\n    use \\PunktDe\\Codeception\\Webdriver\\ActorTraits\\Webdriver; // use the webdriver steps trait\n    use \\PunktDe\\Codeception\\Webdriver\\ActorTraits\\Storage; // use the storage steps trait\n}\n```\n\n##### Which steps are there?\n\nTo get all the steps available you can just run the following command:\n\n```bash\nvendor/bin/codecept -c path/to/codeception.yaml gherkin:steps suiteName\n```\n\nThis will give you a table of all the steps available.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunktde%2Fcodeception-webdriver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpunktde%2Fcodeception-webdriver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunktde%2Fcodeception-webdriver/lists"}