In this chapter, we worked through a series of scenarios that are awkward to perform in Selenium without using a physical mouse or keyboard. A lot of people reach for third-party tools, or hacks that interact with the physical mouse or keyboard, in these situations. Â
After reading this chapter, you will no longer need to do that; instead, you will be able to use the Advanced Interactions API to its full potential to interact with both the mouse and the keyboard. There will be cases where things don't work due to limitations in the API, but you will be able to identify these scenarios.
In the next chapter, we will see how we can work around some of the limitations that we have come across so far. To do this we will examine how we can utilize the JavascriptExecutor class to its full potential. In doing so we will examine what it is capable of doing...