JavaFX - How to capture loaded Url in WebEngine

485 Views Asked by At

I use JavaFX WebEngine to render HTML web pages. I need to measure the loading time of all the images / medias of the page. I would like to measure the load time for each resource (js, css, image, etc).

I first tried to use URL.setURLStreamHandlerFactory() with a custom URLStreamHandler to override the http protocol, but with no success.

Can anyone help me ? Thanks.

0

There are 0 best solutions below