🎉 Introducing Component Testing in Nightwatch for React and Vue apps. Read More
  • Home
  • Developer Guide
  • API Reference
  • Community
  • Blog
  • 2.3.0
    Latest (2.3.0)
    v1.7
    v0.9
    All versions
 
 
 
      • What is Nightwatch?
      • What is WebDriver?
      • What’s new in v2?
      • Create and run your first Nightwatch test
      • Run a test with Selenium Server
      • Create and run a test with a cloud provider
      • Test environments
      • Test globals
      • Session capabilities
      • Parallel testing in Nightwatch
      • Page Object Model
      • Component testing
        • Nightwatch configuration file
        • Define test environments
        • Use ENV variables
        • Take screenshots on test failure
        • Test output
        • Advanced test source filtering
        • WebDriver settings
        • Selenium settings
        • Configure BrowserStack settings
        • Configure AWS Device Farm
        • BDD test syntax
        • Exports test syntax
        • Use ES6 async/await
        • Find & interact with DOM elements
        • Add assertions
        • Use Xpath selectors
        • Write complex user actions
        • Use CucumberJS
        • Use Mocha as a test runner
        • Use test hooks
        • Use test globals
        • Use global hooks
        • Write component tests (React)
        • Write unit & integration tests
        • Use the CLI test runner
        • Skip / disable tests
        • Run tests in parallel
        • Filter by test tags
        • Use test groups
        • Use the programmatic API
        • Capture browser logs
        • Capture browser exceptions
        • Take heap snapshot
        • Overview
        • Use .pause()
        • Use .debug()
        • Jenkins
        • Capture network calls
        • Mock network response
        • Mock geolocation
        • JUnit XML reporter
        • HTML reporter
        • Mochawesome reporter
        • Add custom reporter
        • Define elements
        • Define sections
        • Add page-specific commands
        • Use Nightwatch with Appium
        • Override device dimensions
        • Define custom commands
        • Define custom assertions
        • Create custom reporters
        • Create Nightwatch plugins
        • GeckoDriver (Firefox)
        • ChromeDriver
        • SafariDriver
        • EdgeDriver
        • Command-line Options
        • All settings
        • Default settings
        • Style guide
        • From Nightwatch v1
        • From Protractor
    BrowserStack

    Nightwatch.js was initially created in Oslo, Norway by Pineview.io – an independent software consultancy; it is now being maintained at BrowserStack with help from all our contributors.

    Nightwatch.js

    • About
    • Blog
    • Newsletter
    • How to Contribute
    • Release History
    Twitter Github

    Help

    • Community Resources
    • Report Issues
    • Github Discussions
    • Stack Overflow
    • Chat on Discord

    © 2022 BrowserStack Limited • Code licensed under the MIT License.