It would be valuable if selenium could export the memory profilers of the different browsers and possibly would try to uniform their API.
This would make possible for users to track memory allocations verifying memory leaks and other issues while doing automatic testing.
Probably what would be simple to be implemented using to get support in all the various browsers is to have simply an API like Node process.memoryUsage()
that exports rss and heapUsage:https://nodejs.org/api/process.html#process_process_memoryusage
This would make possible to implement retesting on critical applications like we are trying to do in GlobaLeaks and OpenPGP.js: openpgpjs/openpgpjs#403
What do you think?
best,
Giovanni Pellerano
To be honest, since this can be done via logging, the onus to get this implemented is really on browser vendors to have those implementations we can call, especially as WebDriver gets implemented from a specification[3]
David
[1] https://github.com/seleniumhq/selenium/wiki/jsonwireprotocol#sessionsessionidlog
[2] https://sites.google.com/a/chromium.org/chromedriver/logging/performance-log
--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/7f25e4fc-e7be-46c9-8414-74ff678ef526%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.