What are the steps involved in automated functional testing with Selenium?

I want to know about the steps involved in automated functional testing with Selenium. Can anyone please help me out.