title: cefsharp execute Javascript from C#
body: <p>I'm trying to play an online video in my windows forms application. I can successfully play the video but i'd like to make it fullScreen. </p>
  
  <p>The url is this: </p>
  
  <p><a href="http://www.mitele.es/msplayer/popup/?editorialId=231609" rel="nofollow">http://www.mitele.es/msplayer/popup/?editorialId=231609</a></p>
  
  <p>I've been inspecting the site and I found that the code for the expand button is this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;button ng-if="fullScreenBtIf" class="fullscreen-bt msplayer-icon-fullscreen ng-scope" title="Pantalla completa" ng-click="toggleFullscreen()" ms-skin-button="" style="color: rgb(5, 187, 237); opacity: 1;"&gt;&lt;span class="screen-reader-text"&gt;Ir a pantalla completa&lt;/span&gt;
  &lt;/button&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>CEFsharp is working fine as I have tested it with an alert: </p>
  
  <pre><code>myBrowser.ExecuteScriptAsync("alert('test');");
  </code></pre>
  
  <p>I've tried to expand the video player by doing:</p>
  
  <pre><code>myBrowser.ExecuteScriptAsync("toggleFullscreen();"); 
  </code></pre>
  
  <p>But i get that toggleFullScreen is undefined. Do you have any idea in order to achieve this?</p>