Learn Selenium
上QQ阅读APP看书,第一时间看更新

Exploring Advanced Interactions of WebDriver

In the previous chapter, we discussed the WebDriver interface and its features, including taking screenshots, working with Windows, frames, alerts, cookies, and synchronizing tests. In this chapter, we will go through some advanced ways of performing actions on WebElements. We will learn how to perform actions, using the actions API of Selenium WebDriver, including the following:

  • Complex mouse actions, such as moving the mouse, double-clicking, and dragging and dropping
  • Keyboard shortcuts