I Need to verify if the required API is been triggered by the browser or not. So, is there a way to get the list of API's that been called by the browser using Protractor?
There is nothing in Protractor or webdriver that I am aware of that will help with this (both of these mostly deal with the front end of the browser, not the server-facing end). Depending on which browser you are using you may be able to ask it, or install a plugin (E.g., How do I make the web browser log all activity, including requests, responses, cookie activity, to a log file that I can inspect?).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With