Rapid interview question

Implement java selenium driver solution for a b testing with webdriver