{"id":28893637,"url":"https://github.com/devexpress/testcafe-angular-selectors","last_synced_at":"2025-09-16T10:09:27.705Z","repository":{"id":19643707,"uuid":"87549612","full_name":"DevExpress/testcafe-angular-selectors","owner":"DevExpress","description":"TestCafe selector extensions for Angular apps.","archived":false,"fork":false,"pushed_at":"2024-10-17T07:14:21.000Z","size":75,"stargazers_count":31,"open_issues_count":1,"forks_count":10,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-08-28T11:02:25.154Z","etag":null,"topics":["angular","angularjs","plugin","testcafe","testing"],"latest_commit_sha":null,"homepage":"https://testcafe.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DevExpress.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":"2017-04-07T13:40:34.000Z","updated_at":"2024-10-19T10:00:27.000Z","dependencies_parsed_at":"2023-01-11T20:32:02.140Z","dependency_job_id":"bfde8b1f-e252-439a-b099-29a5f79901c7","html_url":"https://github.com/DevExpress/testcafe-angular-selectors","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/DevExpress/testcafe-angular-selectors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevExpress%2Ftestcafe-angular-selectors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevExpress%2Ftestcafe-angular-selectors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevExpress%2Ftestcafe-angular-selectors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevExpress%2Ftestcafe-angular-selectors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevExpress","download_url":"https://codeload.github.com/DevExpress/testcafe-angular-selectors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevExpress%2Ftestcafe-angular-selectors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275399943,"owners_count":25457791,"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-09-16T02:00:10.229Z","response_time":65,"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":["angular","angularjs","plugin","testcafe","testing"],"created_at":"2025-06-21T03:08:08.078Z","updated_at":"2025-09-16T10:09:27.697Z","avatar_url":"https://github.com/DevExpress.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DEPRECATED\nThe TestCafe team no longer maintains the `testcafe-angular-selectors` repository. If you want to take over the project, we'll be happy to hand it over. To contact the team, create a new GitHub issue.\n\n## testcafe-angular-selectors\n\nThis plugin provides [Selector](https://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors.html) extensions that make it easier to test Angular applications with [TestCafe](https://github.com/DevExpress/testcafe/).\nThese extensions allow you to create a `Selector` to find elements on the page in a way that is native to Angular applications.\n\n### Install\n\n```sh\nnpm install testcafe-angular-selectors\n```\n\n### Usage\n\nThis module includes separate helpers for Angular and AngularJS applications.\n\nSee the following topics for more details:\n\n* [Angular Selector extentions](./angular-selector.md)\n* [AngularJS Selector extentions](./angularJS-selector.md)\n\n### Examples\n\nFor AngularJS applications, you need to use `AngularJSSelector` that contains a set of static methods to search by the specified bindings (`byModel`, `byBinding` and etc.).\n\n```js\nimport { AngularJSSelector } from 'testcafe-angular-selectors';\n...\nconst newTodoItem = AngularJSSelector.byModel('newTodo');\n```\n\nFor Angular applications, this module provides the capability to select an HTML element by an Angular's component selector or nested component selectors.\nYou can find more information about Angular's component selector in the [angular.io documentation topic](https://angular.io/api/core/Component).\nAlso, this module provides the `waitForAngular` helper method. Use it to wait until Angular's component tree is loaded.\n\n```js\nimport { AngularSelector, waitForAngular } from 'testcafe-angular-selectors';\n\nfixture `App tests`\n    .page('http://angular-app-url')\n    .beforeEach(async () =\u003e {\n        await waitForAngular();\n    });\n\ntest('test', async t =\u003e {\n    const firstListItem = AngularSelector('list list-item');\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevexpress%2Ftestcafe-angular-selectors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevexpress%2Ftestcafe-angular-selectors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevexpress%2Ftestcafe-angular-selectors/lists"}