title: Unable to find DOM Element
body: <p>So I was writing some automated tests(C# and Selenium Webdriver) and came across a weird scenario.
  The XPath Selector works fine(using an element id) when trying to identify an element in the Dev Tools DOM explorator, but when using the same id to find the element through jQuery selector or plain JS selector in the console, it returns a null.</p>
  
  <p>Element ID: <code>"sample-id";</code>
  Element type: <code>div</code>;
  jQuery Selector: <code>$("div#sample-id")</code>;
  JS Selector: <code>document.getElementById("sample-id")</code>;
  Xpath: <code>"//div[contains(@id, 'sample-id')]"</code>;</p>
  
  <p>Quick note: after waiting for a minute or so, the jQuery or JS selector works.</p>
  
  <p>Any ideas to why this is happening?</p>
  
  <p>Thank you in advance</p>