{"id":17160829,"url":"https://github.com/dimsav/behat-reference","last_synced_at":"2026-01-05T06:51:02.532Z","repository":{"id":16550837,"uuid":"19304516","full_name":"dimsav/behat-reference","owner":"dimsav","description":null,"archived":false,"fork":false,"pushed_at":"2014-04-30T11:47:12.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T20:26:12.305Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/dimsav.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":"2014-04-30T07:18:21.000Z","updated_at":"2014-04-30T11:47:12.000Z","dependencies_parsed_at":"2022-09-24T07:50:27.927Z","dependency_job_id":null,"html_url":"https://github.com/dimsav/behat-reference","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimsav%2Fbehat-reference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimsav%2Fbehat-reference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimsav%2Fbehat-reference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimsav%2Fbehat-reference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimsav","download_url":"https://codeload.github.com/dimsav/behat-reference/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245294718,"owners_count":20591909,"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-10-14T22:26:10.491Z","updated_at":"2026-01-05T06:51:02.504Z","avatar_url":"https://github.com/dimsav.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Behat Reference\n===============\n\n\n## Mink\n\n### Radio button\n\nSelect a radio button\n\n```php\n$this-\u003eselectOption('my_name', 'my_value');\n```\n\nAssert is selected\n\n```php\n$option = $this-\u003egetSession()-\u003egetPage()-\u003efind('css', '[name=\"my_name\"][value=\"my_value\"]');\nassertEquals('checked', $option-\u003egetAttribute('checked'));\n```\n\n### Check box\n\nCheck a checkbox\n\n```php\n$this-\u003echeckOption('my_name');\n```\n\nUncheck a checkbox\n\n\n```php\n$this-\u003euncheckOption('my_name');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimsav%2Fbehat-reference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimsav%2Fbehat-reference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimsav%2Fbehat-reference/lists"}