WebPageTest integration with Protractor/Selenium - Printable Version
+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: WebPageTest integration with Protractor/Selenium (/showthread.php?tid=14791)
WebPageTest integration with Protractor/Selenium - Tony Puthenveettil - 03-10-2017 11:40 PM
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.
RE: WebPageTest integration with Protractor/Selenium - robbiewareham - 04-01-2017 05:49 AM
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