eslint-plugin-no-savescreenshot
v1.0.1
Published
Forbides '.saveScreenshot()'
Downloads
7
Maintainers
Readme
eslint-plugin-no-savescreenshot
Forbides this.browser.saveScreenshot()
. Useful for WebdriverIO and Hermione.
install
npm i eslint-plugin-no-savescreenshot
Add to your eslintrc
:
{
"plugins": [
"eslint-plugin-no-savescreenshot"
],
"rules": {
"eslint-plugin-no-savescreenshot/no-savescreenshot": 2
}
}