We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I see that there is a chai package, and that it exports chaiWebDriver, what's that do and where do I put it?
The text was updated successfully, but these errors were encountered:
The answer:
create a new file containing:
const chai = require('chai'); const chaiWebDriver = require('@faltest/chai'); chai.use(chaiWebDriver); // provides page object apis chai.use(require('chai-string')); chai.use(require('chai-fs')); chai.use(require('chai-as-promised')); // provides "eventually" module.exports = chai;
then require that file:
const { expect } = require('path/to/that/file');
Sorry, something went wrong.
No branches or pull requests
I see that there is a chai package, and that it exports chaiWebDriver, what's that do and where do I put it?
The text was updated successfully, but these errors were encountered: