Unfortunately, selenium doesn't give this info designedly.
There is a very lengthy discussion about this, but the short of it is that:
Selenium is a browser emulation tool, certainly not a testing tool.
Selenium performs several GETs and POSTs throughout the method of rendering a page and adding an interface for that might complicate the API in ways in which the authors resist.
If you are interested to learn Selenium on a much deeper level and want to become a professional in the testing domain, check out Intellipaat’s Selenium certification online!