Can we able to access Network tab of Google Chrome developer tools via Selenium Webdriver

I am trying to extract the Network calls from Network tab of Developer tools on Chrome,i can able to open the developer tools on chrome via (Ctrl+Shift+I) selenium webdriver.But, i could n’t able to access the network tab

Is there is any specific xpath available for chrome Developer tools, to access the Network tab?

kindly do reply if possible.

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

    Hi Dineshk,
    You can use ctrl+] to navigate the next panels. I think it will work. let us know if u face any issues on that.

    Janani

    Train Answered on August 18, 2015.
    Add Comment

    @Janani Thanks for the reply, When i tried to access via ctrl+] the webdriver function till opening the developer tools but after that am getting the following error

    Exception in thread “main” org.openqa.selenium.WebDriverException: disconnected: Unable to receive message from renderer
    river info: org.openqa.selenium.chrome.ChromeDriver
    Capabilities [{platform=XP, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={userDataDir=C:\Users\dinesh.k\AppData\Local\Temp\scoped_dir5312_24939}, rotatable=false, locationContextEnabled=true, version=44.0.2403.155, takesHeapSnapshot=true, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false, webStorageEnabled=true, nativeEvents=true, applicationCacheEnabled=false, takesScreenshot=true}]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
    at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:268)
    at org.openqa.selenium.remote.RemoteWebElement.sendKeys(RemoteWebElement.java:89)

    Train Answered on August 18, 2015.
    Add Comment
  • Your Answer

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