Introduction
To build a great user interface, developers use features similar to desktop applications in the form of pop-up windows and alerts. While testing complex workflows, tests need to flow from the browser window to a pop-up window in order to alert the user and perform operations as needed. This chapter will explain common issues that pertain to the handling of pop-up windows and alerts, and how best to use Selenium WebDriver API for this.