Nexient Interview Question

How do I use Selenium WebDriver with Java to automate a web application?