0

I don't really have idea about that so I'd like you to give me some advice if you can.... generally when I use selenium I try to search the element that I'm interested at but now I was thinking to develop some kind of load test so check how much time take a specific webpage to load all the html code present.

Do you have some idea how to know the load time of html without search for a specific element of the page? Ps. I use IE or Firefox

Thanks so much in advance

Carlo 1585
  • 1,455
  • 1
  • 22
  • 40
  • Yes but the people there replay just letting me know how to load the script so I create a more specific one just for load all the HTML of a webpage.... Do you know how can I do it? How can I wait until all the HTML is load? – Carlo 1585 May 17 '16 at 14:27
  • There is no function in Selenium that returns the amount of time it took to load a page, all you can do is use a `time` counter and explicitly wait for a script generated element to be present. – Rafael Almeida May 17 '16 at 14:32
  • 1
    Also, check [this](http://stackoverflow.com/a/11364694/2781701) useful answer! – Rafael Almeida May 17 '16 at 14:33
  • @Rafael yes I know that there is anything that count the amount of time to load a page and I'll use the timer of python but I'd like to know id there is some functionality that dynamically wait that all the HTML have been loaded successfully without point to any specific element of the page! – Carlo 1585 May 17 '16 at 14:43
  • @Carlo no, there isn't – Rafael Almeida May 17 '16 at 14:44
  • I'm going to have a look to the link that u sent to me ;) tks so much – Carlo 1585 May 17 '16 at 14:44

0 Answers0