title: RobotFramework - Execute Javascript
body: <p>I'm trying to inject my browser with JavaScript Executor function to get back into running instance of a browser. For it, I'm using the keyword &quot;Exectute JavaScript&quot; My code looks like this:</p>
  <pre><code>SeleniumLibrary.Execute Javascript           JavascriptExecutor js = (JavascriptExecutor) driver; js.executeScript(&quot;alert('OK')&quot;)
  </code></pre>
  <p>Error looks like this:</p>
  <pre><code>JavascriptException: Message: javascript error: Unexpected identifier
  </code></pre>
  <p>(Session info: chrome=92.0.4515.107)</p>
  <p>It looks like import for JavaScriptExecutor? How can this be done?</p>