title: generating javascript alert in selenium using JavascriptExecutor
body: <p>Things tried </p>
  
  <pre><code>String selectBook="abc"; 
  String script="alert('"+selectBook+"' book does not exist');"; 
  JavascriptExecutor js=(JavascriptExecutor)driver;
  js.executeScript(script);    
  </code></pre>
  
  <p>I want to alert the value of variable select book in alert along with the message.   </p>