Gmail Service
wdio-gmail-service is a 3rd party package, for more information please see GitHub | npm
A WebdriverIO plugin to fetch e-mails from Google Mail using Gmail Tester.
Installation
The easiest way is to keep wdio-gmail-service
as a devDependency
in your package.json.
{
"devDependencies": {
"wdio-gmail-service": "^2.0.0"
}
}
You can simply do it by:
npm install wdio-gmail-service --save-dev
Usage
Gmail Authentication
You'll need to follow the instructions at Gmail Tester to create the credentials.json
(the OAuth2 Authentication file) and token.json
(the OAuth2 token).