1

I am trying to load a page, and I am automating the process of checking for a POST request after a button is clicked.

In order to do this, I need to clear the Network tab of all previous entries before the button is clicked, otherwise it will not show up on the list for some reason.

Is there a way to do this via logging or some other means in Selenium Java?

Network console

thmspl
  • 2,437
  • 3
  • 22
  • 48
Gary Behan
  • 25
  • 1
  • 6

1 Answers1

0

As far as I know, there is no way to interact with Chrome's dev tools as you intent to. Alhough, if you are interested in obtaining/parse data from the Network tab in Chrome you can do that following their quick tutorial in their website here.

I don't know what is you idea but here I leave you 2 cents. Perhaps you could access this data and work it elsewhere instead of constant refreshing.

Here is a similar question to yours.

Jonalcaide
  • 560
  • 8
  • 21