Output plugins used by protractor

大憨熊 提交于 2019-12-04 19:15:39

No, I did not find something in the code of the plugins.js. If I run Protractor tests with enabled plugins, on the console I only see the result output of a plugins hook method. This assumes that the plugin has been loaded correctly.

I think this is a missing feature. I look forward on your (or someones) contribution for Issue 1961.

alecxe

I've sent a pull request (currently merged to the development protractor - master branch) closing the Protractor to report loaded plugins issue.

Now, if you run protractor with --troubleshoot flag, you'll get the list of loaded plugins:

DEBUG - Running with --troubleshoot
DEBUG - Protractor version: 2.1.0
DEBUG - Your base url for tests is http://127.0.0.1:9001
...
DEBUG - Plugin "/path/to/node_modules/protractor/plugins/console/index.js" loaded.
DEBUG - Plugin "/path/to/node_modules/protractor/plugins/timeline/index.js" loaded.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!