{"id":20293016,"url":"https://github.com/gemini-testing/testplane-tabs-closer","last_synced_at":"2026-05-05T16:05:02.563Z","repository":{"id":57262888,"uuid":"121563731","full_name":"gemini-testing/testplane-tabs-closer","owner":"gemini-testing","description":"Plugin for hermione to close opened tabs from previous tests in a browser","archived":false,"fork":false,"pushed_at":"2024-04-08T14:14:55.000Z","size":354,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-14T07:12:15.766Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/gemini-testing.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-02-14T21:33:08.000Z","updated_at":"2024-04-14T07:12:33.367Z","dependencies_parsed_at":"2024-04-14T07:12:22.440Z","dependency_job_id":"3da151cb-c0ef-491e-a930-674260f7e646","html_url":"https://github.com/gemini-testing/testplane-tabs-closer","commit_stats":null,"previous_names":["gemini-testing/hermione-tabs-closer"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-testing%2Ftestplane-tabs-closer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-testing%2Ftestplane-tabs-closer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-testing%2Ftestplane-tabs-closer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-testing%2Ftestplane-tabs-closer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gemini-testing","download_url":"https://codeload.github.com/gemini-testing/testplane-tabs-closer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241787485,"owners_count":20020101,"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-11-14T15:20:41.698Z","updated_at":"2026-05-05T16:05:02.556Z","avatar_url":"https://github.com/gemini-testing.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @testplane/tabs-closer\n\nPlugin for Testplane to close opened tabs from previous tests in a browser. When your tests are opening a lot of tabs in one session, browser can degrade. So that's why you need to close opened tabs before test execution.\n\n## Installation\n\n```bash\nnpm install @testplane/tabs-closer\n```\n\n## Usage\n\nPlugin has following configuration:\n\n* **enabled** (optional) `Boolean` – enable/disable the plugin; by default plugin is enabled\n* **browsers** (optional) `Regexp` - browsers in which tabs should be closed\n\nAlso there is ability to override plugin parameters by CLI options or environment variables\n(see [configparser](https://github.com/gemini-testing/configparser)).\nUse `testplane_tabs_closer_` prefix for the environment variables and `--testplane-tabs-closer-` for the cli options.\n\n### Testplane usage\n\nAdd plugin to your `testplane` config file:\n\n```js\nmodule.exports = {\n    // ...\n    system: {\n        plugins: {\n            '@testplane/tabs-closer': {\n                enabled: true,\n                browsers: /chrome/\n            }\n        }\n    },\n    //...\n}\n```\n\n## Testing\n\nRun [mocha](http://mochajs.org) tests:\n```bash\nnpm run test-unit\n```\n\nRun [eslint](http://eslint.org) codestyle verification\n```bash\nnpm run lint\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemini-testing%2Ftestplane-tabs-closer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemini-testing%2Ftestplane-tabs-closer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemini-testing%2Ftestplane-tabs-closer/lists"}