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
this isn't a playwright issue, it's a Node server-side code issue
we shouldn't change our ruleset generally
it is ok (encouraged!) to do logging in server code (and maybe also in some situations in test code, though most instances we found seemed suspicious) but that should be done via a centralized logging service, not console
The action item for this issue is to update our docs for this rule.
Currently, the Playwright ruleset inherits the TS/JS ruleset configuration for
no-console
which disallows usingconsole.log
.It is suppressed in many places, including:
What is our recommendation for using
console
within Playwright code? Can we disable this rule or come up with an alternate suggestion?The text was updated successfully, but these errors were encountered: