Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working w. protractor 4 #6

Open
mdix opened this issue Jan 31, 2017 · 5 comments
Open

Not working w. protractor 4 #6

mdix opened this issue Jan 31, 2017 · 5 comments

Comments

@mdix
Copy link

mdix commented Jan 31, 2017

We're using protractor 4.0.14 in our project and protractor-console doesn't seem to work with it. I installed the package as described and added it to our protractor.conf.js:

exports.config = {
    plugins: [{
        package: 'protractor-console',
        logLevels: ['info'],
    }],
    seleniumAddress: 'http://localhost:4444/wd/hub'

Logs don't show up. I set the logLevel to 'debug' and also tried 'info' but nothing is displayed.

Might be related to the last part of the first sentence in the protractor 3.0.0 CHANGELOG:

and plugins now need to be explicitly required

@pmowrer
Copy link
Contributor

pmowrer commented Jan 31, 2017

Have you successfully used protractor-console before with another version of Protractor?

If you're looking specifically for info and debug level logs, it could be that they're suppressed. Please see: #4

@mdix
Copy link
Author

mdix commented Jan 31, 2017

No. My first time using protractor-console. I added a console.error to the code and also tried w. a throw, nothing changed.

BTW: Thanks for your help.

@pmowrer
Copy link
Contributor

pmowrer commented Jan 31, 2017

FWIW, it's working for us and we've been on Protractor 4.0.10 for some time.

What browser(s) have you tried?

@mdix
Copy link
Author

mdix commented Feb 1, 2017

Just Google Chrome.

@aperdomob
Copy link

what happen with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants