{"id":13393401,"url":"https://github.com/g-plane/rize","last_synced_at":"2025-05-09T00:08:53.426Z","repository":{"id":65490277,"uuid":"122008164","full_name":"g-plane/rize","owner":"g-plane","description":"High-level, fluent and chainable API provided library for puppeteer.","archived":false,"fork":false,"pushed_at":"2020-05-22T03:13:14.000Z","size":3194,"stargazers_count":177,"open_issues_count":2,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-09T00:08:46.223Z","etag":null,"topics":["chainable-interface","chainable-methods","chrome","fluent-api","googlechrome","puppeteer","rize"],"latest_commit_sha":null,"homepage":"https://rize.js.org/","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/g-plane.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-19T01:43:03.000Z","updated_at":"2025-04-08T23:38:40.000Z","dependencies_parsed_at":"2023-01-26T01:01:29.028Z","dependency_job_id":null,"html_url":"https://github.com/g-plane/rize","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-plane%2Frize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-plane%2Frize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-plane%2Frize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-plane%2Frize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g-plane","download_url":"https://codeload.github.com/g-plane/rize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253166521,"owners_count":21864482,"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":["chainable-interface","chainable-methods","chrome","fluent-api","googlechrome","puppeteer","rize"],"created_at":"2024-07-30T17:00:51.894Z","updated_at":"2025-05-09T00:08:53.391Z","avatar_url":"https://github.com/g-plane.png","language":"TypeScript","funding_links":[],"categories":["Opensource projects","测试","Testing"],"sub_categories":["贡献"],"readme":"\u003ch1 align=\"center\"\u003eRize\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://circleci.com/gh/g-plane/rize/\"\u003e\u003cimg src=\"https://flat.badgen.net/circleci/github/g-plane/rize\" alt=\"Circle CI Build Status\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/g-plane/rize\"\u003e\u003cimg src=\"https://flat.badgen.net/codecov/c/github/g-plane/rize\" alt=\"Coverage\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/g-plane/rize/blob/master/LICENSE\"\u003e\u003cimg src=\"https://flat.badgen.net/github/license/g-plane/rize\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/rize\"\u003e\u003cimg src=\"https://flat.badgen.net/npm/v/rize\" alt=\"NPM Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/rize\"\u003e\u003cimg src=\"https://flat.badgen.net/npm/dm/rize\" alt=\"NPM Downloads\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nRize is a high-level, fluent and chainable API provided library which let you use puppeteer simply.\n\n\"Rize\" is pronounced like /ɾize/, not /raɪzɪ/. \"Rize\" is one of characters in [*Is the Order a Rabbit?*](https://en.wikipedia.org/wiki/Is_the_Order_a_Rabbit%3F).\n\n### Translations\n\n[简体中文](https://rize.js.org/zh-CN/)\n\nWe need your help to translate the docs!\n\n## Installation\n\nYou should install `puppeteer` at the same time.\n\n```bash\nyarn add --dev puppeteer rize\n```\n\nor via npm:\n\n```bash\nnpm install --save-dev puppeteer rize\n```\n\nIf you are in China, you may specify Chromium binary mirror.\n\nOn Linux or macOS:\n\n```bash\nPUPPETEER_DOWNLOAD_HOST=https://npm.taobao.org/mirrors yarn add --dev puppeteer rize\n```\n\nOn Windows:\n\n```shell\nSET PUPPETEER_DOWNLOAD_HOST=https://npm.taobao.org/mirrors yarn add --dev puppeteer rize\n```\n\n## Basic Usage\n\n### Import\n\nIt's recommended to use ES-style import:\n\n```javascript\nimport Rize from 'rize'\n```\n\nOr using CommonJS-style import, if you don't use any build tools:\n\n```javascript\nconst Rize = require('rize')\n```\n\n### Getting Started\n\nJust like this:\n\n```javascript\nconst rize = new Rize()\n```\n\nYou can pass some options to the constructor,\nand these options are `puppeteer`'s options:\n\n```javascript\nconst rize = new Rize({ headless: false })\n```\n\nAll `Rize`'s APIs are chainable, so you can do something like this:\n\n```javascript\nconst rize = new Rize()\nrize\n  .goto('https://github.com/')\n  .type('input.header-search-input', 'node')\n  .press('Enter')\n  .waitForNavigation()\n  .assertSee('Node.js')\n  .end()  // Don't forget to call `end` function to exit browser!\n```\n\nAll available APIs are listed [here](https://rize.js.org/api/classes/_index_.rize.html).\n\n## Documentation\n\nPlease visit [rize.js.org](https://rize.js.org)\n\n## Contribution\n\nBefore you contribute to Rize, please read [Contributing Guide](./.github/CONTRIBUTING.md).\n\n## License\n\nMIT License\n\nCopyright (c) 2018-present Pig Fang\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-plane%2Frize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg-plane%2Frize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-plane%2Frize/lists"}