O'Reilly logo
  • karthikeya govindaraj senthil arumugam thinks this is interesting:

So, though all the actions are listed in one WebElement interface, it is the test script developer's responsibility to use the actions that are supported by the target element. In case we try to execute a wrong action on a WebElement, we don't see any exception or error thrown and also we don't see any action that really gets executed; WebDriver ignores such actions silently.

From

Cover of Selenium WebDriver Practical Guide

Note

Using actions on WebElement wisely