How to extract the network size for each web calls at runtime

Am trying to extract the Network size on Chrome developer tools which is taken for each request at run time.Can anybody please help me to extract the network size with the help of Web Driver.

Is it possible ? and if so , kindly provide the details of how to do it?

Eagerly looking up for the reply, Thanks in advance

Train Asked on October 30, 2015 in Selenium WebDriver.
Add Comment
  • 2 Answer(s)

    Hi Dinesh,

    As far as I know there is nothing related to network size in WebDriver API. However I think you can use network APIs of Java to get his information.

    Can you please elaborate on the problem more.

    Also , you might want to look at the Dev tools API for programmatic access to the network and DOM resources.


    Professor Answered on November 2, 2015.
    Add Comment


    As of now am trying to extract the network size for each request sent via Chrome browser,

    By default, we can able to save the network calls via “Save as  HAR with content” option on Chrome developer tools , but apart from these i am trying to print the network size for each dynamic request either via Chrome API or using java.

    My question is, Is it possible to get the network size for dynamic request  which are running via web driver or java ? and if so kindly share the information.

    Note: I have referred many sites in which they suggested me to go with fiddler ( Performance tool ) to get the network size , but am trying to integrate the same using selenium web driver on any browser.

    Train Answered on November 3, 2015.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.