We can measure the websites performance using Selenium WebDriver. There are a couple of ways to improve the performance of the application under test, but first we need to know where the bottleneck is. For example we like to know the overall page load time, which gives information on how long it takes till the onload event is triggered. The second thing we might to know is the load time per item. With this information we can eliminate for example third party content or slow loading images. Next thing we can measure is elements which are loaded into the HTML DOM with AJAX. This section will cover a couple of ways to measure the performance.
This is an introduction to the other posts related to this topic. Related posts are listed below. <
!–:nl–>
We kunnen met Selenium WebDriver performance metingen doen op de website. Er zijn veel manieren om de performance van een website te verbeteren, maar eerst moet je weten waar de knelpunten zijn. We willen bijvoorbeeld weten wat de totale laadtijd van de pagina is, want dat geeft informatie over hoe lang het duurt voordat het onload event wordt getriggerd. Daarnaast kunnen we geïnteresseerd zijn in de laadtijd per item. Met deze informatie kunnen we bijvoorbeeld thirdparty content of langzaam ladende afbeeldingen mijden. Ook kunnen we meten hoe lang het duurt voordat elementen zichtbaar zijn in de DOM.
