title: Enabling a disabled field using javascript executor for selenium webdriver ruby binding script
body: <p>I am writing following Ruby code in Selenium Webdriver script to enable a disabled field on UI through Javascript executor.</p>
  
  <pre><code>browser.execute_script("browser.find_element(:xpath,'/html/body/div[5]/div/div[3]/div[2]/div[2]/div/div/div/div/div/div/input'.disabled = false")
  </code></pre>
  
  <p>But facing, </p>
  
  <p>`handleEvaluateEvent': syntax error (Selenium::WebDriver::Error::JavascriptError)</p>
  
  <p>What could be wrong with my syntax?</p>
  
  <p>Any Help will be appreciated.</p>
  
  <p>Thanks!
  Abhishek</p>