
In websites response time play a very important roles. Capturing this time is a difficult task. We can perform this by selenium Framework and by using the below script we can calculate the response time. The main aim of the script is to find time taken for JavaScript code execution, elements loading, page load etc.
In this code we can calculate the time span between two events in different case.