[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10133":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":39,"readmeContent":40,"aiSummary":41,"trendingCount":16,"starSnapshotCount":16,"syncStatus":42,"lastSyncTime":43,"discoverSource":44},10133,"nightwatch","nightwatchjs\u002Fnightwatch","nightwatchjs","Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack","https:\u002F\u002Fnightwatchjs.org",null,"JavaScript",11947,1397,240,263,0,1,3,7,4,44.44,"MIT License",false,"main",true,[27,28,29,30,31,5,7,32,33,34,35,36,37,38],"automated-testing","chromedriver","end-to-end-testing","hacktoberfest","javascript","nodejs","selenium","selenium-server","selenium-webdriver","testing","w3c-webdriver","webdriver","2026-06-12 02:02:17","# Nightwatch.js\n\n[![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fnightwatch.svg)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fnightwatch)\n[![Node.js CI](https:\u002F\u002Fgithub.com\u002Fnightwatchjs\u002Fnightwatch\u002Factions\u002Fworkflows\u002Fbuild-node.yaml\u002Fbadge.svg?branch=main)](https:\u002F\u002Fgithub.com\u002Fnightwatchjs\u002Fnightwatch\u002Factions\u002Fworkflows\u002Fbuild-node.yaml)\n[![codecov](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fnightwatchjs\u002Fnightwatch\u002Fbranch\u002Fmain\u002Fgraph\u002Fbadge.svg?token=MSObyfECEh)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fnightwatchjs\u002Fnightwatch)\n[![Discord][discord-badge]][discord]\n\n\n\n\u003Cp align=\"center\">\n  \u003Cimg alt=\"Nightwatch.js Logo\" src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fnightwatchjs\u002Fnightwatch\u002Fmain\u002F.github\u002Fassets\u002Fnightwatch-logo.png\" width=300 \u002F>\n\u003C\u002Fp>\n\n#### [Homepage](https:\u002F\u002Fnightwatchjs.org) &bullet; [Developer Guide](https:\u002F\u002Fnightwatchjs.org\u002Fguide) &bullet; [API Reference](https:\u002F\u002Fnightwatchjs.org\u002Fapi) &bullet; [About](https:\u002F\u002Fnightwatchjs.org\u002Fabout) &bullet; [Blog](https:\u002F\u002Fnightwatchjs.org\u002Fblog)\n\nNightwatch is an integrated testing framework powered by Node.js and using the [W3C Webdriver API](https:\u002F\u002Fwww.w3.org\u002FTR\u002Fwebdriver\u002F). It is a complete testing solution developed at [BrowserStack](https:\u002F\u002Fwww.browserstack.com\u002F) and which can be used for: \n\n☑️ end-to-end testing of web applications and websites\n\n☑️ component testing in isolation (React \u002F Vue \u002F Storybook \u002F Angular)\n\n☑️ Node.js unit, visual regression testing, accessibility testing & API testing\n\n☑️ Native mobile app testing on Android & iOS\n\n## 🚀 Nightwatch v3\n[What's New](https:\u002F\u002Fnightwatchjs.org\u002Fguide\u002Foverview\u002Fwhats-new-in-v3.html) | [Release Notes](https:\u002F\u002Fgithub.com\u002Fnightwatchjs\u002Fnightwatch\u002Freleases\u002Ftag\u002Fv3.0.1) | [Discussions](https:\u002F\u002Fgithub.com\u002Fnightwatchjs\u002Fnightwatch\u002Fdiscussions)\n\nNightwatch v3 is an all new generation that has been built around these three pillars:\n\n* **Developer Experience** : The entire experience from getting started, to writing and debugging tests, has been redesigned for speed, stability, and consistent non-flaky results.\n\n* **Mobile first**: Test your web or native, iOS and Android, mobile applications on simulators, real mobile devices or a cloud grid like BrowserStack.\n\n* **One test automation framework**: Run all types of tests from unit, component, and E2E to API, visual, and accessibility with a single framework.\n\nThe [Nightwatch v3](https:\u002F\u002Fgithub.com\u002Fnightwatchjs\u002Fnightwatch\u002Freleases\u002Ftag\u002Fv3.0.1) is not just a new version, it’s the result of months of engineering effort to reimagine test automation for the future. Try it out in 60 seconds and see it in action.  \n\n## ⚙️ Get started in 60 seconds\n\n#### 1. Install Nightwatch from NPM\n\nFrom your existing project's root dir:\n\n```sh\nnpm init nightwatch@latest\n```\n\nor, if you want to initialize a new project:\n\n\n```sh\nnpm init nightwatch@latest .\u002Fpath\u002Fto\u002Fnew\u002Fproject\n```\n\n\n![nightwatch-cli-gif](https:\u002F\u002Fuser-images.githubusercontent.com\u002F39924567\u002F174841680-59664ff6-da2d-44a3-a1df-52d22c69b1e2.gif)\n\n#### 2. Answer a few questions about your preferred setup:\n\n- What is your Language - Test Runner setup? \n- Where do you want to run your e2e tests? \n- Where you'll be testing on? \n- Where do you plan to keep your end-to-end tests? \n- What is the base_url of your project? \n\nNightwatch will do the entire setup for you based on your answers.\n\n#### 3. Run a Demo Test:\n\nNightwatch comes with a few examples, which are automatically copied to your Nightwatch project during the setup and can also be used as boilerplate to write your own tests on top of them.\n\nYou can follow the instructions given at the end of the setup to run your first test with Nightwatch.\n\n\u003Cimg width=\"413\" alt=\"image\" src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F39924567\u002F174763723-aff4d501-6320-402c-81cc-de75fbb5e8f0.png\">\n\n---\n\n## Nightwatch mobile app testing\n\nNightwatch enables automation testing of native mobile applications via Appium. It combines the robustness of Appium with the enhanced developer experience provided by Nightwatch. It enables end-to-end functional testing of native mobile apps on Android and iOS devices. Try it now\n\n## Go beyond E2E\n### [Component testing](https:\u002F\u002Fnightwatchjs.org\u002Fguide\u002Fcomponent-testing\u002Fintroduction.html)\n\nWith Nightwatch you can test components in isolation by mounting them in the browser. Nightwatch 2 added support for component testing for popular web frameworks such as\n\n1. [React](https:\u002F\u002Fnightwatchjs.org\u002Fguide\u002Fcomponent-testing\u002Ftesting-react-components.html)\n2. [VueJS](https:\u002F\u002Fnightwatchjs.org\u002Fguide\u002Fcomponent-testing\u002Fvite-plugin.html)\n3. [Angular](https:\u002F\u002Fnightwatchjs.org\u002Fguide\u002Fcomponent-testing\u002Fangular-component-testing.html)\n4. [Storybook](https:\u002F\u002Fnightwatchjs.org\u002Fguide\u002Fcomponent-testing\u002Fstorybook-component-testing.html)\n\n### Nightwatch unit tests\n\nThe tests for Nightwatch are written using Mocha.\n\n1. **Clone the project**\n\n   ```bash\n   git clone https:\u002F\u002Fgithub.com\u002Fnightwatchjs\u002Fnightwatch.git\n\n   # change directory\n   cd nightwatch\n\n   # install the dependencies\n   npm install\n   ```\n\n2. **Run tests**\n\n   To run the complete test suite:\n\n   ```bash\n   npm test\n   ```\n\n   To check test coverage, run the command:\n\n   ```bash\n   npm run mocha-coverage\n   ```\n\n   and then open the generated coverage\u002Findex.html file in your browser.\n\nSee [Unit testing guide](https:\u002F\u002Fnightwatchjs.org\u002Fguide\u002Fwriting-tests\u002Fwrite-nodejs-unit-integration-tests.html) for more details.\n\n### Other types of testing\n#### [Visual Regression Testing](https:\u002F\u002Fnightwatchjs.org\u002Fguide\u002Fwriting-tests\u002Fvisual-regression-testing.html)\n\nNightwatch v3 introduces visual regression testing as an in-house plugin. The plugin takes care of\n\n1. Capturing screenshots\n2. Comparison with baseline to highlight visual differences\n3. Report to review the differences\n4. Approve the changes\n\nVRT can be done on real desktop & mobile browsers. Also, VRT can be run on components as part of component testing as well.\n#### [API Testing](https:\u002F\u002Fnightwatchjs.org\u002Fguide\u002Fwriting-tests\u002Fapi-testing.html)\n\nAPI testing is now available with Nightwatch v3. The following functionality can be achieved with API testing\n\n1. Request assertions\n2. Response assertions\n3. Viewing API tests in the HTML report\n4. Mock server\n\n#### [Accessibility Testing](https:\u002F\u002Fnightwatchjs.org\u002Fguide\u002Fusing-nightwatch\u002Faccessibility-testing.html)\nNightwatch v3 packages the aXe-core package developed by Deque Systems as a plugin. It enables 90 different types of accessibility tests for WCAG compliance.\n\n## 🦉 About Nightwatch\nNightwatch was initially built by [@pineviewlabs](https:\u002F\u002Fgithub.com\u002Fpineviewlabs\u002F) - an independent software consultancy based in Oslo, Norway, with help from [contributors](https:\u002F\u002Fgithub.com\u002Fnightwatchjs\u002Fnightwatch\u002Fgraphs\u002Fcontributors). In mid 2021, Nightwatch has become a part of the [@BrowserStack](https:\u002F\u002Fgithub.com\u002Fbrowserstack) family and it is being developed further at the BrowserStack Open-source Program Office. Read more on [our blog](https:\u002F\u002Fnightwatchjs.org\u002Fblog\u002Fnightwatch-has-joined-the-browserstack-family.html).\n\n## Contributing\n\nWe welcome any and all contributions from the community which can help improve Nightwatch. Please check out [CONTRIBUTING.md](CONTRIBUTING.md) for more extensive contributing guidelines.\n\n## Licence\n[MIT](https:\u002F\u002Fgithub.com\u002Fnightwatchjs\u002Fnightwatch\u002Fblob\u002Fmain\u002FLICENSE.md)\n\n[discord-badge]: https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F618399631038218240.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square&label=discord\n[discord]: https:\u002F\u002Fdiscord.gg\u002FSN8Da2X\n","Nightwatch.js 是一个基于 Node.js 并使用 W3C Webdriver API 的端到端集成测试框架。它支持多种测试类型，包括Web应用和网站的端到端测试、组件隔离测试（如React\u002FVue\u002FStorybook\u002FAngular）、Node.js单元测试、视觉回归测试、可访问性测试以及API测试。此外，Nightwatch还能够进行Android和iOS平台上的原生移动应用测试。其核心功能和技术特点在于提供了一套统一的自动化测试解决方案，强调开发者体验，支持移动优先策略，并且能够在一个框架内运行所有类型的测试。Nightwatch非常适合需要进行全面自动化测试的场景，无论是Web开发还是移动应用开发都能从中受益。",2,"2026-06-11 03:26:46","top_topic"]