title: Can't access Javascript object from C# (CefSharp)
body: <p>My setup is really simple, in C# (WPF) I have a WebView, that loads my HTML page.</p>
  
  <p>Now I want to have a two way communication between the two.</p>
  
  <p>Calling C# from Javascript works totally fine for me, using <code>RegisterJsObject</code>.</p>
  
  <p>Now I try to execute Javascript from C#, using <code>ExecuteScript</code>.</p>
  
  <p>As long as I only use plain Javascript, such as</p>
  
  <pre><code>ExecuteScript("document.getElementById('test').innerHTML='test'")&lt;/code&gt;
  </code></pre>
  
  <p>it works perfectly fine.</p>
  
  <p>But when I try to access functions I created in Javascript, it fails to execute them.</p>
  
  <p><strong>Javascript:</strong></p>
  
  <pre><code>function test(param) {
      alert(param);
  }
  </code></pre>
  
  <p><strong>C#:</strong></p>
  
  <pre><code>webView.ExecuteScript("test('123')");
  </code></pre>