{"id":15138606,"url":"https://github.com/elaichenkov/wait-for-conditions","last_synced_at":"2025-09-29T07:32:09.330Z","repository":{"id":42725932,"uuid":"284704557","full_name":"elaichenkov/wait-for-conditions","owner":"elaichenkov","description":"Node.js library for protractor tests that extends protractor's ExpectedConditions class with useful methods.","archived":true,"fork":false,"pushed_at":"2022-03-27T08:20:03.000Z","size":97,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-16T08:41:09.321Z","etag":null,"topics":["protractor","webdriver"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/elaichenkov.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}},"created_at":"2020-08-03T13:14:43.000Z","updated_at":"2023-01-28T01:55:05.000Z","dependencies_parsed_at":"2022-09-19T01:40:20.267Z","dependency_job_id":null,"html_url":"https://github.com/elaichenkov/wait-for-conditions","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/elaichenkov%2Fwait-for-conditions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elaichenkov%2Fwait-for-conditions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elaichenkov%2Fwait-for-conditions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elaichenkov%2Fwait-for-conditions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elaichenkov","download_url":"https://codeload.github.com/elaichenkov/wait-for-conditions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234600846,"owners_count":18858545,"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":["protractor","webdriver"],"created_at":"2024-09-26T07:42:14.691Z","updated_at":"2025-09-29T07:32:09.016Z","avatar_url":"https://github.com/elaichenkov.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wait-for-conditions\n\n\u003e wait-for-conditions is a library for [Protractor](https://github.com/angular/protractor) tests that extends protractor's ExpectedConditions class with useful methods.\n\n## Table of Contents\n\n- [wait-for-conditions](#wait-for-conditions)\n  - [Table of Contents](#table-of-contents)\n  - [Getting Started](#getting-started)\n    - [Installation](#installation)\n    - [Import and usage](#import-and-usage)\n  - [License](#license)\n\n## Getting Started\n\n### Installation\n\nTo use wait-for-conditions in your project, run:\n\n```bash\nnpm i -D wait-for-conditions\n```\n\n### Import and usage\n\n```ts\n// importing protractor's browser and $$\nimport { browser, $$ } from 'protractor';\n\n// Import wait for conditions class\nimport { WaitForConditions } from 'wait-for-conditions';\n\n// Create an instance of WaitForConditions class\nconst waitFor = new WaitForConditions(browser);\n\ndescribe('Test suite', () =\u003e {\n  it('should wait for the tds', async () =\u003e {\n\n    // Usage:\n    await browser.wait(waitFor.numberOfElementsToBe($$('td'), 4), 5000, 'Failed after waiting for the number of tds');\n  });\n});\n```\n\n## License\n\nwait-for-conditions is [MIT licensed](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felaichenkov%2Fwait-for-conditions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felaichenkov%2Fwait-for-conditions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felaichenkov%2Fwait-for-conditions/lists"}