You will be required to have software from Chapter 6, The Actions Class and JavascriptExecutor.
The code files of this chapter can be found on GitHub:
https://github.com/PacktPublishing/Selenium-WebDriver-Quick-Start-Guide/tree/master/Chapter07
Check out the following video to see the code in action:
http://bit.ly/2EMLKbt