What are the prerequisites for Selenium testing with Python and Pytest?

I wan to know about the prerequisites for Selenium testing with Python and Pytest. Can anyone please help me out with that.