-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
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
Feat(DOM-Snapshot) Serialization support for External StyleSheets (configurable) #1711
Conversation
feat(dom-snapshot): add external stylesheets serialization support
fix: handle CORS inaccessible stylesheets
@sharad-sharma hey, so I see that you still need to update this and its not ready. But just need to know why do you need to serialize external stylesheets ? We already handle external stylesheets as part of resource discovery step further in the core package. Which captures all external calls - css or any other. Are you facing any issue with that ? |
hey @ninadbstack, we wanted to use I see this test |
@sharad-sharma I see, but then only external stylesheets wont help you here. There are many resources that needs to be captured and serialized. That said we dont recommend doing this in dom package [ at least as of now ] as any code added here runs in sync in user test code blocking user test execution. + More items we capture more we need to return via selenium/any other framework on the network - which makes calls further slower. As for guid marking its info that we are planning on using for some future features - allowing us to know that snapshots were taken on common page and we could use it to optimize discovery. But if you dont want it - you can add an optional flag to disable it. |
This PR is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This PR was closed because it has been stalled for 28 days with no activity. |
No description provided.