| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository contains sample test files that help you learn how to use TestCafe.
Here you will find examples that demonstrate the basic usage, advanced features, edge cases, as well as tips and tricks.
Clone this repository:
git clone https://github.com/DevExpress/testcafe-examples.gitGo to the project's root directory:
cd testcafe-examplesInstall the dependencies:
npm installUse the npm test script to run all tests in Chrome and Firefox.
npm testYou can use TestCafe CLI options to specify different target browsers or run tests from a specific directory.
To run tests in Chrome only, execute the following command:
npx testcafe chrome examples -a node "server/index.js"The following command runs the examples from the client-scripts directory:
npx testcafe chrome examples/client-scriptsSee Command Line Interface for more information.
We are in the process of adding more examples to this repository.
The repository includes the following examples:
Below are the examples that run in Chrome or Firefox only or require additional launch arguments. You should launch these examples separately.
| Back | FazBrowse Home | New Git URL |