Comments (3)
Hello,
I think customizing the logger is what you're looking for. Let me know if it's not.
from gremlins.js.
So i need just to paste this peace of code? Because i doesn't see any file with logs in my folder. Could you provide working example? Of course if it possible.
from gremlins.js.
gremlins.js is capable of logging what it has done, but you will need to follow the stack trace determine what in your code caused the gremlin's action to generate an error. I recommend starting here: https://developers.google.com/web/tools/chrome-devtools/javascript/reference
So i need just to paste this peace of code?
That code allows you to adjust what is done when gremlins.js would normally log a message. For example, you could have the messages sent to an array and then the array could be save to a .txt file at the end of the run.
Because i doesn't see any file with logs in my folder. Could you provide working example? Of course if it possible.
The default implementation only displays messages in the console. Anything beyond that is really outside of the scope of this project and is better suited for somewhere like stackoverflow. https://github.com/eligrey/FileSaver.js/ might be of help, but again, this really isn't the place for your question since it is very specific to your own project.
This issue should be closed.
from gremlins.js.
Related Issues (20)
- Current project status HOT 4
- Example of bugs? HOT 3
- Roadmap to Gremlins.js 2.0 HOT 3
- Bug: Uncaught RangeError: Chance: Min cannot be greater than Max. HOT 4
- Bug: Input with `type="number"` breaks gremlins HOT 3
- Bug: Gremlins won't execute in Cypress test HOT 2
- Incorrect params for `customGremlin` in README HOT 2
- Command line interface? HOT 2
- How to test a website? HOT 1
- Using Within Playwright HOT 3
- the newly opened windows also be monkey tested
- Unable to capture the result /log HOT 1
- Bug: gremlins is not defined in some page HOT 2
- Add support for right click (or in general other buttons) HOT 1
- Interactions not completely deterministic despite seeding the randomizer HOT 4
- Bug: gremlins.js aborts too early.
- Running gremlins.js on a webview
- Is there an example of successfully finding a bug or error? HOT 1
- Bug:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gremlins.js.