Giter Club home page Giter Club logo

protractor-browser-logs's People

Contributors

github-tools-service avatar mastertheblaster avatar roymiloh avatar shahata avatar yanivefraim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

protractor-browser-logs's Issues

[DOC] Document the difference with protractor-console-plugin

As a user it is not clear which are the differencies with protractor-console-plugin.

In particular it should be great if the documentation could explain:

  • which are the difference in the feature-set;
  • which browsers does the plugin support;
  • if the browser support the library is tested in Continous Intergration (e.g. travis + saucelabs).

[FEATURE] Custom Test Failure Method.

please allow us to define our own test-fail method to overwrite the following snippet:

                throw new Error('UNEXPECTED MESSAGE: ' + JSON.stringify({
                  level: actual.level.name,
                  message: actual.message
                }));

License missing

Your library is being tested during development of an app that I'm working on. Due to the license missing, it is unclear how people can use the software.

Can you select a license and add it to the project?

Support for node 0.12

I can't use the version 1.0.10 for the foreseable future as we have our whole infrastructure on 0.12. There's no old version available.

I'm submitting a patch, if it could be integrated in a off-numbered version it'd be great, until we move on to node 4/5.

Use protractor-console with protractor-browser-logs

It seems like this thing eats up my console.log/console.warn etc

I would have preferred seeing all those logs as I do using the protractor-console plugin. Currently I have to comment out protractor-browser-logs to be able to debug using console.log

From what I see browser.manage().logs().get('browser') is "eating" up the logs so when protractor-browser-logs fires before protractor-console then there's nothing to log anymore.

Expose logs for other uses outside of protractor-browser-logs

We have a need to capture all browser console logs for each test scenario. However, due to the design of console logs in the driver, when they are read, they are no longer available on follow-on reads. So, using protractor-browser-logs and having the need to log all console logs causes an issue. However, it is easy to fix.

I recommend exposing the logs() function to the constructor function. This will allow me to accomplish both tasks and may be helpful to others with similar constraints. If team is happy with this idea, I can put together a PR for the fix.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.