levz0r / gmail-tester

A simple Node.js Gmail client which checks the inbox for message existence
MIT License
256 stars 68 forks source link

I am not getting credential.json file #140

Open kanwar124 opened 11 months ago

kanwar124 commented 11 months ago

Instead of getting credential.json file I am getting client_secret.json I added that file in directory now the thing is that what extension should I import in wdio.conf.js file or any test file, cause when I execute the test case I am getting this error "browser.checkInbox is not a function" however I have already installed the service via bash this is from pakage.json" "wdio-gmail-service": "^1.0.4""

services: [ "gmail", { credentialsJsonPath: path.join( process.cwd(), "./client_secret" ), tokenJsonPath: path.join( process.cwd(), "./client_secret" ), intervalSec: 10, timeoutSec: 60, }, ],