I am using Selenium via Java.

I am trying to test third party tracking and I am wondering if there is a way to access the network logs so that I can verify that a specific request came in?

For example, is there a way to access the network tab in the console via Selenium Webdriver?

  • 4
    See this previous thread for an answer.
    – cakes88
    Jul 8, 2016 at 19:30

1 Answer 1


Selenium can only do what user can do in the browser (that's the whole point).

So if user can access logs from the browser (which will have to be a service by that third party), you can do it with selenium. If not, you cannot (so your logs are safe from any lurker).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.