Selenium-Wire is a python library which extends Selenium's python binding to give you access to the underlying requests made by browser.
It is a lightweight library designed for ease of use with minimum external dependencies.
pip install selenium-wire
No specific configuration should be necessary except to ensure you have downloaded chromedriver if you want to run on Chrome and geckodriver if you want to run script in Firefox.
Make sure you provide a path of driver binaries in to your PATH variable.
python src/fisrt.py