webdriverio-community / wdio-gmail-service Goto Github PK
View Code? Open in Web Editor NEWA WebdriverIO plugin to fetch e-mails from Google Mail.
Home Page: https://webdriver.io/docs/wdio-gmail-service
License: MIT License
A WebdriverIO plugin to fetch e-mails from Google Mail.
Home Page: https://webdriver.io/docs/wdio-gmail-service
License: MIT License
I've tried to install this plugin without success. Part of the problem it's that its not in npmjs or yarnpkg.
Could you please expand README to explain how to install and configure?
If the CommonJS module system is used in the project there is a problem with the service hook and thus adding the command to the global browser
.
ERROR @wdio/utils:shim: TypeError: instance.onPrepare is not a function at CJSGmailService.before (C:\Repos\automated-tests-wdio\node_modules\wdio-gmail-service\build\cjs\index.js:9:25) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Promise.all (index 3) at async executeHooksWithArgsShim (C:\Repos\automated-tests-wdio\node_modules\@wdio\utils\build\shim.js:107:20) at async Runner.run (C:\Repos\automated-tests-wdio\node_modules\@wdio\runner\build\index.js:99:9)
It looks like the bug was introduced in the commit just before the release.
ef8436a
I believe before
must be used instead of onPrepare
.
Temporarily I am using a forked version with a fix mateuszseczkowski@ac0b973.
If you are fine with that I can prepare a PR heading here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.