Page tree
Skip to end of metadata
Go to start of metadata

Problem

The following operations are not currently supported in Firefox v53 or later:

1. MouseClick
2. MouseMove

Solution

The operations based on built-in JavaScript can be used instead.

Use the following code for hovering mouse to the needed element:

((JavascriptExecutor) driver).executeScript("arguments[0].scrollIntoView();", YourWebElement);

((JavascriptExecutor) driver).executeScript("arguments[0].focus();", YourWebElement);