February 13, 2023, 1:27pm
I have an application where we run browser tests using Testcafe. When a test fails, it takes a screenshot. However, the resulting screenshot if often half obscured by Piwik “Debug Mode”, as seen in a real example below:
We don’t really use this feature, and it’s either causing my browser tests to fail, or at least makes it hard to see why they failed in the screenshot. Can I disable this tool somehow?
February 13, 2023, 2:28pm
It opens after adding
?stg_debug param to the URL or after setting the
stg_debug cookie to 1. Try to troubleshoot why this happens while running the tests.
February 13, 2023, 3:19pm
@kuba I’ll see if I can find why it opens, but is there a way to disable it?
February 13, 2023, 3:44pm
There’s no recommended way to disable the debug mode entirely. The best solution is to not trigger it at all.