We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using playwright trace feature, resulting traces have no frame snapshots.
This is how it looks when trace doesn't have a frame snapshots:
This is how it should look:
from camoufox.sync_api import Camoufox with Camoufox( geoip=True, headless=True ) as browser: context = browser.new_context() context.tracing.start(screenshots=True, snapshots=True) page = context.new_page() page.goto("https://google.com") page.wait_for_timeout(4000) context.tracing.stop(path="trace.zip") context.close() page.close() browser.close()
after running the code:
playwright show-trace
trace.zip
Pip package: v0.4.3 Camoufox: v132.0.2-beta.17 (Up to date!)
True
False
Virtual
trace.trace
{"type":"frame-snapshot","snapshot":{"callId":"call@8","snapshotName":"before@call@8","pageId":"page@b4ae9731aa790003d2fa59cc110a50ca","frameId":"frame@833b9e40f35a84590a34d52abd359c48","frameUrl":"about:blank","html":["HTML",{},["HEAD",{},["BASE",{"href":"about:blank"}]],["BODY"]],"viewport":{"width":1280,"height":720},"timestamp":1325.626,"wallTime":1732510550491,"collectionTime":2,"resourceOverrides":[],"isMainFrame":true}}
"Bad" trace:
"Good" trace:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug:
When using playwright trace feature, resulting traces have no frame snapshots.
Screenshots:
This is how it looks when trace doesn't have a frame snapshots:
This is how it should look:
To Reproduce:
after running the code:
playwright show-trace
trace.zip
that was produced by the code aboveVersion:
Additional info:
True
/False
/Virtual
doesn't solve the problemtrace.trace
(inside archive) doesn't have these entities:Difference in size:
"Bad" trace:
"Good" trace:
The text was updated successfully, but these errors were encountered: