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
I am using Playwright version 1.48 on Ubuntu 22 with Python synchronous API . When I enable self.page.on("console", self.handle_console) and self.page.on('response', self.handle_response), I observe that the trace report contains a lot of ImplToApiMapping.wrapper_func entries. These entries do not provide clear information and make it difficult for me to focus on the actions that really require attention. The issue seems to arise when calling json_data = response.json(). If this line is commented out, the ImplToApiMapping.wrapper_func entries do not appear. Could you provide an option to hide such information in the trace?
While using Playwright for testing on Ubuntu 22 with Python, I noticed that enabling specific event handlers results in numerous ImplToApiMapping.wrapper_func entries in the trace report. These entries lack clear information and hinder my ability to focus on essential actions. The issue appears linked to processing JSON responses, as commenting out the line json_data = response.json() prevents these entries from appearing. An option to hide such entries would greatly enhance the clarity and effectiveness of trace analysis.
The text was updated successfully, but these errors were encountered:
DepravityDemo
changed the title
[Feature]: [Feature]
[Feature]:Add Option to Hide ImplToApiMapping.wrapper_func Entries in Trace Reports for Enhanced Clarity
Nov 10, 2024
DepravityDemo
changed the title
[Feature]:Add Option to Hide ImplToApiMapping.wrapper_func Entries in Trace Reports for Enhanced Clarity
[Feature]:Request to Filter ImplToApiMapping.wrapper_func Entries in Playwright Trace Reports
Nov 10, 2024
🚀 Feature Request
I am using Playwright version 1.48 on Ubuntu 22 with Python synchronous API . When I enable self.page.on("console", self.handle_console) and self.page.on('response', self.handle_response), I observe that the trace report contains a lot of ImplToApiMapping.wrapper_func entries. These entries do not provide clear information and make it difficult for me to focus on the actions that really require attention. The issue seems to arise when calling json_data = response.json(). If this line is commented out, the ImplToApiMapping.wrapper_func entries do not appear. Could you provide an option to hide such information in the trace?
2024-11-10_21-18-59.zip
Example
def handle_response(self, response):
try:
json_data = response.json()
url = response.url
Motivation
While using Playwright for testing on Ubuntu 22 with Python, I noticed that enabling specific event handlers results in numerous ImplToApiMapping.wrapper_func entries in the trace report. These entries lack clear information and hinder my ability to focus on essential actions. The issue appears linked to processing JSON responses, as commenting out the line json_data = response.json() prevents these entries from appearing. An option to hide such entries would greatly enhance the clarity and effectiveness of trace analysis.
The text was updated successfully, but these errors were encountered: