WebPageTest integration with Protractor/Selenium

Hi team,

I’m facing issues with WebPageTest script while dealing with popups or some elements in a big user flow automation. That flow can be achieved with Selenium or Protractor. Is there any way how I can integrate WebPageTest script with them so that i can get performance metrics from the run.

I tried running the WebPageTest script from node successfully. But integrating webdriver there is not possible, as the execution happens in WebPageTest server, not in our required driver.

Thanks for the help.


If you are using Chrome, then you can set up Webdriver to cpature the Chrome performance logs. Once you have these, you can use the /import.php functionality of WebPageTest to upload and view as a usual WebPageTest.

It was shown at GTAC 2013 although the /import.php has now made it much simpler; https://www.youtube.com/watch?v=0_kAPWSZNY4