title: How to write path to webelement using Xpath for JavascriptExecutor (Selenium)
body: <p>Trying to write autotest on Selenium WebDriver. Having on page Webelement with CSS locator:    </p>
  
  <pre><code>@FindBy (css = "#FeedbackMessage")
  protected WebElement fm;
  </code></pre>
  
  <p>Also have following working method of focusing out of this element:</p>
  
  <pre><code>public void focusout(){
  JavascriptExecutor js = (JavascriptExecutor) driver;
  
  js.executeScript("arguments[0].blur();", fm);
  </code></pre>
  
  <p>The question is how to do same but with xpath locator usage. The xpath of an element is <code>//textarea[@id='FeedbackMessage']</code>.</p>
  
  <p>Trivial usage </p>
  
  <pre><code>@FindBy (xpath = "//textarea[@id='FeedbackMessage']")
  protected WebElement fm;
  </code></pre>
  
  <p>is NOT working</p>