title: WinForms C# Cefsharp "activate" control
body: <p>I've got cefsharp working in my project. There is only one weird thing that I can not figure out. when a url is passed to cefBrowser via a void return the "window" becomes unfocused. This seems to only happen on Youtube.
  the project has a section which contains Youtube video links which all work. The page loads correctly but there is a huge "Play" button that must be clicked in order to play the video unless the cefBrowser is clicked first, it doesnt really matter where, even clicking the scroll bar first then loading the url make the videos play correctly. Don't know if this is something simple i am over looking. Even tried setting up a script to click the button but again it does not work unless i click the browser / scroll bar first then run the script.
  Any ideas? what over info would benefit to explain the problem better?</p>
  
  <p>the script that "should" click the button:</p>
  
  <pre><code>  var script_PlayClick = "document.getElementsByClassName('ytp-large-play-button ytp-button')[0].click();";
    browser_Main.ExecuteScriptAsync(script_PlayClick);
  </code></pre>
  
  <p>If i switch out the cefBrowser for a WebBrowser the video plays automatically no need to click on anything i can eve have the window minimized and it auto-plays, specially no need to inject any javascript. </p>
  
  <p>thanks for your time. -D.F</p>