How to grab headers in python selenium-webdriver

后端 未结 5 1269
野趣味
野趣味 2021-01-01 23:37

I am trying to grab the headers in selenium webdriver. Something similar to the following:

>>> import requests
>>> res=requests.get(\'http:         


        
5条回答
  •  一生所求
    2021-01-02 00:15

    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.

提交回复
热议问题