Skip to content
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

Enable TestCafe to Take Browser Heap Snapshot as we can take from Chrome DevTool Memory Tab Option #5373

Closed
rakeshkumartripathy opened this issue Jul 30, 2020 · 3 comments
Labels
STATE: Stale An outdated issue that will be automatically closed by the Stale bot. TYPE: enhancement The accepted proposal for future implementation.

Comments

@rakeshkumartripathy
Copy link

What is your Test Scenario?

I do take Memory Heap Snapshot of different pages in Chrome DevTool Memory Option which I think could be Automated in TestCafe.

What are you suggesting?

I do take Memory Heap Snapshot of different pages in Chrome DevTool Memory Option which I think could be implemented in TestCafe. This Will help to take automatic Browser Heap Snapshots of WebPages and later we can analyze those Heap snapshots by just loading to Chrome DevTool Memory Tab.

What alternatives have you considered?

Right Now I do this manually in Chrome DevTool Memory Tab like in below screenshot for different pages :-

image

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Jul 30, 2020
@AndreyBelym AndreyBelym added STATE: Need response An issue that requires a response or attention from the team. and removed STATE: Need response An issue that requires a response or attention from the team. labels Aug 5, 2020
@Farfurix
Copy link
Contributor

Farfurix commented Aug 6, 2020

@rakeshkumartripathy

Hello,

At present, we cannot interact with DevTools UI / DevTools Protocol to take a Heap snapshot. I marked this issue as an enhancement.

As a workaround, I suggest you use the window.performance interface to collect all needed information. Here you can find a way to access the memory and timing objects in tests. Note that TestCafe affects browser performance and, as a result, your performance analysis.

@need-response-app need-response-app bot removed the STATE: Need response An issue that requires a response or attention from the team. label Aug 6, 2020
@Farfurix Farfurix added the TYPE: enhancement The accepted proposal for future implementation. label Aug 6, 2020
@github-actions
Copy link

github-actions bot commented Aug 7, 2021

This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.

@github-actions github-actions bot added the STATE: Stale An outdated issue that will be automatically closed by the Stale bot. label Aug 7, 2021
@github-actions
Copy link

We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATE: Stale An outdated issue that will be automatically closed by the Stale bot. TYPE: enhancement The accepted proposal for future implementation.
Projects
None yet
Development

No branches or pull requests

3 participants