While utilizing Java and Selenium for automated testing of a JavaScript web application, the issue of memory leaks has arisen. I am interested in ways to effectively test for them. Is there a simple method to obtain memory usage and other profiling data for the web app by leveraging Selenium or other automated web JS testing tools?
Currently, I am working with ChromeDriver but plan to expand my testing to include Firefox and IE drivers in the near future.