Automation Framework — What is a Webdriver?
WebDriver is a web automation framework that allows you to execute your tests against different browsers.
WebDriver also enables you to use a programming language in creating your test scripts.
You can now use conditional operations like if-then-else or switch-case. You can also perform looping like do-while.