I am trying to grab the headers in selenium webdriver. Something similar to the following:
>>> import requests >>> res=requests.get(\'http:
Now, it is very easy i suppose https://pypi.org/project/selenium-wire/ it is an extension of selenium. use from seleniumwire import webdriver and proceed as usual.
from seleniumwire import webdriver