I want to get the total number of request on network for specific url. how can I do it using selenium or selenide. There is a search bar on my webpage and if I start typing in the search box it will show the auto complete result and on every character typed there is a request made. I want to check that how many time request is made.
Can someone please help in this regard or any hint if it is possible using selenium webdriver?
Yes, you can do that using JavascriptExecutor.
Code is as below:
The first code return network return network;" because of this JS tag. You can remove JS code of entity which you don't require.