title: Selenium Actions.movetoElement - org.openqa.selenium.UnsupportedCommandException
body: <p>I have a scenario where I have to hover over a menu link and click on the drop down sub menus. The code that I'm using is below:</p>
  
  <pre><code>public void changeLanguageTest() throws InterruptedException
      {
          WebElement LanguageMenu = driver.findElement(By.cssSelector(".change-language&gt;button"));
          action.moveToElement(LanguageMenu);
          WebElement mongolianLang = driver.findElement(By.cssSelector(".change-language&gt;ol&gt;li:nth-child(3)&gt;a"));
          action.moveToElement(mongolianLang).click().build().perform();
          Thread.sleep(3000L);
      }
  </code></pre>
  
  <p>But when I run this code, It fails with an error message :-</p>
  
  <blockquote>
    <p>org.openqa.selenium.UnsupportedCommandException: POST
    /session/3077f893-d9ab-487d-b09f-c5bcd135ea31/moveto did not match a
    known command</p>
  </blockquote>
  
  <p>I tried below mentioned code too but no success and same error occurred.</p>
  
  <pre><code>BaseClass.action.moveToElement(LanguageMenu).moveToElement(mongolianLang).click().build().perform();
  </code></pre>
  
  <p>I'm using <code>webdriver v2.53</code> and running it on <code>FF v47.0.1</code>.</p>