-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
Log level for firefox/gecko capabilities in serenity.properties #935
Comments
Do you know if gecko supports these options? |
Hi @wakaleo , Having to provide a geckodriver trace for this issue (mozilla/geckodriver#962 (comment)), I dipped back into this problem. So for the serenity.properties, it seems that this format is correct :
For information, I tested the line below with FF 57 beta, and it works.
But for the geckodriver trace, in the console I only get few information, and not all the traces. I only succeeded to get all logs with this implementation : http://thucydides.info/docs/serenity-staging/#_custom_webdriver_implementations
|
Thanks for your research into this. If you need to set the log levels programmatically, a custom driver would be the best option for now. Longer term you could propose a PR for the FirefoxDriverCapabilities class to do this in a more configurable way. |
you can use options in serenity properties like below: gecko.firefox.options={"args": ["-headless"], "log": {"level": "info"}, "prefs": {"dom.ipc.processCount": 8,"javascript.options.showInConsole": false,"javascript.options.strict":false,"nglayout.debug.disable_xul_cache":true}} |
Hello,
Currently, the default log level for geckodriver seems to be "DEBUG"
I tried to modify geckodriver log level to TRACE in serenity.properties :
But none seems to work.
Is it the right way ?
The text was updated successfully, but these errors were encountered: