In the previous chapter, we have discussed WebElements, how to locate them on a web page, and some basic actions that can be performed on them. In this chapter, we will go through some advanced ways of performing actions on WebElements.
We know how to take some basic actions, such as clicking on a button and typing text into a textbox; however, there are many scenarios where we have to perform multiple actions at the same time. For example, keeping the Shift button pressed and typing text for uppercase letters, and the dragging and dropping mouse actions.
Let's see a simple scenario here. Open the
selectable.html file that is attached with this book. ...