Pergunta de entrevista da empresa Nexient

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