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""
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, }, ],