You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/microsoft/playwright uses debug module for logging. While using playwright i observed that when using DEBUG_FILE env variable to redirect these logs to file, it doesnt show time whereas when we output it to console, it shows time.
Expected
pw:api => selectors.setTestIdAttribute started +0ms
pw:api => browserType.launch started +7ms
Actual
pw:api => selectors.setTestIdAttribute started
pw:api => browserType.launch started
I noticed the same thing. You can set the env DEBUG_COLORS=yes and get the ms, but if you are redirecting to a text file, it will still include the colour formatting characters.
I noticed the same thing. You can set the env DEBUG_COLORS=yes and get the ms, but if you are redirecting to a text file, it will still include the colour formatting characters.
I tried it but i still didnt get time in log file.
https://github.com/microsoft/playwright uses debug module for logging. While using playwright i observed that when using DEBUG_FILE env variable to redirect these logs to file, it doesnt show time whereas when we output it to console, it shows time.
Expected
pw:api => selectors.setTestIdAttribute started +0ms
pw:api => browserType.launch started +7ms
Actual
pw:api => selectors.setTestIdAttribute started
pw:api => browserType.launch started
down stream issue microsoft/playwright#27477
The text was updated successfully, but these errors were encountered: